Show content based on an order for a particular product
Learn how to iterate through your
checkout.line_items to see if your special product is in the order.
- From your Shopify admin, go to Settings > Checkout.
- Scroll down to the Additional scripts section.
- Copy the following code to your clipboard (
command + c on a Mac,
ctrl + c on a PC).
- Paste the code into the Additional scripts box. (press
V on a PC or
V on a Mac)
- Complete a test order to view your order status page.