Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Warren Harding 132 posts 275 karma points
    Apr 13, 2022 @ 07:01
    Warren Harding
    0

    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

  • Matt Brailsford 4125 posts 22224 karma points MVP 9x c-trib
    Apr 13, 2022 @ 07:45
    Matt Brailsford
    100

    Hey Warren,

    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)

    Hope this helps

    Matt

  • Warren Harding 132 posts 275 karma points
    Apr 14, 2022 @ 02:31
    Warren Harding
    0

    awesome thank you

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies