How to make the discount code mandatory at checkout, if a specific product tag is present

yasir_naseer
Shopify Partner
8 0 3

I have a requirement, that needs to make the discount code mandatory, if a specific tag product is added to the cart, im using shopify plus, therefore i can use shopify scripts. but i am not sure how to achieve this. Therefore if a specific tag product is added to cart, then the user must apply for discount code on checkout, otherwise the checkout wont be applied. Is this doable? thanks

Replies 7 (7)

WhiteWater_Web
Shopify Expert
456 17 42

Hi there, if on Plus this is possible; to confirm you want the checkout button made inactive until a discount code is added - for certain products (tag controlled), correct?

 

Let us know, info@whitewatersolutions.com.

 

Take care.

 

WhiteWater Web

A certified Shopify Partner and Expert, WhiteWater Web (WWW) is a premium digital solutions company specializing in advanced Shopify Dev, Usability/Design, and Online Strategy. WWW has been working with the Shopify platform since 2006.
info@whitewatersolutions.com
yasir_naseer
Shopify Partner
8 0 3

yes thats, right, i mean user cant complete checkout, make payment untill a discount code is added if a specific tag product is in cart

 

Stephensjo1
Visitor
1 0 0

I have the same requirement previously discussed here. What is the solution to this problem? I can't seem to find anywhere else where this specific functionality is mentioned.

scom
Excursionist
39 0 46

I am also looking for a solution for this problem, how can this be done?

WhiteWater_Web
Shopify Expert
456 17 42

Are you on Shopify Plus?

 

Cheers.

 

WhiteWater Web

A certified Shopify Partner and Expert, WhiteWater Web (WWW) is a premium digital solutions company specializing in advanced Shopify Dev, Usability/Design, and Online Strategy. WWW has been working with the Shopify platform since 2006.
info@whitewatersolutions.com
scom
Excursionist
39 0 46

at the moment shopify basic, would prefer if I didn't have to update to plus because its not going to be something i need long term, but can consider if there is no other option

 

WhiteWater_Web
Shopify Expert
456 17 42

Drop us an email to info@whitewatersolutions.com and we can look at options with you.

 

Take care.

 

WhiteWater Web

A certified Shopify Partner and Expert, WhiteWater Web (WWW) is a premium digital solutions company specializing in advanced Shopify Dev, Usability/Design, and Online Strategy. WWW has been working with the Shopify platform since 2006.
info@whitewatersolutions.com