Created
July 18, 2023 13:09
-
-
Save ihorduchenko/d91a5670ffdfd572671edccc1f2e482d to your computer and use it in GitHub Desktop.
Detect order status page (Thank you page) in Shopify checkout
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{%- assign is_thank_you_page = false -%} | |
{%- if checkout_html_classes contains 'page--thank-you' -%} | |
{%- assign is_thank_you_page = true -%} | |
{%- endif -%} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment