Shopify CLI theme serve and checkout.liquid

florinanghel
Shopify Partner
133 17 25

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?

0 Likes
Michal17
Shopify Partner
820 73 144

Hi @florinanghel 

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.

0 Likes
florinanghel
Shopify Partner
133 17 25

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.

0 Likes