- Posts: 44
- Thank you received: 0
Coupons for Price Breaks
- blackballdesigns
-
Topic Author
- Offline
Less
More
14 years 6 months ago #48517
by blackballdesigns
Coupons for Price Breaks was created by blackballdesigns
The products on my website have the following price breaks:
1-5 units = $55 each
6-15 units = $48 each
We give out a lot of coupons, but we're losing money when people use our coupon on top of the price break when they order 6-15 units at a time. My question is how do we make the coupons invalid when users have 6 or more units in their cart?
1-5 units = $55 each
6-15 units = $48 each
We give out a lot of coupons, but we're losing money when people use our coupon on top of the price break when they order 6-15 units at a time. My question is how do we make the coupons invalid when users have 6 or more units in their cart?
Please Log in or Create an account to join the conversation.
14 years 6 months ago #48564
by nicolas
Replied by nicolas on topic Re: Coupons for Price Breaks
You can't as there is no option for that. There is only a minimum amount restriction, not a maximum as no one requested that so far.
As a simple hack, you can change the line:
if($coupon->discount_minimum_products>$qty){
in the file administrator/components/com_hikashop/classes/discount.php
to:
if($coupon->discount_minimum_products<$qty){
and use the minimum quantity field for that.
But a proper way to do it would be to develop a plugin in order to check on that and avoid loosing your change each time you update HikaShop.
As a simple hack, you can change the line:
if($coupon->discount_minimum_products>$qty){
in the file administrator/components/com_hikashop/classes/discount.php
to:
if($coupon->discount_minimum_products<$qty){
and use the minimum quantity field for that.
But a proper way to do it would be to develop a plugin in order to check on that and avoid loosing your change each time you update HikaShop.
Please Log in or Create an account to join the conversation.
12 years 8 months ago #146295
by rhinoboy82
Replied by rhinoboy82 on topic Re: Coupons for Price Breaks
Nicolas,
This is an old topic, but I just ran into this today. Many of our products have quantity discounts, but we have business partners that we allow to have steep discounts for just a single quantity. However, if they purchase enough for the quantity break and then apply the coupon, this results in a price that is too low.
On the coupon configuration page, there are options to "ignore discounted products" and "override discounted products". It seems like another option, "ignore quantity pricing" would make sense.
So I guess I am voting for such an option (or something similar).
This is an old topic, but I just ran into this today. Many of our products have quantity discounts, but we have business partners that we allow to have steep discounts for just a single quantity. However, if they purchase enough for the quantity break and then apply the coupon, this results in a price that is too low.
On the coupon configuration page, there are options to "ignore discounted products" and "override discounted products". It seems like another option, "ignore quantity pricing" would make sense.
So I guess I am voting for such an option (or something similar).
Please Log in or Create an account to join the conversation.
Time to create page: 0.062 seconds