> Deprecated: > `checkout.liquid` is now unsupported for the Information, Shipping, and Payment checkout steps. 'checkout.liquid', additional scripts, and script tags are deprecated for the **Thank you** and **Order status** pages and will be sunset on August 28, 2025. > Stores that currently use `checkout.liquid` for the **Thank you** and **Order status** pages need to [upgrade to Checkout Extensibility](https://www.shopify.com/plus/upgrading-to-checkout-extensibility) before the deadline. [Shopify Scripts](/docs/api/liquid/objects#script) will continue to work alongside Checkout Extensibility until August 28, 2025. > Learn [how to build checkout extensions](/docs/apps/build/checkout/technologies) that extend the functionality of Shopify checkout. The `checkout.liquid` layout renders the checkout and is available only to [Shopify Plus](https://www.shopify.com/plus?utm_source=shopify&utm_medium=docs&utm_campaign=checkout_liquid_layout) merchants. If your store isn't on Shopify Plus, then you can customize your checkout pages in the [theme editor](https://help.shopify.com/manual/online-store/themes/customizing-themes/edit#theme-editor). ## Location The `checkout.liquid` layout is located in the `layout` directory of the theme: ```text └── theme ├── layout | ├── theme.liquid | └── checkout.liquid ├── templates ... ``` ## Schema The `checkout.liquid` layout has the following format by default:
Step | Description |
---|---|
Inventory issues | This step is displayed if one or more of the cart items is out of stock, or the inventory level is below what the customer has requested. Customers are shown a confirmation button that will update their cart with the available item quantities. |
Contact information | The customer enters their email address and will have the option to log in if customer accounts are enabled for the store. If any cart items require shipping, then the customer is shown a shipping address form. Otherwise, the customer is shown a billing address form. |
Shipping method | The customer selects a shipping option or edits their shipping information. This step is skipped when none of the cart items require shipping. Skipping the shipping method is common for merchants selling digital products or services. Clicking Edit shipping information returns the visitor to the Customer information step. |
Payment method | The customer chooses a payment method and, if applicable, enters payment information. Some payment providers require the customer to complete payment information on a different site. Customers can also specify a different billing address during this step. |
Review order |
Optional based on checkout settings. The customer confirms their order total, shipping and billing addresses, and payment details by clicking Complete order. This step might be required if the store is operating in the European Union. |
Processing/forwarding | A temporary page shown to customers as their order is being processed, or as they are being redirected to an off-site payment provider. The message displayed during this step depends on your checkout's translation settings. |
Order status | The last step of checkout. This step is displayed after an order is complete. Learn more › |
Object | Description | Required |
---|---|---|
content_for_header | The scripts from Shopify for features like hCaptcha, Shopify apps, and more. You need to add a reference to this object between the <head> and </head> HTML tags. |
Yes |
content_for_layout | The form fields and content for each step of the checkout process. You need to add a reference to this object between the <body> and </body> HTML tags. |
Yes |
locale | The currently-selected locale. | No |
direction | The CSS direction of the content. For example, ltr or rtl . |
No |
page_title | The page title. Commonly wrapped in <title> and </title> tags. |
No |
skip_to_content_link | A hidden link for accessibility that allows users to skip to the main content. | No |
checkout_html_classes | A string that should be added to the <html> tag to benefit from Shopify's default CSS. |
No |
checkout_stylesheets | Shopify's checkout stylesheets. It's recommended that you don't remove this, even if you have your own stylesheets, as it requires extensive work to replace the default styling. | No |
checkout_scripts | Shopify's JavaScript files. | No |
content_for_logo | The store logo, as determined by the checkout settings. | No |
breadcrumb | The list of steps required to complete the checkout. The breadcrumb doesn't display on the final review step during checkout. | No |
order_summary_toggle | The markup necessary to show and hide the order summary on mobile devices. | No |
content_for_order_summary | The content summary, including line items, discounts, taxes, and totals. | No |
alternative_payment_methods | The list of available express payment methods, such as PayPal. | No |
content_for_footer | The list of your store policies or, if the list is empty, a copyright notice. | No |
tracking_code | The JavaScript responsible for Google Analytics and Facebook Pixel tracking. | No |
checkout | The checkout object. | No |
Version | Description |
---|---|
Standard | The default checkout. It's used if access to checkout.liquid isn't enabled, and is automatically updated as Shopify releases updates and features for the checkout. |
Maintenance |
Used when access to
|
From your Shopify admin, go to Online Store > Themes.
Find the theme that you want to edit, and then click ... > Edit code.
From the Shopify app, tap Store.
In the Sales channels section, tap Online Store.
Tap Manage all themes.
Find the theme that you want to edit, and then tap ... > Edit code.
From the Shopify app, tap Store.
In the Sales channels section, tap Online Store.
Tap Manage all themes.
Find the theme that you want to edit, and then tap ... > Edit code.