Disable the use of a gift card and discount code simultaneously

Disable the use of a gift card and discount code simultaneously

WAYTeamShop
Tourist
3 0 2

Hi,

This might sound like a weird question but is there anyway we can disable the use of a gift card and a discount so they can't be both applied in the checkout/cart? If there is a source or something that would explain how we can set that up, that would be awesome! We haven't found anything for this specific problem, which is understandable since you would normally want to be able to use both on an online retail store.

Will

Replies 4 (4)

WAYTeamShop
Tourist
3 0 2

Hoping to revive this thread to see if anyone has any success or answers to our situation.

 

Thanks Shopify Community!

BrueryEthen
Shopify Partner
1 0 1

Bumping this as we have the same need!

rebeccawg
Visitor
1 0 0

Has anyone found a reply? 

SureCust
Shopify Partner
128 10 19

Conditionally disable gift cards in checkout using custom logic with the Payment Customization API

 

As of Nov 12, 2024, you can use the HideOperation in the Payment Customization Function API to disable native gift card functionality and Shopify-integrated third-party gift card systems. Disabling gift cards hides the gift card field, removes any applied gift cards, and prevents any gift cards from being applied by UI extensions.

The ability to disable the gift card field is available in the unstable API version and will be released to the stable 2025-01 API version.

You can also find apps on Shopify App Store Click to find

Thank you

banned