FROM CACHE - en_header

Limit discount maximum dollar amount?

Solved
nuckbuc04
Tourist
8 0 3

Hello - I routinely give out discount codes for things like 10% off storewide. I need a way to set a maximum dollar amount the discount can be used for (i.e. 10% off, up to $50). This is mainly used to bring in new customers to plan their first order but I do not want the ability for someone to take  10% off an order of thousands of dollars. 

 

Shopify doesn't have this ability and I haven't been able to find an app that does so. I would have thought this would be a somewhat common thing but I've given up looking. I am currently on the Supply theme.

 

PLEASE HELP!!! Thank you 🙂

Accepted Solutions (3)

Accepted Solutions
Elias
Shopify Staff
Shopify Staff
1873 189 307

This is an accepted solution.

Hello, @nuckbuc04.

 

Elias here from Shopify Support.

 

While Shopify currently does not have a way to set an order limit for discounts, there are some third-party apps that have this feature. I was able to find a few third-party apps with this feature, which allows you to set minimum or maximum limits for carts or products. These apps offer a free trial, feel free to check them out. If you require support with these apps, you can always reach out to the developers directly through the contact information found in the Support section of their app pages. 

 

  • Order Limits - Minimum/Maximum limits on your products, groups or entire cart.
  • OrderLogic - Simple min and max product and order limits plus much more.
  • MinCart - Easy minimum & maximum limits on your cart, products and more.

 

I can see how this would be a useful feature and I will be putting forth a feature request with our developers so that this can help us grow our discount features. 

 

Based on my understanding that you want to prevent new customers from using the 10% off their first order discount from a larger order (thousands of dollars in products), it looks like the third-party apps mentioned above can do this. However, there are other methods to consider as well. Our ‘Buy X Get Y’ discounts, available natively, allowing you to set up something like “buy 3 get 10%” or “buy 3 get 1 free” where the discounts are applied within a limit. Keep in mind that you can also set a limit of use per customer for each discount created on Shopify. Would this be something that you might consider?

Elias | Social Care @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit the Shopify Help Center or the Shopify Blog

View solution in original post

babalou
Tourist
3 1 4

This is an accepted solution.

is there any update on this feature.

Strange that such a basic feature is not available yet, specially considering so many threads highlight the need for it.

View solution in original post

thepurseladies
New Member
1 1 3

This is an accepted solution.

GUYS, I SOLVED IT!!! 

A little wordy but follow me...

 

Website Code Setup

With Shopify follow the these steps: 

Shopify>Discounts>Create discount>Make Discount code>Set Percentage> choose each section rule

 

To Make Discount Caps                                

Shopify>Discounts>Switch to “Automatic discounts” tab>(No code for this one, just title)>FIXED AMOUNT>Set discount value> Check “Only apply discount once per order”>Set minimum purchase amount. 

 

By setting up a discount code AND an automatic discount you can; (for example) do a sale like this: “15% every purchase with a $150 max savings”. The code can be typed into any purchase except for order totals over $1000 wherein the $150 would be applied automatically. Neither discount will allow the customer to combine the discounts and the system will automatically kick out the code and do a set $150 when the order totals $1000 or more.

 

YOU'RE WELCOME 😉

View solution in original post

Replies 56 (56)
Elias
Shopify Staff
Shopify Staff
1873 189 307

This is an accepted solution.

Hello, @nuckbuc04.

 

Elias here from Shopify Support.

 

While Shopify currently does not have a way to set an order limit for discounts, there are some third-party apps that have this feature. I was able to find a few third-party apps with this feature, which allows you to set minimum or maximum limits for carts or products. These apps offer a free trial, feel free to check them out. If you require support with these apps, you can always reach out to the developers directly through the contact information found in the Support section of their app pages. 

 

  • Order Limits - Minimum/Maximum limits on your products, groups or entire cart.
  • OrderLogic - Simple min and max product and order limits plus much more.
  • MinCart - Easy minimum & maximum limits on your cart, products and more.

 

I can see how this would be a useful feature and I will be putting forth a feature request with our developers so that this can help us grow our discount features. 

 

Based on my understanding that you want to prevent new customers from using the 10% off their first order discount from a larger order (thousands of dollars in products), it looks like the third-party apps mentioned above can do this. However, there are other methods to consider as well. Our ‘Buy X Get Y’ discounts, available natively, allowing you to set up something like “buy 3 get 10%” or “buy 3 get 1 free” where the discounts are applied within a limit. Keep in mind that you can also set a limit of use per customer for each discount created on Shopify. Would this be something that you might consider?

Elias | Social Care @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit the Shopify Help Center or the Shopify Blog

Pedro_Pablo_Lem
New Member
1 0 4

Hi Elias, you are not answering the question. The thing is not to limit the products quantity, we need to limit the max USD discount. Ej 10% with a top of USD50, and of course allowing the client to buy all the things that she/he wants in the cart.

Is there a way to do this?

Regards

Elias
Shopify Staff
Shopify Staff
1873 189 307

Hey, @Pedro_Pablo_Lem.

 

Thank you for posting and I understand what you’re looking for. However, limiting the max dollar amount on a discount is not possible at the moment. I wasn’t able to find a third-party app that can do that as well. 

 

I’d be happy to put forth another feature request to our developers on your behalf.

Elias | Social Care @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit the Shopify Help Center or the Shopify Blog

officialcm
New Member
3 0 2

Hi All,

 

We have a similar situation, I don't understand what solution OP settled with. We have a 50% discount, but we want to only have it applied on orders whose amount is less than or equal to $300. We don't want to give discounts on big spends. 

 

So Please can you clarify how you resolved your situation.

socialsafety
New Member
1 0 2

Any luck finding a solution. I am brand new to Shopify and this was the first discount I went to go setup and noticed I can't do this. I want to offer 10% off upto $100 off. Any luck let me know in your findings.

nuckbuc04
Tourist
8 0 3
nope sorry. try the app store there may be something there, though.
Risa
Shopify Partner
327 16 37

@socialsafety 

 

App Selly has a motivator feature to offer discount based on cart amount:

 

https://apps.shopify.com/selly

 

You can create 2 motivators: motivator 1 to offer discount 10% with cart goal is $1 and motivator 2 to offer discount $100 with cart goal is $1000.

★ SELLY UNITED - The front solution to increase sales for online store and POS - https://apps.shopify.com/selly
Elias
Shopify Staff
Shopify Staff
1873 189 307

Hey, @officialcm, & @socialsafety.

 

Welcome and thank you for joining the thread!

 

I understand you're also looking to set a maximum price limit on discount codes. As previously mentioned, there isn't a way to set a maximum price limit for a discounts at the moment and I didn't have any luck finding a third-party app that can do this. However, there are some apps mentioned earlier in the thread that can apply a maximum limit to the customer's cart, which may be a solution for some stores. With that said, I'd be happy to share your requests as a feature request with our developers. 

 

If you have any other questions on this topic, please don't hesitate to let me know.

Elias | Social Care @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit the Shopify Help Center or the Shopify Blog

Robert_Richter-
New Member
1 0 8

Hi - Can you please confirm if this request has been submitted ? No doubt it is a simple code fix ?

 

This is a very important option that I would have assumed as standard. Being able to offer larger discounts but at the same time limit the actual $ value saved, is very important and used widely.

 

Look forward to a solution

Thanks

Robert

Elias
Shopify Staff
Shopify Staff
1873 189 307

Hey, @Robert_Richter-.

 

Thank you for joining the thread! I can confirm that this feature request has been submitted. However, there isn't a timeline that I can provide on that. Though it's likely not a simple code fix, I can see how important this feature is for you and many of our merchants. That being said, I'd be happy to submit a feature request on your behalf as well. If Shopify moves forward with this feature, you will be able to find it in our changelog or announcements page.

 

