How to show recommended products on Checkout's Thank you page.

ShradhaVaishy
Shopify Partner
6 0 2

How we can show recommended products  or  generate a dynamic Ui section on checkout's Thank you page.
Is it possible with an api?

Replies 3 (3)

ShopifyDevSup
Shopify Staff
1321 216 456

Hi @ShradhaVaishy,

 

The recommended way is with Checkout UI extensions which are currently available only for Plus Merchants, where the checkout's Thank You page is called the 'Order Status' supported location [Related documentation] .

 

Another way to customize the order status page which is not limited to the Plus plan is the 'Additional Scripts' order status page customization area. [Related Documentation]

 

Please note that we don't provide direct support for either of these options in this API and SDK forum.

 

Hope you have a great day

Developer Support @ Shopify
- Was this reply helpful? Click Like to let us know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

ShradhaVaishy
Shopify Partner
6 0 2

We want to add and edit additional script dynamically. Is there any api or sdk that provides the feature to add or edit additional script.

ShopifyDevSup
Shopify Staff
1321 216 456

If you are using a custom app on a vintage theme, then the GraphQL Admin Api can add script tags with the displayScope ORDER_STATUS, using the scriptTagCreate mutation, or remove them with the scriptTagDelete mutation.

If you are building a public app, or using a newer theme then I would recommend looking at our guide on Post-purchase checkout extensions, which are currently in beta.

 

Hope that helps!

Developer Support @ Shopify
- Was this reply helpful? Click Like to let us know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog