Search code examples
javascriptshopifye-commerceliquidshopify-template

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 != 'Pick-up at the store' %}
      Shopify.Checkout.OrderStatus.addContentBox(
        `<p>Okay, we're ready for you to collect your products from 17 Mapple Crescent, Toronto. Our store is open 9:00 to 5:00 every day.</p>`
      )
    {% endif %}

But still not working for me. Here is my website url

https://hypeyourbeast.com/


Solution

  • In Shopify, You will need Shopify plus account to do any change on the checkout page. Without a Shopify Plus account, you can't change anything on the checkout page.