If you have any other questions, feel free to let me know in the thread!

 

Elias | Social Care @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit the Shopify Help Center or the Shopify Blog

Alex444
Tourist
3 0 6

Come on, Shopify. Everyone has been asking for better coupon features for YEARS. Why is your platform so restrictive in regards to coupons and their features/settings???

Alex444
Tourist
3 0 6

As simple and standard as these coupon features are and SHOULD be included. Don't hold your breath, Robert. Many people have been requesting better coupon options for years. Shopify is great and they have an awesome platform, you have to give them that, but their coupon features are very disappointing. 

YLC_Amber
New Member
2 0 0

I am interested in the solution for this too. Let us know!

Jkoval18
New Member
1 0 1

My company is interested in this feature too. Adding a discount maximum dollar amount is important to many businesses for promotions. Shopify, can we get an update on this feature add? 

danieltheman
New Member
1 0 3

Actually... I can't believe that... 

 

here the source code for your sw developer

 

if (productPrice <= discountMaxLimit)

(

     product_price = product_price * discount;

)

 

 

JESUS! DO SOMETHING! 

 

sudinkbnb
New Member
1 0 1

I  was shocked when such a big platform doesn't offer this simple feature. I was in need for same but there are no apps that do it, however, there is this one app I came across which allows you to cap the offered discount amount but it doesn't work with default checkout from Shopify you need another third-party app to support. This is quite irritating though I hope shopify release this feature soon.

 

https://apps.shopify.com/automatic-discount-rules

Stephanie_Gosne
Tourist
3 0 5

This feature is also very important to my company.  We have been asking for this for 3 years.   Is there a timeline for this now?  Please let us know.  Thanks!

HammadKhan
New Member
1 0 0

If someone is still looking for a solution. Here's a quick code snippet which can help you. You will need Shopify script editor for this (Shopify Plus)

  • Create a coupon code with 0% discount
  • Go to Apps > Script Editor > Create script > Line Items > Blank template
  • in Ruby Source Code add this

 

if Input.cart && Input.cart.discount_code and Input.cart.discount_code.code == '<Replace With Your Discount Code>'
  if Input.cart.subtotal_price >= Money.new(cents:<Replace With Maximum Discount / (Discount Percentage/100)>00)
    max_discount = <Replace With Maximum Discount Amount>
    cart_subtotal_float = Float((Input.cart.subtotal_price.cents / 100).to_s)
    Input.cart.line_items.each do |line_item|
        if line_item.line_price.cents > 0
        line_price_float = Float((line_item.line_price.cents / 100).to_s)
        percentage = 1 - (((line_price_float / cart_subtotal_float) * max_discount) / line_price_float)
        line_item.change_line_price(line_item.line_price * percentage, message: "")
        end
    end
    elsif Input.cart.subtotal_price < Money.new(cents:<Replace With Maximum Discount Amount / (Discount Percentage/100)>00)
        Input.cart.line_items.each do |line_item|
          line_item.change_line_price(((line_item.line_price)-(line_item.line_price * (<Replace With Discount Percentage>/100))), message: "")
    end
  end
end
Output.cart = Input.cart

 

  • Replace all the <variable> with your values in line 1, 2, 3, 12, 14 (Remove < and > symbols as well). Also make sure your values are round numbers e.g 600 instead of 600.124.
  • Save and Publish

This should cap/limit the discount amount.

Thanks to Github/fnstirling for this snippet. I added some improvements and bug fixes in this script though.

tonat
Tourist
4 0 13

None of these apps you listed have anything to do with discount codes limits.

We need a way to make discount coupons 30% off on orders up to $1000.

Or specify the maximum amount discounted, like: 30% off with a maximum discount $300.

Having Shopify Plus and writing a custom script should NOT be a solution for a feature as basic as this.