Forums / Upgrading to 2.x.x / Update quantity in cart not updating

Update quantity in cart not updating

Views: 1,121

Results 21 to 24 of 24
9 Jan 2025, 11:44 AM
#21
balihr avatar

balihr

Totally Zenned

Join Date:
Oct 2008
Location:
Croatia
Posts:
1,798
Plugin Contributions:
22

Update quantity in cart not updating

Is it possible that your Configuration->Stock->Show Shopping Cart - Update Cart Button Location is set to 2? If so, then yes, it's a template bug because this is the only place where it draws the hidden products_id fields, and if this setting is set to 2, cart update doesn't work. I'm sure lat9 will provide a quick and simple fix, in the meantime your fix is just fine.

My site - Pro ZC Help
My portfolio | My plugins

9 Jan 2025, 12:39 PM
#22
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,108
Plugin Contributions:
56

Re: Update quantity in cart not updating

balihr:

Is it possible that your Configuration->Stock->Show Shopping Cart - Update Cart Button Location is set to 2? If so, then yes, it's a template bug because this is the only place where it draws the hidden products_id fields, and if this setting is set to 2, cart update doesn't work. I'm sure lat9 will provide a quick and simple fix, in the meantime your fix is just fine.
Good call, @balihr. I'll get an issue and update going. Thanks, @DML73, for your persistence.

GitHub issue for tracking: https://github.com/lat9/ZCA-Bootstrap-Template/issues/466

9 Jan 2025, 1:49 PM
#23
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,108
Plugin Contributions:
56

Re: Update quantity in cart not updating

I've updated that issue (and the associated template file on GitHub).

Please note: The required changes are shown here ... note that the change that @DML73 proposed has the possibility (I've not actually checked) to cause the cart's display to misbehave on small-screen (i.e. phone/portrait) viewports.

9 Jan 2025, 3:57 PM
#24
dml73 avatar

dml73

Zen Follower

Join Date:
Oct 2007
Posts:
414
Plugin Contributions:
0

Re: Update quantity in cart not updating

Perfect! Thanks a lot lat9.

Balihr, my Configuration->Stock->Show Shopping Cart - Update Cart Button Location is indeed set to 2.