Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I needed the total order's weight in a views report and because uc_views is mostly on D7 now I am contributing that bit to ubercart.
Comment | File | Size | Author |
---|---|---|---|
#1 | 2097737-1-ubercart-order-total-views.patch | 3.43 KB | hanoii |
Comments
Comment #1
hanoiiAttached is the patch.
Comment #2
hanoiiComment #3
Neo13 CreditAttribution: Neo13 commentedHi, I applied the patch correctly but I can not seem to find the order total weight field in views. I would like to add this field to default view at admin/store/orders/view. What should I do?
Comment #4
hanoiiHave you cleared the views cache? It's under views->settings->advanced.0
Comment #5
Neo13 CreditAttribution: Neo13 commentedYes I did.
Comment #6
longwaveWorks for me. Committed with some minor whitespace changes.