Full service web hosting, great prices and support. Starts at $1.99/month!
Results 1 to 2 of 2

Thread: Cart weight does not honor Unit Weight setting in Admin Panel

  1. #1
    ragerbua
    Guest


    Lightbulb Cart weight does not honor Unit Weight setting in Admin Panel

    I am not sure anymore whether this is a bugreport or not. Anyway, it might be of use to other shop owners.

    The cart weight is not converted between LBS and KGS when switching from English to German/Spanish. The weight count remains the same.

    How to reproduce: Install Zone Rates shipping module as this one is showing the cart weight during checkout. Put a product into cart and go to checkout. Zone Rates will show the weight. Go back to catalog, switch language and check out again. The weight unit has changed, but not the count.




    This cart behaviour might confuse customers when you run a shop with both units in use and a shipping module which shows the cart weight. A shop which uses just one unit or doesn't show the cart weight is not affected at all.

    The weight unit text string originates from catalog/includes/languages/CHOOSE_A_LANGUAGE/zones.php. So I assume the Unit Weight setting in Admin Panel is for admin side only.


    I stumbled across this behaviour when i was playing around with a very easy to integrate shipping estimator:
    http://www.oscmax.com/forums/custom-...le-panier.html
    Last edited by ragerbua; 06-19-2012 at 01:51 PM. Reason: grammar/extra information

  2. #2
    osCMax Development Team

    Cart weight does not honor Unit Weight setting in Admin Panel

    ridexbuilder's Avatar
    Join Date
    Jul 2008
    Location
    Haggisland
    Posts
    4,137
    Contribute If you enjoy reading the
    content here, click the below
    image to support our site.
    Click Here To Contribute To Our Site

    Total Contributions For

    ridexbuilder     $ 15.00
    Rep Power
    96


    Post Re: Cart weight does not honor Unit Weight setting in Admin Panel

    The display of weight units is purely a textual description - there is no weight conversion. A change in language should NOT change the displayed unit of measure - it needs to remain the same. [Not all English speaking countries are stuck in the obsolete imperial units of measure, though I still think in lb & inches.] To do otherwise, would require a conversion function that applied changes to all 'shipping' (sic) modules, where weight based postage is used.

    In fact (inherited from osCommerce) there should be more options made available, ounces and g (as well as a correction of the bad CAPITALS - Kg - there is no plural). These are, however, only text strings that can be changed within the code files, not just Admin. It is one of those fundamental details that gets glossed over in favour of adding more features.
    Last edited by ridexbuilder; 06-19-2012 at 01:26 PM.

    Developers resource at bitbucket
    *** *** ***
    oscmax.co.uk / ejsolutions.co.uk
    Hosting plans with installation, configuration, contributions, support and maintenance.
    *** FREE osCmax hosting available ***
    oscmaxtemplates.com

Similar Threads

  1. Add more than one unit to cart
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 06-11-2012, 06:00 AM
  2. Unit of Weight
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 09-01-2011, 02:11 AM
  3. How to remove the Weight Limit and Product Weight 0 error
    By dantoksg in forum osCmax v2 Customization/Mods
    Replies: 1
    Last Post: 09-06-2010, 10:37 PM
  4. Cart Adding 1 pound to weight
    By Edk67 in forum osCMax v2 Features Discussion
    Replies: 7
    Last Post: 06-23-2009, 02:35 AM
  5. Replies: 1
    Last Post: 03-08-2008, 05:15 PM

Bookmarks

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
  •