Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Re: Add Checkout UI Extension block to specific target in thank-you page

Add Checkout UI Extension block to specific target in thank-you page

isendu-dev
Shopify Partner
8 0 0

Hi,

I would like to add my Checkout UI Extension block at target purchase.thank-you.block.render [ORDER_STATUS2], the second purple location you can see in the image below:

isendudev_0-1706786348641.png

But I can't find how to specify that block, because in configuration (.toml) file I can only indicate the generic name of the block:

 

[[extensions.targeting]]
target = "purchase.thank-you.block.render"
module = "./src/Checkout.tsx"
export = "thankYouBlock"

 

...and this configuration puts my code in the location of purchase.thank-you.block.render [ORDER_STATUS1].

What I have to do to put it directly in the second block?

 

Thank you

Replies 6 (6)

MastersHub
Shopify Partner
216 21 38

Have you upgraded the thank you page with checkout extensibility? If you haven't upgraded it, you won't be able to do this.

Helpful ? Like and Accept Solution
Buy me a Coffee
Need a Shopify Developer?
Send Email or Chat on WhatsApp
isendu-dev
Shopify Partner
8 0 0

Yes, already upgraded.

isendudev_0-1706794774040.png

 

MastersHub
Shopify Partner
216 21 38

You need to add the checkout UI block from the checkout settings. If have any questions let me know so I can clarify, and if not, and you'd like to work together please feel free to message me directly.

Helpful ? Like and Accept Solution
Buy me a Coffee
Need a Shopify Developer?
Send Email or Chat on WhatsApp
w11k
Shopify Partner
1 0 0

Is this mandatory for every checkout UI Extension? Or is there also a default setting?

 

MastersHub
Shopify Partner
216 21 38

Those using Block Extension need to make this setting, while others can be placed to the target. If have any questions let me know so I can clarify, and if not, and you'd like to work together please feel free to message me directly.

 

Good luck

 

Helpful ? Like and Accept Solution
Buy me a Coffee
Need a Shopify Developer?
Send Email or Chat on WhatsApp

Dars
Shopify Partner
1 0 0

I have the same problem , I want to add at ORDER_SUMMARY4 but I couldn't. If you got any solution then please let me know as soon as possible