Display Image based on Option / Characteristic Selected

  • Posts: 8
  • Thank you received: 1
8 years 2 months ago #265552

-- url of the page with the problem -- : www.fortressfirearmsmanufacturing.com/fo...oduct/10-diar-15-9mm
-- HikaShop version -- : 2.3.4
-- Joomla version -- : 3.6.0

I set this store up a couple years back and have been requested to make some changes. I'm not sure if the changes are possible. I've played around with the settings a little and have read some of the forums, but can't seem to find what I am looking for. If it exists, if you can link it for me, that would be great.

As you can see at this page, www.fortressfirearmsmanufacturing.com/fo...oduct/10-diar-15-9mm

I have a product setup with multiple options. Each option is then setup with a characteristic that has a different variant. Is it possible to change the image to show the option / characteristic / variant that is selected? When I initially set this up, I had set everything up as characteristics, but continued to crash the site. Any help would be appreciative. Thanks.

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

  • Posts: 83937
  • Thank you received: 13598
  • MODERATOR
8 years 2 months ago #265574

Hi,

You need to see which dropdown would change the image of the product and how many combinations does that generate.
If you have only 3 dropdowns with 5 values each, that's 5*5*5 = 125 variants for the page (each one with its different image), and that should be possible to replace these three options with three characteristics so that the image would change based on the selected variant, and leave the other options as they are.
But above 200/300 variants, that's too much and the page will likely crash.
In that case, an alternative would be to customize the product page with custom javascript to replace the main page when a dropdown is changed. A developer should be able to do that as a view override of the product page view file for you.

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

Time to create page: 0.046 seconds
Powered by Kunena Forum