Cart Total Bar not working

I have a bar calculating how much is left till i get (as a user/customer) free shipping. Two issues I have been facing

  1. the bar should only work in the US so how can I limit it to US only?

  2. I added products to the cart but the bar is not moving

See attached image below

Hello @Lover ,

  1. Yes you can use it for US only.
    You have to detect which currency is selected and a/to the selectin show/hide the progress bar.

  2. Check the error in the console just by checking the screenshot it is not possible to say what the issue is.

Thanks

Hi @Lover ,

Could you send a screenshot of the console of what the output is as it’s quite hard to say without that.

Regards,

Marko

Hello!

First, How do i do that (detect which currency is selected and a/to the selecting show/hide the progress bar)

Second - this is the console:

Hello

Second - this is the console:

If you are looking for another solution. You can refer to our application. We have a Cart Upsell function that will help you create that and more.
Have a nice day.

SP: Free Gifts with purchase - SALEPIFY Shopify App - Free gift with purchases & Upsell | Shopify App Store