Have your say in Community Polls: What was/is your greatest motivation to start your own business?
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.

Product Discount Function applied discounts

Product Discount Function applied discounts

sebizox
Shopify Partner
6 0 3

1. With the script editor, we could detect if certain discount codes were used. Are there plans to make this available as we discuss our migration to use extensions for product discounts?

2. Similarly, we were able to detect the applied discount total given to a line item. For example, we only want to discount a line item for free if the total spend was over X amount. However, if a volume discount was applied to line items separately, it would incorrectly qualify because before applied discounts, the cart amount was > X, but in reality, the cart is < X. Is there a way to have this information available in the `RunInput` ?

Replies 0 (0)