tiki-archive / integrations

A collection of example implementations
MIT License
1 stars 1 forks source link

Use one discount UI to configure both Order and Product discounts #109

Closed ricardobrg closed 1 year ago

ricardobrg commented 1 year ago

As a shop owner, I want a simple UI to configure all discounts so that I can have a simpler user experience.

Since we are using the same endpoint to save both discounts, there is no point in separating it into 2 different UIs.

Convert the 2 UIs into one with a select box to choose which discount is this, product or order.

This parameter should be added to the ShopifyDiscountOptions interface.

ricardobrg commented 1 year ago

we will use 2 UIs to better reflect the Shopify UX