Add thank you page extension block in [ORDER_STATUS2] block position.

Topic summary

Configuring two extension blocks for the thank-you page under the same target (purchase.thank-you.block.render) triggers an error: “Duplicate targets found… Extension point targets must be unique.” The goal is to place orderDetailsBlock specifically in the [ORDER_STATUS2] position shown in the docs image.

Attempts made:

  • Two targeting entries with the same target pointing to different exports in one file → error.
  • Two targeting entries with separate module files (Checkout.jsx and OrderDetails.jsx) → same error.

Guidance shared: Using separate module files for each block under the same target should work, but it does not in practice. One participant escalated to the internal team to investigate.

Workarounds/Status:

  • Temporary workaround: create multiple extensions instead of multiple blocks under one extension.
  • Another user reports the same error, confirming broader impact.
  • An additional question asks whether this capability is limited to Shopify Plus; no answer yet.

Outstanding issues:

  • How to correctly target [ORDER_STATUS2] without triggering duplicate-target validation.
  • Whether the duplicate-target limitation is intended or a bug, and any plan requirements.
  • Thread remains open; awaiting internal clarification. The docs screenshot is central for understanding positions.
Summarized with AI on December 20. AI used: gpt-5.

I am trying to understand how I can configure my targets in my .toml to make an extension block on the thank you page load up in `purchase.thank-you.block.render [ORDER_STATUS2]. What I have currently is throwing an error:

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

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

Error: Duplicate targets found: purchase.thank-you.block.render │ Extension point targets must be unique.

However in the image in the docs, it shows the position of [ORDER_STATUS2] as a possible target.

Hi Turbofan,

Just to confirm, you want the orderDetailsBlock to be appearing on the [ORDER_STATUS2] location, so you need to know what value to apply to it’s target property?

Yes precisely.

The purchase.thank-you.block.render definition should cover both targets, if you use separate module files for each then this should work as expected.

Do you mean something like this:

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

[[extensions.targeting]]
target = "purchase.thank-you.block.render"
module = "./src/OrderDetails.jsx"
export = "orderDetailsBlock"

I tried that and still got the same error.

It should be working with two separate files - I’ll connect with the internal team again to see what might be causing this.

Okay thank you.

For now, I’ve resorted to creating multiple extensions though.

Hi, Getting the same error trying with different files. Did you got a chance to get with team?

1 Like

Will we use this feature on shopify Plus plan?