Shopify themes, liquid, logos, and UX
Hi all
I am using the supply theme and trying to find out how to show sub total on the Product page and changes as user adjust quantity in selector.
Will anyone have done that? Or knows how to do it?
I found some jquery code but don't know how to apply
<script> $('.qty').change(function() { var qty = $('.qty').val(); var price = $('.price').text(); var newPrice = price.replace(/[^0-9\.]/g, ''); var subtotal = (qty * newPrice); $('.subtotal').text(subtotal); }); </script>
Here is my page.
https://easygoing888.myshopify.com/
Thanks in advance
Jack
Hi, can you help me implement it?
can you please sahre full code?
Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024Digital marketers and app developers have tracked activity in apps and websites for yea...
By Ollie Mar 13, 2024February was an exciting month with Shopify Editions, informative webinars, and more! F...
By JasonH Mar 7, 2024