Cart Quantity Stopped Working

Shopify Partner
2 0 0

The change quantity on cart page stopped working:

Replies 3 (3)

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

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

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

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

Shopify Expert
1088 130 136



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.



Hope this helps.


Do let me know in case of any concerns.




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

Need Help with Shopify Design, Migration, Speed, or Custom tasks?  
Try Our Conversion Booster app to get more sales | Connect Our Founder Linkedin