Join us for an upcoming Shopify Partner webinar on February 27, 2024. Discover the latest Checkout Extensibility features, and deep dive on improvements to Shopify Functions and Web Pixels. Register now for either the 10am EST or 2pm EST sessions.
Solved

How To Set Discount Combine With Only Automatic Order Discount

vy2902
Shopify Partner
26 0 0

Hello!

I created automatic order discount by using Graph Admin API (discountAutomaticAppCreate).

This is my use case: In checkout, user can use 1 automatic order discount and 1 discount code. To discount code can apply with automatic order discount, when create discount code, i must set discount code can combine with order discount. But this can cause user can apply multiple order discount codes.

So, how to i can set user can apply 1 automatic order discount and only 1 discount code.

Please help me.

Thank in advance.

Accepted Solution (1)

SBD_
Shopify Staff
1776 263 382

This is an accepted solution.

Hey @vy2902 

 

Shopify's discount system allows customers to use either one automatic discount or one discount code per order. This means that if a customer has an automatic discount applied to their order and then they enter a discount code, the discount code will override the automatic discount.

 

In your case, where you want to allow customers to use both an automatic discount and a discount code in the same order, the only possible solution right now is to set the 'Combine Discounts' option when creating the discount code. But as you've mentioned, this could potentially allow customers to use multiple discount codes.

Scott | Developer Advocate @ Shopify 

View solution in original post

Replies 2 (2)

SBD_
Shopify Staff
1776 263 382

This is an accepted solution.

Hey @vy2902 

 

Shopify's discount system allows customers to use either one automatic discount or one discount code per order. This means that if a customer has an automatic discount applied to their order and then they enter a discount code, the discount code will override the automatic discount.

 

In your case, where you want to allow customers to use both an automatic discount and a discount code in the same order, the only possible solution right now is to set the 'Combine Discounts' option when creating the discount code. But as you've mentioned, this could potentially allow customers to use multiple discount codes.

Scott | Developer Advocate @ Shopify 

vy2902
Shopify Partner
26 0 0

Thank you so much