Coupons for Price Breaks

  • Posts: 44
  • Thank you received: 0
12 years 6 months ago #48517

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?

Please Log in or Create an account to join the conversation.

  • Posts: 82727
  • Thank you received: 13342
  • MODERATOR
12 years 6 months ago #48564

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.

Please Log in or Create an account to join the conversation.

  • Posts: 45
  • Thank you received: 7
10 years 8 months ago #146295

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).

Please Log in or Create an account to join the conversation.

Time to create page: 0.071 seconds
Powered by Kunena Forum