Cart Quantity Stopped Working

landonasbury
Shopify Partner
2 0 0

The change quantity on cart page stopped working:
https://sucreabeille.com/cart

Replies 3 (3)

PaulNewton
Shopify Partner
6339 579 1343

Either an app or a theme customization are causing errors for the theme.

Check the devtools console

Uncaught SyntaxError: Unexpected identifier '$' (at cart:2311:30)

 

If you need this debugged and fixed then contact me by my email for services, or DM(slower).
Contact info in forum signature.
ALWAYS please provide context, examples: store url, theme name, post url(s) , or any further detail in ALL correspondence.

Save time & money ,Ask Questions The Smart Way


Confused? Busy? Get the solution you need paull.newton+shopifyforum@gmail.com


Problem Solved? ✔Accept and Like solutions to help future merchants

Answers powered by coffee Buy Paul a Coffee for more answers or donate to eff.org


tim
Shopify Expert
3464 280 1285

That problem with $ is not related to the quantity issue -- it's dual quotes in last line of this code:

<div id="secomapp_freegifts_version" data-version="2.0"></div>
    <!-- BEGIN app snippet: sca.freegifts -->
<script data-cfasync="false" type="text/javascript">
    Shopify.money_format = ""${{amount}}"";

 

Problem with quantity is due to the duplicated IDs on quantity input elements and missing data-line attributes. 

 

However, your cart page is so messed up it's impossible to suggest an easy fix without seeing your code.

If you can share the content of your cart section it would be easier to come up with a solution.

 

Ideally, you'd need a proper cleanup, but...

If my post is helpful, consider liking it -- it will help others with similar problem to find a solution.
I can be reached via e-mail tairli@yahoo.com

SAN_MSWEB
Shopify Expert
1088 130 136

Hello,

 

I am San from MS Web Designer.

 

Ensure that you include the Jquery cdn link in your theme.liquid and verify the quantity update. If not, we may need to access the code to address the issue, as we have confirmed in Chrome inspect that the quantity is not updating.

SAN_MSWEB_0-1714731873371.png

 

Hope this helps.

 

Do let me know in case of any concerns.

 

Regards,

San

If it’s helpful to you, please mark it as a solution.  


Need Help with Shopify Design, Migration, Speed, or Custom tasks?  
email: hi@mswebdesigner.com
Try Our Conversion Booster app to get more sales | Connect Our Founder Linkedin