Why is this discount ui extension not showing?

Topic summary

A developer encountered an issue with a UI extension not displaying in their Shopify discount interface. They created a custom extension based on the Discount Details block, adding a simple text field, but it failed to render without throwing errors.

Resolution:

  • The developer self-diagnosed the problem: the extension target was incorrectly configured
  • They determined that “discount details block target” doesn’t exist as a valid target in the platform
  • Issue resolved through correcting the target specification

Resources:

The thread is closed with the developer acknowledging their learning curve with the platform.

Summarized with AI on October 27. AI used: claude-sonnet-4-5-20250929.

I’ve created this UI extension base off the Discount Details block. Simply a text field added to the discount details. i tried reducing the sample code down to show it but I get nothing and no errors. I can’t find any documentation that directly speaks to this only the tutorial. What is wrong with this? Repo in the link.

https://github.com/blueshoon/symmetrical-octo-spork.git

Ok, I’m still learning this platform and see what my issue is. The target is wrong, I don’t think there is a discount details block target. Ignore this.