Results 1 to 3 of 3

Hybrid View

  1. #1
    Join Date
    Apr 2010
    Location
    Sutton, MA
    Posts
    150
    Plugin Contributions
    0

    red flag Total_Weight = -1

    Hi there - I am exporting customer order data to a product fulfillment company I am using. When I export the Total_Weight every order the total_weight = -1. When I follow the order process thru to paypal I see the weight is actually as calculated from the items within the order to create the proper postage and label. I have also checked the sql database and there it does show that every order has a contast value of -1. Is there some kind of switch that needs to be turned off to eliminate this constant value for total_weight = -1?

  2. #2
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Total_Weight = -1

    Default Zen Cart core code does NOT store the total weight for an order. Instead it calculates it on-the-fly when displaying order details, using the quantity ordered and the product's own weight per item.

    So, your total_weight=-1 issue appears to be related to addons or code-alterations you've done to your site.

    Thus, moving this out of the Bug Reports section, as it's not a Zen Cart bug.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Apr 2010
    Location
    Sutton, MA
    Posts
    150
    Plugin Contributions
    0

    red flag Re: Total_Weight = -1

    Dr. Byte - I am trying to find out if anyone else has installed an add-on that has caused this issue. I know the issue is NOT ZenCart and I have not customized any code - I don't even know how to code. I would like my posting to remain so I may receive help on this issue. Thank you - Jeff

 

 

Similar Threads

  1. v139h Fill the total_weight table without having to click on the USPS click-in-Ship Mod
    By bradlawson25 in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 4 Dec 2013, 06:11 PM
  2. Replies: 0
    Last Post: 30 May 2007, 09:47 PM

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