Page 1 of 3 123 LastLast
Results 1 to 10 of 21
  1. #1
    Join Date
    Dec 2004
    Posts
    1,031
    Plugin Contributions
    0

    Default Total Weight on Admin - Orders not showing

    I go nuts, in one of my stores the Total Weight on my orders in Admin is not showing like shown below.

    Total Weight is lbs. oz.
    Sub-Total: $196.00
    Free Shipping Options (Free Shipping): $0.00
    Sales Tax: $0.00
    Total: $196.00

    On my other store it is showing correctly like below:
    Total Weight is 5 lbs. 0 oz.
    Sub-Total: $59.95
    Free Shipping Options (Free Shipping): $0.00
    Sales Tax: $0.00
    Total: $59.95

    I searched all possible settings, I think, but no success. I can not see what is different in the two stores. I want the total weight to show in the order detail in the admin. It will help me with packing and shipping. This should show up even with Free Shipping option selected. When UPS was selected, of course the weight is there in the UPS line. But when Free Shipping was selected, it does not show. Where is this setting that I get the total weight in my order detail??
    Live and learn... the Zen way.

  2. #2
    Join Date
    Dec 2004
    Posts
    1,031
    Plugin Contributions
    0

    Default Re: Total Weight on Admin - Orders not showing

    Still talking to myself? Well, I searched and compared some stuff.

    orders.php
    Line #539 : <tr><td align="right" colspan="2"><?php echo "Total Weight is $lbsval lbs. $ozval oz."; ?></td></tr>

    Should read out and display the weight on the Orders page in Admin. Now I wonder where it pulls the weight from. I want to try and back track this. Any thoughts?
    Live and learn... the Zen way.

  3. #3
    Join Date
    Mar 2010
    Posts
    1
    Plugin Contributions
    0

    Default Re: Total Weight on Admin - Orders not showing

    Any answer on this I have searched every where and cannot seem to find anything. I do not even have a total weight section in there at all.

    I am using 1.3.8 and the Fed-Ex Express Shipping module.

  4. #4
    Join Date
    Dec 2004
    Posts
    1,031
    Plugin Contributions
    0

    Default Re: Total Weight on Admin - Orders not showing

    Nope, no help or solution yet. I think I must have edited something out back when I was trying not to show the weight and did not how to do it right. I just don't remember in what file I edited the code. Was back in the days when I had No clue at all. Now I have no clue what I did back then....

    One day when I have more time I will compare all my files and see what I can come up with.
    Live and learn... the Zen way.

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

    Default Re: Total Weight on Admin - Orders not showing

    Where are you calculating these variables:
    $lbsval
    $ozval

    If you are not sure, go to the Tools ... Developers Tool Kit ... and in the bottom input box enter:
    $lbsval

    and search your Catalog/Admin ...

    These are not part of Zen Cart ... is this an add on?
    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!

  6. #6
    Join Date
    Dec 2004
    Posts
    1,031
    Plugin Contributions
    0

    Default Re: Total Weight on Admin - Orders not showing

    Ajeh, please see the attached screen capture. I do not see weight info on the order detail page. I might have altered code somewhere but can't find where. Compared with all my other zen installation and the settings in Admin are the same. Where can I look?
    Attached Images Attached Images  
    Live and learn... the Zen way.

  7. #7
    Join Date
    Dec 2004
    Posts
    1,031
    Plugin Contributions
    0

    Default Re: Total Weight on Admin - Orders not showing

    And it is in: orders.php
    Line #539 : <tr><td align="right" colspan="2"><?php echo "Total Weight is $lbsval lbs. $ozval oz."; ?></td></tr>

    Not sure if this is where I need to look for my problem. Might be in some other files? Seems the weight calculation is not happening or not pulled to display. I am just taking wild guesses at this point.
    Live and learn... the Zen way.

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

    Default Re: Total Weight on Admin - Orders not showing

    If that is the only place it comes up ... it sounds like someone tried to customize that file and you need to either comment it out or remove it ...
    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!

  9. #9
    Join Date
    Dec 2004
    Posts
    1,031
    Plugin Contributions
    0

    Default Re: Total Weight on Admin - Orders not showing

    usps_autofill_button.php

    has it too:
    Line #169 : list($lbsval,$ozval) = explode(".", $tweight);

    Line #173 : $tweight-$lbsval)*16;

    Line #177 : $lbsval = $lbsval + 1;

    Line #181 : define('USPS_DELIVERY_WEIGHTS_POUNDS', "$lbsval");

    Line #185 : <input type="hidden" name="shippingWeightInPounds" value="<?php echo $lbsval; ?>" id="shippingWeightInPounds">

    orders.php is the version from the USPS shipping mod. Replacing it with the original orders.php does not solve the problem.
    Live and learn... the Zen way.

  10. #10
    Join Date
    Dec 2004
    Posts
    1,031
    Plugin Contributions
    0

    Default Re: Total Weight on Admin - Orders not showing

    usps_autofill_button.php and orders.php
    are identical on the two installs I compare. One shows the total weight on the orders page correctly, the other does not. Both have the same Free Shipping Options (Free Shipping) rules as shown in the screen shot in above post. Where else can I look? What other files make this weight display correctly?
    Live and learn... the Zen way.

 

 
Page 1 of 3 123 LastLast

Similar Threads

  1. Display Total weight in Admin/orders
    By rhodesengr in forum Basic Configuration
    Replies: 23
    Last Post: 25 Jan 2018, 05:01 PM
  2. v151 Not receiving total weight for orders
    By stompbox in forum Managing Customers and Orders
    Replies: 1
    Last Post: 3 Oct 2014, 01:53 PM
  3. Replies: 1
    Last Post: 9 Sep 2009, 12:11 PM
  4. Replies: 1
    Last Post: 24 Aug 2009, 07:53 PM
  5. MZMT not showing weight based shipping total
    By mrmigraine in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 18 Mar 2008, 09:02 AM

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