Product Discount Function applied discounts

sebizox
Shopify Partner
4 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)