skip to Main Content

How to format money on Shopify using JavaScript

I found this Gist for money formatting on Shopify using JavaScript https://gist.github.com/stewartknapman/8d8733ea58d2314c373e94114472d44c I placed it in my cart page and when I try: Shopify.formatMoney(2000, '$') I get this: cart:2166 Uncaught TypeError: Cannot read property '1' of null at Object.Shopify.formatMoney (cart:2166)…

VIEW QUESTION

why additional script not working in shopify?

I want to add some additional content under shipping method on Shopify checkout page. same like this. My ref Site https://www.thegldshop.com enter image description here For this, I found this article and added this script https://help.shopify.com/en/manual/orders/status-tracking/customize-order-status/show-content-based-on-shipping-method {% if checkout.shipping_method.title !=…

VIEW QUESTION
Back To Top
Search