URL Variant

  • Posts: 28
  • Thank you received: 0
10 years 2 weeks ago #210359

-- HikaShop version -- : 2.5.0
-- Joomla version -- : 3.4.3
-- PHP version -- : 5.4

hi
I have some problem with URL
for example

I set principal product alias - PRODUCT1
this product 1 have 3 colour and 3 size different

I set alias
product blue 33
product black 34
product red 34

I would like have this option to set.
when costumer set in front page diferent colour change URL
now my website change only picture.

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

  • Posts: 84233
  • Thank you received: 13673
  • MODERATOR
10 years 2 weeks ago #210372

Hi,

This product on our demo website has the URL:
demo.hikashop.com/index.php/en/hikashop/.../product/2-stilettos

So you can see the id 2 in the URL which is the id of the product.
If you replace it by 64 (which is the id of the variant green 4.5 of the product), you'll directly get that variant displayed when you click on the link:
demo.hikashop.com/index.php/en/hikashop/...product/64-stilettos
That could be added with custom code on the product page layout file by a developer.

So you can do the same with the product page links on your website.
There is however no mechanism to change the URL displayed in the address bar of the browser when you change the characteristic selection on the product page.

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

Time to create page: 0.052 seconds
Powered by Kunena Forum