Updates to checkout.liquid Not Showing Up

Solved
elkewtf
Tourist
3 1 0

I am on a Shopify Plus account. I am trying to add postscript to my checkout page. I have the script added to my checkout.liquid but it is not loading.

As a simple test, I added a class both to my body tag and the main div tag, neither show up on the front end.  Are there apps that modify checkout at all? I inherited my site from another developer so wondering if they did something weird that would preclude the code from rendering properly.

 

This is my checkout.liquid file

 

 

 

<!DOCTYPE html>
<html lang="{{ locale }}" dir="{{ direction }}" class="{{ checkout_html_classes }}">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, height=device-height, minimum-scale=1.0, user-scalable=0">
    <meta name="referrer" content="origin">
    
    <title>{{ page_title }}</title>
    {{ content_for_header }}

    {{ checkout_stylesheets }}
    {{ checkout_scripts }}
    
  {% render 'shogun-head' %}
  <script type="application/javascript" async src="https://sdk.postscript.io/integrations/sdk-min.js"></script>

</head>
  <body class="revivecheckout">
    {{ skip_to_content_link }}

    <header class="banner" data-header role="banner">
      <div class="wrap">
        {{ content_for_logo }}
      </div>
    </header>

    {{ order_summary_toggle }}
    <div class="content" data-content>
      <div class="wrap">
        <div class="main">
          <header class="main__header" role="banner">
            {{ content_for_logo }}
            {{ breadcrumb }}
            {{ alternative_payment_methods }}
          </header>
          <main class="main__content elkelekelk" role="main">
            {{ content_for_layout }}
          </main>
          <footer class="main__footer" role="contentinfo">
            {{ content_for_footer }}
          </footer>
        </div>
        <aside class="sidebar" role="complementary">
          <div class="sidebar__header">
            {{ content_for_logo }}
          </div>
          <div class="sidebar__content">
            {{ content_for_order_summary }}
          </div>
        </aside>
      </div>
    </div>

    {{ tracking_code }}
  </body>
</html>

 

 

Accepted Solution (1)

Accepted Solutions
elkewtf
Tourist
3 1 0

This is an accepted solution.

Finally figured it out. Whomever setup the account (I guess the prior dev), didn't enable checkout.liquid on the account >.< this has been resolved.

View solution in original post

Replies 5 (5)
Michal17
Shopify Partner
820 74 149

Hi @elkewtf 

Hope you're having a great day!

Did your store be on Shopify Plus?

The checkout.liquid layout is available to Shopify Plus merchants only. If the store is not on Shopify Plus, even the presence of the checkout.liquid file does not change anything. No update of this file will be considered.

If your store isn't on Shopify Plus, then you can customize your checkout pages in the theme editor only.

If you have any further questions, please do reach out either here on the forum, or via private message/email.

elkewtf
Tourist
3 1 0

Yes I am Shopify Plus:

elkewtf_0-1621700659986.png

 

elkewtf
Tourist
3 1 0

This is an accepted solution.

Finally figured it out. Whomever setup the account (I guess the prior dev), didn't enable checkout.liquid on the account >.< this has been resolved.

View solution in original post

Michal17
Shopify Partner
820 74 149

Hi @elkewtf 

You are welcome. I'm glad you were satisfied.

If you have any further questions, please do reach out either here on the forum, or via private message/email.

MiguelAngelFF
New Member
4 0 0

Could you help me please how to enable it ?