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.
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:
- GitHub repository provided with sample code: https://github.com/blueshoon/symmetrical-octo-spork.git
The thread is closed with the developer acknowledging their learning curve with the platform.
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.