Page 1 of 2 12 LastLast
Results 1 to 10 of 16
  1. #1
    Join Date
    Sep 2005
    Location
    Malmö, Sweden
    Posts
    120
    Plugin Contributions
    4

    Default [DONE] Bug in Shopping cart?

    I have one product with no Quantity Boxes and and with in my shopping cart. When I is in the Shopping Cart and changes the quantity for the product with qty. box (obviously) the other products is removed from the cart...

    I have tried to change the Configuration->Stock->Show Shopping Cart - Update Cart Button Location, but it's the same with all settings... And I've tried to search the forum, but found just the related bug for 1.3.0.1 and were supposed to have been eliminated...

    I'm using a fresh install of 1.3.0.2 and a fresh MySQL database

    I'm guessing this must be a bug. Hope you can fix it!
    Last edited by Ajeh; 20 Jul 2006 at 03:45 AM.

  2. #2
    Join Date
    Jun 2003
    Posts
    33,721
    Plugin Contributions
    0

    Default Re: Bug in Shopping cart?

    The URL and step by step of how to reproduce this?

  3. #3
    Join Date
    Sep 2005
    Location
    Malmö, Sweden
    Posts
    120
    Plugin Contributions
    4

    Default Re: Bug in Shopping cart?

    It's on my testing server http://godisapa.dyndns.org/zc/

    Put Product 1 in Category 1 in the cart and 1 Product 2 in Category 2 in the cart, then go to the Shopping Cart and change the quantity of Product 2 to "2" and hit enter or click the update button.

    Is it something I've done wrong?

  4. #4
    Join Date
    Sep 2005
    Location
    Malmö, Sweden
    Posts
    120
    Plugin Contributions
    4

    Default Re: Bug in Shopping cart?

    If you wants to reproduce it on your own. I have one product with No Qty. box and one with Qty. box. Then put them both in the Shopping Cart and change the quantity and press update or hit enter.

    My two products are as follows:
    Name: Product 1
    Free: No
    Call for Price: No
    Priced by attribute: No (have also tested with Yes)
    Virtual: Yes
    Free Shipping: No
    Quantity Box Shows: No
    Quantity: 0

    Name: Product 2
    Free: No
    Call for Price: No
    Priced by attribute: No (have also tested with Yes)
    Virtual: Yes
    Free Shipping: No
    Quantity Box Shows: Yes
    Quantity: 0

    The rest is at their default values. And I've disabled the settings that Check stock level and Subtract stock and Show Sold Out Image in place of Add to Cart to "0" and Products status in Catalog when out of stock should be set to "1"

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

    Default Re: Bug in Shopping cart?

    That is an odd one ...

    It also is a bug ...

    I also noticed if you reverse the order ... the 1st one is always the one to get blown away ...

    May be a bit to hunt this bad boy down ... thanks for reporting 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!]
    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
    Sep 2005
    Location
    Malmö, Sweden
    Posts
    120
    Plugin Contributions
    4

    Default Re: Bug in Shopping cart?

    Ok, good... or, eh...

    Good hunting! Thanx!

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

    Default Re: Bug in Shopping cart?

    And the fix is ...

    Edit the file:
    /includes/modules/pages/shopping_cart/header_php.php

    Find the line approximately line 122:
    PHP Code:
      $showFixedQuantityAmount $products[$i]['quantity'] . zen_draw_hidden_Field('products_id[]'$products[$i]['id']) . zen_draw_hidden_Field('cart_quantity[]'1); 
    And change to read:
    PHP Code:
      $showFixedQuantityAmount $products[$i]['quantity'] . zen_draw_hidden_Field('cart_quantity[]'$products[$i]['quantity']); 
    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!

  8. #8
    Join Date
    Sep 2005
    Location
    Malmö, Sweden
    Posts
    120
    Plugin Contributions
    4

    Default Re: Bug in Shopping cart?

    That were the fix indeed! You are are an Angel, and a fast one, Thanx!

  9. #9
    Join Date
    Aug 2006
    Posts
    9
    Plugin Contributions
    0

    Default Re: [DONE] Bug in Shopping cart?

    Yay, this helped my annoying problem! Thank you!

  10. #10
    Join Date
    Nov 2004
    Location
    Deal, Kent, UK
    Posts
    332
    Plugin Contributions
    0

    Default Re: [DONE] Bug in Shopping cart?

    And mine - thanks!
    Last edited by patski; 25 Aug 2006 at 12:24 AM.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. [DONE] Shopping Cart bug
    By kuroi in forum Bug Reports
    Replies: 6
    Last Post: 13 Jul 2006, 01:16 AM
  2. Empty shopping cart .. bug?
    By liah in forum General Questions
    Replies: 8
    Last Post: 20 Jun 2006, 03:53 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