coupon per product

  • Posts: 50
  • Thank you received: 0
9 years 11 months ago #181702

-- HikaShop version -- : 2.3.4
-- Joomla version -- : 3.3.6
-- PHP version -- : 5.4
-- Browser(s) name and version -- : firefox

I want to set up coupon per specific product. $9 off, BUT they have to order $50 worth of merchandise (not necessarily same category or product).

If i set coupon to a particular product OR category it will tell you that you don't have $50 in your cart, even if you do. I believe it is looking for $50 in that product or category (i have tried both ways).

Is it possible to do this and how? I have been trying to get it to work for days and tried different suggestions from forum but it does not work and we want coupon for Monday!
PS the $9 off is for the 2015 Calendar, so they have to have $50 worth of stuff AND the calendar then they get $9 off the calendar.
Please advise. Thank you.
Cheryl

Last edit: 9 years 11 months ago by cjmicro.

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
9 years 11 months ago #181749

Hi,

The system indeed doesn't work like you want.
As a temporary change, add the line:

$total_amount = $total->prices[0]->price_value_with_tax;
before the line:
if($coupon->discount_minimum_order>$total_amount){
in the file administrator/components/com_hikashop/classes/discount.php and that should do what you want.

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

Time to create page: 0.111 seconds
Powered by Kunena Forum