Overlayed product images

  • Posts: 332
  • Thank you received: 6
10 years 6 months ago #191674

-- HikaShop version -- : 2.3.5
-- Joomla version -- : 3.3.6

It would be 'extremely' useful to have an option for a variant 'primary' image to select whether this would 'replace' the current image or be 'layered' on top of the current image, with 'replace' being the default to prevent having to reset this for most uses.

The purpose would be to have add the ability to create 'built a product' item.

This ability would help me to meet the needs of one of my clients who wants this ability. By using transparent PNG's, I could 'easily' meet this need but, as it stands now, I can't do it as a part of HikaShop but will have to go with some type of custom built system.

Any suggestions on how I can do this within HikaShop?

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

  • Posts: 84304
  • Thank you received: 13698
  • MODERATOR
10 years 6 months ago #191679

Hi,

Having the variants image display on top of the main image is not something you can easily do with the current system. It would basically require to recode the javascript handling the switch but also adapt the HTML/PHP so that it is possible.
A simpler solution is to apply the variants transparent images to the main image and use the modified image as the variant image.
That way, the whole image would change each time you would select another variant and it will already be with the modifications for the current variant. This method is however harder to manage. So if you need to have layers of images for the variants switching, I would recommend to hire a developer to custom build that in the files of the product view of HikaShop.

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

  • Posts: 332
  • Thank you received: 6
10 years 6 months ago #191854

Let's take an example. We have a blanket product that has variants of 9 colors, 16 textures, 4 sizes and 24 custom corners. If I create 4 different variant groups and select 'brown' as the color, 'fuzzy' as the texture, '32 inch' as the size and 'bear' as the custom corner, each variant has it's own image that I can assign to it. That would require 9x16x4x24 images for a total of 13,824 images instead of 9+16+4+24 which is a total of 43 different variants. I think you see the problem.

In this situation, I believe a custom solution is going to be the only 'real' option.

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

  • Posts: 84304
  • Thank you received: 13698
  • MODERATOR
10 years 6 months ago #191869

Indeed. A custom solution is the solution here.

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

Time to create page: 0.054 seconds
Powered by Kunena Forum