Cart auto update not working - Free shipping Alert Message

New Member
2 0 0

Recently i add a div to my cart page with something like "for just more 10$ you can have free shipping"

The 10$ is a variable that is calculated with (free shipping threshold) minus (cart total).

This message is working fine, but the value does not update automatically when item quantities are updated, just when the user refreshes the page manually.

How can i turn on the autorefresh? i think i need to create my function in theme.js file. Can anyone give any tips here?

Shopify Partner
303 48 147

Hi @antonioferreira 

Welcome to Shopify Community.

Aibek is here from 

Can you share with us your shop URL?

You need to write a script to trigger autorefresh. Or edit the place where autorefresh occurs. We will study and, if possible, send you a solution.

We Speedimize your store
Have a problem with speed performance, send me email here:

If our advice was helpful please LIKE or ACCEPT SOLUTION