Shipping rates calculator vantage

Highlighted
Tourist
7 0 1
Good Morning! I have used this set of instructions for my previous theme no problem to add a shipping calculator in my shopping cart page and just in the process of setting up vantage and it loads in fine but when I add in a postcode and hit submit it just does nothing! Any idea where I could have gone wrong? Instructions here: https://help.shopify.com/en/themes/customization/cart/add-shipping-calculator Website here: https://www.sfxsupplies.co.uk/cart
0 Likes
Highlighted
Shopify Expert
2669 445 577

That's because of Js can not get theme.string object on page that you have added at last in theme.js file.

Find bellow code and add in head section in theme.liquid file or just before Shopify.Cart.ShippingCalculator.show this code in theme.js 

 

theme.strings = {
      shippingCalcSubmitButton: "Calculate shipping",
      shippingCalcSubmitButtonDisabled: "Calculating...",
      shippingCalcMoneyFormat: "\u0026pound;{{amount}} GBP"
  }

 

 

 

Want to modify or custom changes on store hire me.
If helpful then please Like and Accept Solution.
Email: jasoliyabrijesh123@gmail.com
Skype: jasoliya.brijesh
Want to get Free review and advice for sale on store ?? just text me here
0 Likes
Highlighted
Tourist
7 0 1

I added that into the bottom of  theme.js.liquid above the cart text and if I now add no postcode it comes up with an error but when I add one in it loads then doesnt show the rate! 

 

So close.

 

Do you think I need to add it in elsewhere?

0 Likes
Shopify Expert
2669 445 577

Shipping rate are calculate properly just issue with your some code so may be i can check more with just console so check in your shipping file and compare all way with help link

Want to modify or custom changes on store hire me.
If helpful then please Like and Accept Solution.
Email: jasoliyabrijesh123@gmail.com
Skype: jasoliya.brijesh
Want to get Free review and advice for sale on store ?? just text me here
0 Likes