An order has a DiscountCodes property that tells you all discount codes that have been applied. Each entry has a IsFulfilled property to say whether it actually discounted the order (it's possible for a discount code to be applied but it doesn't affect the order because it doesn't yet meet the discount criteria)
Retrieve Discount Code
Is there a way we can lookup what discount code has been applied during the current checkout process?
We're looking into enabled a hidden shipping option should a defined code be used.
Thank you
Hey Warren,
An order has a
DiscountCodes
property that tells you all discount codes that have been applied. Each entry has aIsFulfilled
property to say whether it actually discounted the order (it's possible for a discount code to be applied but it doesn't affect the order because it doesn't yet meet the discount criteria)Hope this helps
Matt
awesome thank you
is working on a reply...