Results 1 to 10 of 24

Hybrid View

  1. #1
    Join Date
    Aug 2007
    Posts
    59
    Plugin Contributions
    0

    Default Display Total weight in Admin/orders

    Is there a way to display the total weight of an order on the admin/order page? I do get weight total for some shipping methods and not for others. If the order uses USPS, then I do get a weight total next to the shipping cost. The Fedex module does not display the weight, just the cost. So it seems the weight total is fed to the order page from the shipping module and is module dependent. The shopping cart tracks the total weight plus tare weight. It would be nice to get this to display in the orders. Thanks.

    I am using ZC 1.3.7

    Mark
    www.essential-stuff-store.com

  2. #2
    Join Date
    Mar 2008
    Posts
    21
    Plugin Contributions
    0

    Default Re: Display Total weight in Admin/orders

    Did anyone ever figure out how to do this? If calculating the order weight is too complicated to do from the admin interface, I'd be happy to add a field to the orders table and save the weight when the order is saved. I'm just not sure where the best place to do this is.

    (And the site is live, so I don't want to have to do too much random experimenting if I can help it. :-)

  3. #3
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Display Total weight in Admin/orders

    I would add a new field to the orders table as:
    shipping_weight_total decimal(14,5)

    hint: it will match future updates ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  4. #4
    Join Date
    Mar 2008
    Posts
    21
    Plugin Contributions
    0

    Default Re: Display Total weight in Admin/orders

    Thanks for the hint!

    You don't happen to know off the top of your head where the order is saved, do you, and if the weight is available at that time? I followed the process up to where it starts using the weight in the shopping cart, then the "I've had enough of this!" kicked in and I gave up.

  5. #5
    Join Date
    May 2009
    Posts
    3
    Plugin Contributions
    0

    Default Re: Display Total weight in Admin/orders

    I've added the field to the orders table, as you suggested, but I'm unsure where in all the files to find/modify the SQL insert statement to put this in the orders table after a successful checkout. Can anyone please point me in the right direction.

  6. #6
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Display Total weight in Admin/orders

    Look in the orders.php class and see where the tables are updated with each order for:
    orders
    orders_products
    orders_products_attributes
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

 

 

Similar Threads

  1. v139h Total weight on orders.php
    By wirefram in forum Managing Customers and Orders
    Replies: 6
    Last Post: 23 Jul 2012, 05:21 PM
  2. Total Weight on Admin - Orders not showing
    By mydanilo in forum Customization from the Admin
    Replies: 20
    Last Post: 30 Sep 2011, 08:14 AM
  3. display the total weight In admin
    By dmagic in forum Managing Customers and Orders
    Replies: 4
    Last Post: 3 May 2011, 02:28 PM
  4. Replies: 1
    Last Post: 9 Sep 2009, 12:11 PM
  5. Replies: 1
    Last Post: 24 Aug 2009, 07:53 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR