Personalized checkout and custom promotions with Shopify Scripts
In the slide cart - ajax on the impulse theme
https://themes.shopify.com/themes/impulse/styles/modern
In the ajax slide in cart, i want to have "you saved $XXX" under subtotal. It needs to work and update if they change the qty btn in the cart, not just on page refresh. I know html but ajax is confusion. Please show the <script> i need to add.
Also, is it possible to have the number of items in the cart change live / ajax on the cart symbol - top right ?
again liquid and html is fine, but it needs to change live / ajax. Need the <script>
thank you very much for your help
Cart counter can be ajax auto update see this video and reference
https://www.youtube.com/watch?v=5Dl9Wsmq130
which references
https://liquid-ajax-cart.js.org
Super thank you to
the "you have saved $X" ajax cart is still hard work, pls help ?
can you please send screenshot or video further issue
I would like to have in the slide out ajax cart the "saved $300" which is the difference between all the compare prices and the sale price. Its a total saved, and changes as qty is changed in the Ajax cart.
please help
thanks it can be done customization
I added ...
{% assign total_saving = 0 %}
{% for item in cart.items %}
{% if item.variant.compare_at_price > item.variant.price %}
{% assign saving = item.variant.compare_at_price | minus: item.variant.price | times: item.quantity %}
{% assign total_saving = saving | plus: total_saving %}
{% endif %}
{% endfor %}
You Saved: {{ total_saving }}
but that only updates the "you saved" on page refresh, can you show me the code for AJAX that changes the "saved" as the QTY btn change in the slide cart.
Using theme that is demo
https://themes.shopify.com/themes/impulse/styles/modern
it has huge ajax library, maybe use something from
https://liquid-ajax-cart.js.org
which is also loaded. Add here to help the community too, thank you Sir
Can someone please help this man? Having the same problem
oh sorry that issue please share more detais;
Using impulse theme and want to add total savings above the subtotal on the cart page. Please see https://prnt.sc/6rHSNVTGkHPT
Hi just following this up
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024