[Skip to main content](#vessel-content)

#   Coupon applied through link for affiliates

##

- **[brentwilliams2](/forum/user/1200-brentwilliams2 "View brentwilliams2's Profile")**
- [![brentwilliams2's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/1200-brentwilliams2 "View brentwilliams2's Profile") Topic Author
- [ Offline](/forum/user/1200-brentwilliams2)

Less More

- Posts: 78
- Thank you received: 5
-
-

4 years 11 months ago [\#337685](#337685) by [brentwilliams2](/forum/user/1200-brentwilliams2 "View brentwilliams2's Profile")  *[Coupon applied through link for affiliates](/forum/46-discount-coupon/903612-coupon-applied-through-link-for-affiliates#337685 "-- HikaShop version -- : 4.4.3 -- Joomla version -- : 3.9.27  I've seen references to &quot;&amp;coupon=XXX&quot; 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?")* was created by *[brentwilliams2](/forum/user/1200-brentwilliams2 "View brentwilliams2's Profile")*

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

I've seen references to "&amp;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](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ2LWRpc2NvdW50LWNvdXBvbi85MDM2MTItY291cG9uLWFwcGxpZWQtdGhyb3VnaC1saW5rLWZvci1hZmZpbGlhdGVzP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86586
- Thank you received: 14325
-
-

4 years 11 months ago [\#337702](#337702) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Coupon applied through link for affiliates](/forum/46-discount-coupon/903612-coupon-applied-through-link-for-affiliates#337702 "-- HikaShop version -- : 4.4.3 -- Joomla version -- : 3.9.27  I've seen references to &quot;&amp;coupon=XXX&quot; 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?")*

Hi,

This was added to HikaShop 4 years ago following this thread:
[ www.hikashop.com/support/forum/discount-...ith-coupon-code.html](https://www.hikashop.com/support/forum/discount-coupon/870273-add-to-cart-link-with-coupon-code.html)
As explained on that thread, the URL you can provide to your affiliate is this: Code:

https://yourwebsite.com/index.php?option=com_hikashop&amp;ctrl=product&amp;task=updatecart&amp;quantity=1&amp;checkout=1&amp;product_id=XXcoupon=YY&amp;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](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ2LWRpc2NvdW50LWNvdXBvbi85MDM2MTItY291cG9uLWFwcGxpZWQtdGhyb3VnaC1saW5rLWZvci1hZmZpbGlhdGVzP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.060 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
