Product Characteristics Thumbnails

  • Posts: 15
  • Thank you received: 0
13 years 7 months ago #12946

Hi there

I'm loving HikaShop. It's the first shopping cart that actually feels usable!

I do have an issue with thumbnails appearing at the bottom of the page. It is only when I change the size or colour options that they appear.

skyecreative.net/joomla3/index.php/half-...s/category_pathway-0

Please help! I'm sure I'm missing something quite simple.

Thanks

Matt

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
13 years 7 months ago #12958

When you edited the file show of the view product, you extracted the div hikashop_small_image_div from the div hikashop_product_image_main

When you change a characteristic value, the content of the div hikashop_product_image_<ids_of_values> is copied to the div hikashop_product_image_main.
In your div hikashop_product_image_<ids_of_values>, you still have the small_image div corresponding to the main image of that variant. So when the copy occurs, you get the small images appearing below the main image.

That copy process is used so that you can display different images for different variants.

What you should do is to change the code:
if(!empty($variant->images)){

to:
if(false){

in the file show of the view product so that the variants images HTML code is not generated at all and that no images copy will occur when changing the values of characteristics, since apparently you don't want to set different images for different variants.

Last edit: 13 years 7 months ago by nicolas.

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

  • Posts: 15
  • Thank you received: 0
13 years 7 months ago #13131

Thank you Nicolas!

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

Time to create page: 0.052 seconds
Powered by Kunena Forum