Results 1 to 9 of 9

Hybrid View

  1. #1
    Join Date
    Apr 2007
    Posts
    9
    Plugin Contributions
    0

    Default please update your order Units errors -

    hi, i am getting this message: Please update your order...Units errors -
    You ordered a total of: 1 Units: 0


    on the shopping cart page. How can i fix it?, thanks. wayne

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: please update your order Units errors -

    A url to this?

    check in your product entry page for this product and the min, max, units - settings

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

    Default Re: please update your order Units errors -

    You cannot sell in 0 units ... this has to be > 0 ...
    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!]
    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
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,537
    Plugin Contributions
    127

    Default Re: please update your order Units errors -

    I have seen this before, and I believe it to be a bug in the Admin which masks the problem. Even if products.products_quantity_order_units is 0, it is displayed as 1 in the Admin during product edit.

    Looking at admin/includes/modules/product/collect_info.php, line 378, if $pInfo->products_quantity_order_units == 0, 1 is displayed. This is misleading.

    Geezer, to fix your problem:

    - On the product info page, you will see (in the Add to Cart box) "Add to Cart: 1" with "Units: 0" below it. This is the trigger that you're in this state that Ajeh and Kobra are describing.
    - You go to the admin for this product, and see that Product Qty Units is 1. It's really 0. Just go ahead anyway and update the product. The 0 will be overwritten with 1.
    - Go back to the catalog product info page, refresh the page, and the Units: 0 should be gone.

    Good luck,
    Scott
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

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

    Default Re: please update your order Units errors -

    This is not a bug ... this is an auto fix for when you make errors and set unit to 0 and then edit the product later it fixes it automatically when set to 0 as this is wrong:
    PHP Code:
                <td class="main"><?php echo zen_draw_separator('pixel_trans.gif''24''15') . '&nbsp;' zen_draw_input_field('products_quantity_order_units', ($pInfo->products_quantity_order_units == $pInfo->products_quantity_order_units)); ?></td>
    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!]
    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
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,537
    Plugin Contributions
    127

    Default Re: please update your order Units errors -

    Then it's a bug that zen_get_products_quantity_order_units() doesn't return the greater of 1 or the actual value of products_quantity_order_units.

    If 0 is a buggy value, it should be treated as such throughout the system.

    Scott
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

 

 

Similar Threads

  1. Replies: 1
    Last Post: 27 Mar 2015, 08:54 AM
  2. ... Quantity Units errors - please update your order
    By w2e in forum General Questions
    Replies: 2
    Last Post: 26 Sep 2008, 12:01 AM
  3. Replies: 6
    Last Post: 29 May 2008, 06:39 PM
  4. Quantity Units errors
    By tobstar in forum Basic Configuration
    Replies: 3
    Last Post: 19 Sep 2007, 04:21 PM
  5. Warning Please update your order ...
    By wtashby in forum General Questions
    Replies: 12
    Last Post: 27 Nov 2006, 02:30 AM

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