Need some help with some JS in my Cart Page

lif-ab
New Member
7 0 0

Hi there-

I am redesigning some of my store's pages and I want to change the quantity text box in my cart to buttons, I found some code online that I was able to make work nicely in my code pen (https://codepen.io/pen/?template=NWvYGNa)

I tried creating a JS asset and linking it but it didn't work either. 

Any recommendations?

Thanks!

However when I add it to cart.liquid it doesn't work, I am adding the exact same script you see in my pen at the bottom between <script></script> but it just does not work.

Screen Shot 2021-11-05 at 7.25.13 PM.pngScreen Shot 2021-11-05 at 7.25.22 PM.png

 

 

Replies 0 (0)