Shopify CLI theme serve and checkout.liquid

Shopify CLI theme serve and checkout.liquid

Not applicable

When using shopify theme serve the checkout pages seems to be rendered using the active theme's checkout.liquid instead of the one from the development theme.

Does theme serve not support checkout.liquid or is there something Im doing wrong?

Replies 2 (2)

Morek
Shopify Partner
835 73 179

Hi @Anonymous 

Hope you're having a great day!

The checkout.liquid layout is available to Shopify Plus merchants only. If your store isn't on Shopify Plus, then you can customize your checkout pages only in the theme editor. Plus, Unlike theme.liquidcheckout.liquid is self-contained and doesn't render any additional template files. This way, even in development the page will not change its style no matter how much you modify it. 

If you found this comment useful, hit the 'Like' and 'Accepted solution' buttons.

If you're looking for a Shopify developer or just want to connect, don't hesitate to reach out!
Portfolio: https://mmorek.com/
LinkedIn: https://www.linkedin.com/in/mmorek
WhatsApp: Whatsapp me!
Not applicable

What I meant is that shopify seems to be rendering the checkout.liquid of the active theme when you use 'shopify theme serve'. (as oposed to rendering the checkout.liquid from the development theme you are working on)

Otherwise checkout.liquid works fine, I was just considering to switch from themekit to the new shopify cli and ran into this issue.