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

#   Product ID in variants

##

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

Less More

- Posts: 150
- Thank you received: 11
-
-

6 years 11 months ago [\#313239](#313239) by [Giscard](/forum/user/56241-giscard "View Giscard's Profile")  *[Product ID in variants](/forum/26-product-category-display/898703-product-id-in-variants#313239 "Hello,  When I pick a different colour/variant from the dropdown menu, the product ID at link doesnt change, even that there are different IDs in each variant.  Is there a way to change the product's ID at link, based on selection?  Link included.  Thank you in advance.")* was created by *[Giscard](/forum/user/56241-giscard "View Giscard's Profile")*

Hello,

When I pick a different colour/variant from the dropdown menu, the product ID at link doesnt change, even that there are different IDs in each variant.

Is there a way to change the product's ID at link, based on selection?

Link included.

Thank you in advance.

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

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

Less More

- Posts: 4820
- Thank you received: 652
-
-

6 years 11 months ago -  6 years 11 months ago [\#313252](#313252) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[Product ID in variants](/forum/26-product-category-display/898703-product-id-in-variants#313252 "Hello,  When I pick a different colour/variant from the dropdown menu, the product ID at link doesnt change, even that there are different IDs in each variant.  Is there a way to change the product's ID at link, based on selection?  Link included.  Thank you in advance.")*

Hello,

If we answer you directly to your request, we can only say that this will required **some custom code** to fill your request.
But maybe, we can offer you another solutions but for this, we have to know what is your goal ?
If you details your goal, with a concrete example (step by step) maybe we can have for you an intermediate or a parallel solution to get what you need.

Awaiting more element from you to progress on your subject.
Regards

Last edit: 6 years 11 months ago by [Philip](/forum/user/34318-philip "View Philip's Profile").

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

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

Less More

- Posts: 150
- Thank you received: 11
-
-

6 years 11 months ago [\#313289](#313289) by [Giscard](/forum/user/56241-giscard "View Giscard's Profile")  Replied by *[Giscard](/forum/user/56241-giscard "View Giscard's Profile")* on topic *[Product ID in variants](/forum/26-product-category-display/898703-product-id-in-variants#313289 "Hello,  When I pick a different colour/variant from the dropdown menu, the product ID at link doesnt change, even that there are different IDs in each variant.  Is there a way to change the product's ID at link, based on selection?  Link included.  Thank you in advance.")*

Hello,

I need it for a price comparison site. For example the product that I sent you will be dispayed with other same prodcuts. If the costumer click on the red colour and buy it from my page after the redirect, I would like the red's varation ID to be dispayed on the link, because that ID is be sending in a xml live feed which is being read by the company above, to track the order. The simple way is to re-create these products one-by-one, without variants but I would like to ask you first if there is some other way to do this.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84OTg3MDMtcHJvZHVjdC1pZC1pbi12YXJpYW50cz90bXBsPW1hcmtkb3du) 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: 86560
- Thank you received: 14306
-
-

6 years 11 months ago [\#313297](#313297) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Product ID in variants](/forum/26-product-category-display/898703-product-id-in-variants#313297 "Hello,  When I pick a different colour/variant from the dropdown menu, the product ID at link doesnt change, even that there are different IDs in each variant.  Is there a way to change the product's ID at link, based on selection?  Link included.  Thank you in advance.")*

Hi,

There sure is. As Philippe said, with a bit of custom coding you could update the id in the URL of the product details page based on the selected variant. A developer should be able to do that for you for one or two hundred euros I suppose.

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

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

Less More

- Posts: 150
- Thank you received: 11
-
-

6 years 11 months ago -  6 years 11 months ago [\#313319](#313319) by [Giscard](/forum/user/56241-giscard "View Giscard's Profile")  Replied by *[Giscard](/forum/user/56241-giscard "View Giscard's Profile")* on topic *[Product ID in variants](/forum/26-product-category-display/898703-product-id-in-variants#313319 "Hello,  When I pick a different colour/variant from the dropdown menu, the product ID at link doesnt change, even that there are different IDs in each variant.  Is there a way to change the product's ID at link, based on selection?  Link included.  Thank you in advance.")*

Hello,

Well.. I suppose that I would pick the solution: "re-created the prodcuts again". :![:P](/media/kunena/emoticons/14.png ":P"):

Thank you for your information nicolas and Philippe .

Last edit: 6 years 11 months ago by [Giscard](/forum/user/56241-giscard "View Giscard's Profile").

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

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

Less More

- Posts: 200
- Thank you received: 75
-
-

6 years 11 months ago -  6 years 11 months ago [\#313322](#313322) by [GW](/forum/user/33851-gw "View GW's Profile")  Replied by *[GW](/forum/user/33851-gw "View GW's Profile")* on topic *[Product ID in variants](/forum/26-product-category-display/898703-product-id-in-variants#313322 "Hello,  When I pick a different colour/variant from the dropdown menu, the product ID at link doesnt change, even that there are different IDs in each variant.  Is there a way to change the product's ID at link, based on selection?  Link included.  Thank you in advance.")*

Hi,

your initial question is indeed slightly difficult to accomplish, but from your second message I understand you just require a unique link directly to each variant, which is possible and quite easy.
See also this thread where we inquired about this several years ago: [ www.hikashop.com/forum/product-category-...ls-for-variants.html](https://www.hikashop.com/forum/product-category-display/884429-is-it-possible-to-have-different-urls-for-variants.html)

It is slightly time consuming since you would manually need to check and add the ID of each variant, but this does give you a unique link for every variant including the variant ID which you can use on your price comparison site and which can then be sent to your xml live feed if a customer clicks a link.
So that might perhaps be an option for you to consider.

Hope that helps.

Last edit: 6 years 11 months ago by [GW](/forum/user/33851-gw "View GW's Profile").

The following user(s) said Thank You: [nicolas](/forum/user/63-nicolas "View nicolas's Profile"), [Giscard](/forum/user/56241-giscard "View Giscard's Profile")

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

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

Less More

- Posts: 150
- Thank you received: 11
-
-

6 years 11 months ago [\#313414](#313414) by [Giscard](/forum/user/56241-giscard "View Giscard's Profile")  Replied by *[Giscard](/forum/user/56241-giscard "View Giscard's Profile")* on topic *[Product ID in variants](/forum/26-product-category-display/898703-product-id-in-variants#313414 "Hello,  When I pick a different colour/variant from the dropdown menu, the product ID at link doesnt change, even that there are different IDs in each variant.  Is there a way to change the product's ID at link, based on selection?  Link included.  Thank you in advance.")*

Hello,

Thank you for the advice. I read the thread that you sent.
It looks helpful but I have many products that have variation...

Anyways, thank you again for your help @GW.

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

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