free product coupon

  • Posts: 19
  • Thank you received: 0
11 years 3 weeks ago #130023

-- url of the page with the problem -- : mywebsite.com/mypage
-- HikaShop version -- : x.x.x
-- Joomla version -- : x.x
-- PHP version -- : x.x.x
-- Browser(s) name and version -- : XXXXX x.x.x
-- Error-message(debug-mod must be tuned on) -- : Error_message

Hello, I would like to offer a free postcard whenever people enter a certain code and order a certain article. I can't find a way to do this, since the coupons documentation all talk about price discounts and not free products.

Is there a way I can do this? I have the Hikashop Essentials version.

Thank you!

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

  • Posts: 12953
  • Thank you received: 1778
11 years 3 weeks ago #130041

Hi,
If you want your customer to buy one of your products with a coupon, you'll just have to set the Flat amount option of your coupon to the price of your product and the "Product" restriction to your product.

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

  • Posts: 19
  • Thank you received: 0
11 years 3 weeks ago #130046

Thank you. But then how can I offer them a free postcard on top of that? Because that is actually what the coupon is offering them, for a reward for buying that product.

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

  • Posts: 13201
  • Thank you received: 2322
11 years 3 weeks ago #130207

Hi,

Actually the discounts don't manage the free items, it only allow to have a discount.
But it's on our TODO list.

What can be done actually is creating a plugin based on the function:
onAfterCouponCheck(&$coupon,&$total,&$zones,&$products,&$display_error,&$error_message,&$do)

Here is some documentation:
www.hikashop.com/support/documentation/6...entation.html#coupon

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

Time to create page: 0.079 seconds
Powered by Kunena Forum