Issues accesing a variant directly through URL

  • Posts: 368
  • Thank you received: 7
  • Hikashop Business
9 years 6 months ago #233075

-- HikaShop version -- : 2.6.1
-- Joomla version -- : 3.4.8

Hi,

If you visit the master product page e.g.:

index.php?option=com_hikashop&ctrl=product&task=show&cid=51&name=avalon-excel-48-wool-twist&Itemid=171

And select the different colour variants then the main image changes to the correct variant images (as it should).

However, if you access on of the variants directly e.g:

index.php?option=com_hikashop&ctrl=product&task=show&cid=80&name=avalon-excel-48-wool-twist&Itemid=171

Selecting different variant (colours) will not update the variants image etc.

Also, is there a way to make the select box colour option change when clicking the image thumbnail - this worked in redshop.

Many thanks.

Last edit: 9 years 6 months ago by grayt7.

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

  • Posts: 84307
  • Thank you received: 13701
  • MODERATOR
9 years 6 months ago #233083

Hi,

This seems to be a problem with the MagicZoomPlus system which apparently doesn't handle the case where a variant different than the default variant is preselected on the page using the cid.

Regarding your second question, this would require custom code to be added to the MagicZoomPlus system to trigger a modification of the value in the characteristics dropdown based on the thumbnail being clicked on.


Personally, I would handle that differently.
Instead of having all the images for all the variants with only the default image being different, I would have only the image corresponding to the variant in the variant. And I would change the characteristic selection method to "radio" instead of "dropdown" and modify the values of the characteristic to have an img tag of the thumbnails of the corresponding images.
That way, instead of having the thumbnails below the image, they would be in place of the characteristics dropdown, and when you select one, the main image would update.
That might also, in the process, circumvent the first problem.

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

Time to create page: 0.053 seconds
Powered by Kunena Forum