Coupon applied through link for affiliates

  • Posts: 78
  • Thank you received: 5
  • Hikashop Business
2 years 11 months ago #337685

-- HikaShop version -- : 4.4.3
-- Joomla version -- : 3.9.27

I've seen references to "&coupon=XXX" but can't seem to figure it out. My affiliates get to provide a standard discount to their clients, but right now, they have to manually tell their clients what the code is. So what I want is to have the coupon/discount applied automatically when the affiliate sends a client to my site. In other words, once their client clicks one link, it tells my site to give that person a discount. Any suggestions on that front?

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
2 years 11 months ago #337702

Hi,

This was added to HikaShop 4 years ago following this thread:
www.hikashop.com/support/forum/discount-...ith-coupon-code.html
As explained on that thread, the URL you can provide to your affiliate is this:

https://yourwebsite.com/index.php?option=com_hikashop&ctrl=product&task=updatecart&quantity=1&checkout=1&product_id=XXcoupon=YY&partner_id==ZZ
where XX is the id of the product to automatically add to the cart, YY the coupon to automatically add to the cart (a product has to be in the cart for the coupon to be added so that's why we do both at the same time with that URL), and ZZ is the id of the partner.

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

Time to create page: 0.057 seconds
Powered by Kunena Forum