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

#   Change the look of the page for every affiliate

##

- **[nico.van.leeuwen](/forum/user/12404-nico-van-leeuwen "View nico.van.leeuwen's Profile")**
- [![nico.van.leeuwen's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar_2012-12-17-2.jpg)](/forum/user/12404-nico-van-leeuwen "View nico.van.leeuwen's Profile") Topic Author
- [ Offline](/forum/user/12404-nico-van-leeuwen)

Less More

- Posts: 341
- Thank you received: 27
-
-
- [](http://www.delinie-ict.nl)
-

8 years 5 months ago [\#291869](#291869) by [nico.van.leeuwen](/forum/user/12404-nico-van-leeuwen "View nico.van.leeuwen's Profile")  *[Change the look of the page for every affiliate](/forum/39-affilation/894556-change-the-look-of-the-page-for-every-affiliate#291869 "-- HikaShop version -- : 3.4.0 -- Joomla version -- : 3.8.7 -- PHP version -- : 7  Hi,  I'm looking for an option to use (a sort of) affiliate where it's possible to change the look of the page when they come from an affiliate.  So when people come to the shop from affiliate link nr1 it uses template nr1 for the landing page of this affiliate.  Would this be possible with Hikashop or would this be possible for example with HikaMarket ?  Thanks in advance.")* was created by *[nico.van.leeuwen](/forum/user/12404-nico-van-leeuwen "View nico.van.leeuwen's Profile")*

-- HikaShop version -- : 3.4.0
-- Joomla version -- : 3.8.7
-- PHP version -- : 7

Hi,

I'm looking for an option to use (a sort of) affiliate where it's possible to change the look of the page when they come from an affiliate.

So when people come to the shop from affiliate link nr1 it uses template nr1 for the landing page of this affiliate.

Would this be possible with Hikashop or would this be possible for example with HikaMarket ?

Thanks in advance.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2FmZmlsYXRpb24vODk0NTU2LWNoYW5nZS10aGUtbG9vay1vZi10aGUtcGFnZS1mb3ItZXZlcnktYWZmaWxpYXRlP3RtcGw9bWFya2Rvd24=) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86287
- Thank you received: 14264
-
-

8 years 5 months ago [\#291872](#291872) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Change the look of the page for every affiliate](/forum/39-affilation/894556-change-the-look-of-the-page-for-every-affiliate#291872 "-- HikaShop version -- : 3.4.0 -- Joomla version -- : 3.8.7 -- PHP version -- : 7  Hi,  I'm looking for an option to use (a sort of) affiliate where it's possible to change the look of the page when they come from an affiliate.  So when people come to the shop from affiliate link nr1 it uses template nr1 for the landing page of this affiliate.  Would this be possible with Hikashop or would this be possible for example with HikaMarket ?  Thanks in advance.")*

Hi,

It's possible yes.
With the HikaShop affiliate system, the affiliate link has a special parameter (it's "partner_id" by default) to know the partner.
So then, you can use an extension to define which template to use based on that parameter in the URL.
[ www.metamodpro.com/chameleon/chameleon](https://www.metamodpro.com/chameleon/chameleon)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2FmZmlsYXRpb24vODk0NTU2LWNoYW5nZS10aGUtbG9vay1vZi10aGUtcGFnZS1mb3ItZXZlcnktYWZmaWxpYXRlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nico.van.leeuwen](/forum/user/12404-nico-van-leeuwen "View nico.van.leeuwen's Profile")**
- [![nico.van.leeuwen's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar_2012-12-17-2.jpg)](/forum/user/12404-nico-van-leeuwen "View nico.van.leeuwen's Profile") Topic Author
- [ Offline](/forum/user/12404-nico-van-leeuwen)

Less More

- Posts: 341
- Thank you received: 27
-
-
- [](http://www.delinie-ict.nl)
-

8 years 5 months ago [\#291952](#291952) by [nico.van.leeuwen](/forum/user/12404-nico-van-leeuwen "View nico.van.leeuwen's Profile")  Replied by *[nico.van.leeuwen](/forum/user/12404-nico-van-leeuwen "View nico.van.leeuwen's Profile")* on topic *[Change the look of the page for every affiliate](/forum/39-affilation/894556-change-the-look-of-the-page-for-every-affiliate#291952 "-- HikaShop version -- : 3.4.0 -- Joomla version -- : 3.8.7 -- PHP version -- : 7  Hi,  I'm looking for an option to use (a sort of) affiliate where it's possible to change the look of the page when they come from an affiliate.  So when people come to the shop from affiliate link nr1 it uses template nr1 for the landing page of this affiliate.  Would this be possible with Hikashop or would this be possible for example with HikaMarket ?  Thanks in advance.")*

Yes, thats great.

What would even be better if there is a way to make the template "stick" for the duration of the visitor from that affiliate link...
I can only guess that this is not so simple... but you never know until you ask ![:)](/media/kunena/emoticons/8.png ":)")
Would you know of any trick / work around then that is nice.

If it requires some custom programming then I would also love to hear it so I know where to go to for a solution.

Thanks !

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2FmZmlsYXRpb24vODk0NTU2LWNoYW5nZS10aGUtbG9vay1vZi10aGUtcGFnZS1mb3ItZXZlcnktYWZmaWxpYXRlP3RtcGw9bWFya2Rvd24=) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86287
- Thank you received: 14264
-
-

8 years 5 months ago [\#292007](#292007) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Change the look of the page for every affiliate](/forum/39-affilation/894556-change-the-look-of-the-page-for-every-affiliate#292007 "-- HikaShop version -- : 3.4.0 -- Joomla version -- : 3.8.7 -- PHP version -- : 7  Hi,  I'm looking for an option to use (a sort of) affiliate where it's possible to change the look of the page when they come from an affiliate.  So when people come to the shop from affiliate link nr1 it uses template nr1 for the landing page of this affiliate.  Would this be possible with Hikashop or would this be possible for example with HikaMarket ?  Thanks in advance.")*

Hi,

I don't know all the features of chameleon. Maybe they have something in place to be able to do that easily.
So I would recommend to first check with them.
Otherwise, with a small system plugin, you could just get the partner_id parameter in the URL and store it $_SESSION and then, on each page, you would then get it from $_SESSION and set it back to the URL in $_GET and or $_REQUEST and then chameleon should be able to use it for its filters (to confirm with them). In that case, it would only require something like 10 lines of code in the plugin.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2FmZmlsYXRpb24vODk0NTU2LWNoYW5nZS10aGUtbG9vay1vZi10aGUtcGFnZS1mb3ItZXZlcnktYWZmaWxpYXRlP3RtcGw9bWFya2Rvd24=) 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.161 seconds

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

[](#top)
