coupon flat amount x total item quantity in cart

  • Posts: 567
  • Thank you received: 11
  • Hikashop Business
12 years 2 weeks ago #72947

Hi Nicholas

Would like to set this kind of coupon but seems it is not in hikashop preset coupon

can i do some modification in source code and make it works?

which file should i look into?

i would like to make the flat amount discouunt of coupon X the total items quantity in cart to become the discount amount

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

  • Posts: 13201
  • Thank you received: 2322
12 years 2 weeks ago #73132

Hi,

Actually to do this kind of coupon, I think that you have to create a plugin. This plugin must load the cart content and then do a calculation based on the items in cart and the coupon amount.
You can find some documentation on the existing triggers in HikaShop here:
www.hikashop.com/en/support/documentatio...r-documentation.html

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

  • Posts: 567
  • Thank you received: 11
  • Hikashop Business
12 years 2 weeks ago #73620

it's abit headache to make a plugin as not familiar with all the requirement at all

it's best if could provide which file to look into for the modification

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

  • Posts: 82818
  • Thank you received: 13361
  • MODERATOR
12 years 2 weeks ago #73841

It's not about a modification. You have to create a plugin for that, so the files of the plugin don't exist.
If you're not a developer that won't be possible.
Maybe AWO coupon would allow you to do that without changing any code ? You could try to ask them about that in such case.

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

Time to create page: 0.075 seconds
Powered by Kunena Forum