[Skip to main content](#vessel-content)

#   Variant image keeps showing

##

- **[luiscorreia](/forum/user/8348-luiscorreia "View luiscorreia's Profile")**
- [![luiscorreia's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/8348-luiscorreia "View luiscorreia's Profile") Topic Author
- [ Offline](/forum/user/8348-luiscorreia)

Less More

- Posts: 5
- Thank you received: 0
-
-

14 years 2 months ago [\#61395](#61395) by [luiscorreia](/forum/user/8348-luiscorreia "View luiscorreia's Profile")  *[Variant image keeps showing](/forum/3-bug-report/61395-variant-image-keeps-showing#61395 "Hi,  I'm facing a problem with product variants at frontpage, I've defined 10 variants for a single product, associating a different image to one of them (variant A), now, when I go to the product page and select that specific variant, its unique image appears, and thats fine, the problem occurs when I choose another variant (Variant B, C, D, ...) in the dropdown menu, the image of variant A keeps showing despite the selection that is made.  This problem doesn´t happen with information included in the description field of a unique variant, everything works fine with this feature, with all the displayed information changing depending on dropdown menu selections.  I sincerely don't know if this is a bug or if I'm doing something wrong... :blink:  Any clue on this one? Thanks")* was created by *[luiscorreia](/forum/user/8348-luiscorreia "View luiscorreia's Profile")*

Hi,

I'm facing a problem with product variants at frontpage, I've defined 10 variants for a single product, associating a different image to one of them (variant A), now, when I go to the product page and select that specific variant, its unique image appears, and thats fine, the problem occurs when I choose another variant (Variant B, C, D, ...) in the dropdown menu, the image of variant A keeps showing despite the selection that is made.

This problem doesn´t happen with information included in the description field of a unique variant, everything works fine with this feature, with all the displayed information changing depending on dropdown menu selections.

I sincerely don't know if this is a bug or if I'm doing something wrong... :blink:

Any clue on this one?
Thanks

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC82MTM5NS12YXJpYW50LWltYWdlLWtlZXBzLXNob3dpbmc/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86316
- Thank you received: 14276
-
-

14 years 2 months ago [\#61481](#61481) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Variant image keeps showing](/forum/3-bug-report/61395-variant-image-keeps-showing#61481 "Hi,  I'm facing a problem with product variants at frontpage, I've defined 10 variants for a single product, associating a different image to one of them (variant A), now, when I go to the product page and select that specific variant, its unique image appears, and thats fine, the problem occurs when I choose another variant (Variant B, C, D, ...) in the dropdown menu, the image of variant A keeps showing despite the selection that is made.  This problem doesn´t happen with information included in the description field of a unique variant, everything works fine with this feature, with all the displayed information changing depending on dropdown menu selections.  I sincerely don't know if this is a bug or if I'm doing something wrong... :blink:  Any clue on this one? Thanks")*

Hi,

That's indeed a bug in the latest version of HikaShop.
Please replace the file components/com_hikashop/views/product/tmpl/show.php with the one in the archive below and it will fix the problem.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC82MTM5NS12YXJpYW50LWltYWdlLWtlZXBzLXNob3dpbmc/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[luiscorreia](/forum/user/8348-luiscorreia "View luiscorreia's Profile")**
- [![luiscorreia's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/8348-luiscorreia "View luiscorreia's Profile") Topic Author
- [ Offline](/forum/user/8348-luiscorreia)

Less More

- Posts: 5
- Thank you received: 0
-
-

14 years 2 months ago [\#61557](#61557) by [luiscorreia](/forum/user/8348-luiscorreia "View luiscorreia's Profile")  Replied by *[luiscorreia](/forum/user/8348-luiscorreia "View luiscorreia's Profile")* on topic *[Re: Variant image keeps showing](/forum/3-bug-report/61395-variant-image-keeps-showing#61557 "Hi,  I'm facing a problem with product variants at frontpage, I've defined 10 variants for a single product, associating a different image to one of them (variant A), now, when I go to the product page and select that specific variant, its unique image appears, and thats fine, the problem occurs when I choose another variant (Variant B, C, D, ...) in the dropdown menu, the image of variant A keeps showing despite the selection that is made.  This problem doesn´t happen with information included in the description field of a unique variant, everything works fine with this feature, with all the displayed information changing depending on dropdown menu selections.  I sincerely don't know if this is a bug or if I'm doing something wrong... :blink:  Any clue on this one? Thanks")*

Hi Nicolas,

I've changed the file like you said, but now only the image attributed to main product appears, even when I make the selection relative to variant A, and below I always get 8 images, it seem's that its one for each variant, 7 identical plus the one belonging to variant A.

Regards

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC82MTM5NS12YXJpYW50LWltYWdlLWtlZXBzLXNob3dpbmc/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86316
- Thank you received: 14276
-
-

14 years 2 months ago [\#61629](#61629) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Variant image keeps showing](/forum/3-bug-report/61395-variant-image-keeps-showing#61629 "Hi,  I'm facing a problem with product variants at frontpage, I've defined 10 variants for a single product, associating a different image to one of them (variant A), now, when I go to the product page and select that specific variant, its unique image appears, and thats fine, the problem occurs when I choose another variant (Variant B, C, D, ...) in the dropdown menu, the image of variant A keeps showing despite the selection that is made.  This problem doesn´t happen with information included in the description field of a unique variant, everything works fine with this feature, with all the displayed information changing depending on dropdown menu selections.  I sincerely don't know if this is a bug or if I'm doing something wrong... :blink:  Any clue on this one? Thanks")*

Please try that modification instead:
[ www.hikashop.com/en/forum/3-bug-report/6...teristics.html#61554](http://www.hikashop.com/en/forum/3-bug-report/61554-main-description-dispapears-with-characteristics.html#61554)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC82MTM5NS12YXJpYW50LWltYWdlLWtlZXBzLXNob3dpbmc/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[luiscorreia](/forum/user/8348-luiscorreia "View luiscorreia's Profile")**
- [![luiscorreia's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/8348-luiscorreia "View luiscorreia's Profile") Topic Author
- [ Offline](/forum/user/8348-luiscorreia)

Less More

- Posts: 5
- Thank you received: 0
-
-

14 years 2 months ago [\#61666](#61666) by [luiscorreia](/forum/user/8348-luiscorreia "View luiscorreia's Profile")  Replied by *[luiscorreia](/forum/user/8348-luiscorreia "View luiscorreia's Profile")* on topic *[Re: Variant image keeps showing](/forum/3-bug-report/61395-variant-image-keeps-showing#61666 "Hi,  I'm facing a problem with product variants at frontpage, I've defined 10 variants for a single product, associating a different image to one of them (variant A), now, when I go to the product page and select that specific variant, its unique image appears, and thats fine, the problem occurs when I choose another variant (Variant B, C, D, ...) in the dropdown menu, the image of variant A keeps showing despite the selection that is made.  This problem doesn´t happen with information included in the description field of a unique variant, everything works fine with this feature, with all the displayed information changing depending on dropdown menu selections.  I sincerely don't know if this is a bug or if I'm doing something wrong... :blink:  Any clue on this one? Thanks")*

Hi Nicolas,

Replaced the file for the one you've sugested, but the problem maintains ![:(](/media/kunena/emoticons/5.png ":(")
only the image attributed to main product appears, even making the selections relative to variant A, and below are always shown 8 images, one for each variant, 7 identical (main product image, since I have no image defined for this ones) plus the one belonging to variant A (the only one with a specific image).

Regards

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC82MTM5NS12YXJpYW50LWltYWdlLWtlZXBzLXNob3dpbmc/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86316
- Thank you received: 14276
-
-

14 years 2 months ago [\#61786](#61786) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Variant image keeps showing](/forum/3-bug-report/61395-variant-image-keeps-showing#61786 "Hi,  I'm facing a problem with product variants at frontpage, I've defined 10 variants for a single product, associating a different image to one of them (variant A), now, when I go to the product page and select that specific variant, its unique image appears, and thats fine, the problem occurs when I choose another variant (Variant B, C, D, ...) in the dropdown menu, the image of variant A keeps showing despite the selection that is made.  This problem doesn´t happen with information included in the description field of a unique variant, everything works fine with this feature, with all the displayed information changing depending on dropdown menu selections.  I sincerely don't know if this is a bug or if I'm doing something wrong... :blink:  Any clue on this one? Thanks")*

The file proposed by eliot in the link I gave you definitely fixes the problem. We were able to reproduce your issue on our end, and with the modifications of that file, the issue was solved.
So either you didn't do the modification properly (for example, if you didn't unzip the file before uploading it to the folder), or you had edited the "show" file of the view "product" via the menu Display-&gt;views before and thus your override takes on the default file so it would explain why you don't see the modifications in the default file. In that case you should also upload the show.php file in the folder templates/YOUR_TEMPLATE/html/com_hikashop/product/

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC82MTM5NS12YXJpYW50LWltYWdlLWtlZXBzLXNob3dpbmc/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[luiscorreia](/forum/user/8348-luiscorreia "View luiscorreia's Profile")**
- [![luiscorreia's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/8348-luiscorreia "View luiscorreia's Profile") Topic Author
- [ Offline](/forum/user/8348-luiscorreia)

Less More

- Posts: 5
- Thank you received: 0
-
-

14 years 2 months ago [\#61810](#61810) by [luiscorreia](/forum/user/8348-luiscorreia "View luiscorreia's Profile")  Replied by *[luiscorreia](/forum/user/8348-luiscorreia "View luiscorreia's Profile")* on topic *[Re: Variant image keeps showing](/forum/3-bug-report/61395-variant-image-keeps-showing#61810 "Hi,  I'm facing a problem with product variants at frontpage, I've defined 10 variants for a single product, associating a different image to one of them (variant A), now, when I go to the product page and select that specific variant, its unique image appears, and thats fine, the problem occurs when I choose another variant (Variant B, C, D, ...) in the dropdown menu, the image of variant A keeps showing despite the selection that is made.  This problem doesn´t happen with information included in the description field of a unique variant, everything works fine with this feature, with all the displayed information changing depending on dropdown menu selections.  I sincerely don't know if this is a bug or if I'm doing something wrong... :blink:  Any clue on this one? Thanks")*

Hi,

I've always unzipped the folder, and uploaded the file "show.php", and didn't edited the file of the view product, since I don't have any php knowledge. Even tough, I gave a look to the folder templates/MY_TEMPLATE/html, and I don´t have any subfolder related with Hikashop.
I have installed my present template having Hikashop already installed, is it relevant?

If you want I can give you access to my cms and you can take a peek...

Thank you for being so helpfull

Regards

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC82MTM5NS12YXJpYW50LWltYWdlLWtlZXBzLXNob3dpbmc/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86316
- Thank you received: 14276
-
-

14 years 2 months ago [\#61942](#61942) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Variant image keeps showing](/forum/3-bug-report/61395-variant-image-keeps-showing#61942 "Hi,  I'm facing a problem with product variants at frontpage, I've defined 10 variants for a single product, associating a different image to one of them (variant A), now, when I go to the product page and select that specific variant, its unique image appears, and thats fine, the problem occurs when I choose another variant (Variant B, C, D, ...) in the dropdown menu, the image of variant A keeps showing despite the selection that is made.  This problem doesn´t happen with information included in the description field of a unique variant, everything works fine with this feature, with all the displayed information changing depending on dropdown menu selections.  I sincerely don't know if this is a bug or if I'm doing something wrong... :blink:  Any clue on this one? Thanks")*

Yes, if you could give a back end access via our contact form (specify the URL of this thread for reference) we could have a look.
[ www.hikashop.com/en/contact-us.html](http://www.hikashop.com/en/contact-us.html)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC82MTM5NS12YXJpYW50LWltYWdlLWtlZXBzLXNob3dpbmc/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Eliot](/forum/user/1824-eliot "View Eliot's Profile")**
- [![Eliot's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar1824.png)](/forum/user/1824-eliot "View Eliot's Profile")
- [ Offline](/forum/user/1824-eliot)

Less More

- Posts: 2334
- Thank you received: 403
-
-

14 years 2 months ago [\#62361](#62361) by [Eliot](/forum/user/1824-eliot "View Eliot's Profile")  Replied by *[Eliot](/forum/user/1824-eliot "View Eliot's Profile")* on topic *[Re: Variant image keeps showing](/forum/3-bug-report/61395-variant-image-keeps-showing#62361 "Hi,  I'm facing a problem with product variants at frontpage, I've defined 10 variants for a single product, associating a different image to one of them (variant A), now, when I go to the product page and select that specific variant, its unique image appears, and thats fine, the problem occurs when I choose another variant (Variant B, C, D, ...) in the dropdown menu, the image of variant A keeps showing despite the selection that is made.  This problem doesn´t happen with information included in the description field of a unique variant, everything works fine with this feature, with all the displayed information changing depending on dropdown menu selections.  I sincerely don't know if this is a bug or if I'm doing something wrong... :blink:  Any clue on this one? Thanks")*

It seems your show_block_img.php wasn't update. I uploaded the last version and it's working fine.
If anyone is experiencing the same trouble, here is the file:

####  Attachment not found

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC82MTM5NS12YXJpYW50LWltYWdlLWtlZXBzLXNob3dpbmc/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop- Install &amp; Update- Product &amp; Category Display- Content Creation- Sales and Orders- - Orders management- - Reports &amp; Statistics- Customers- Checkout- Payment Methods- Shipping Methods- Import &amp; Export (CSV, XLS…)- Specific Features- - Affilation- - Taxes- - Wishlist- - Vote- - Carousel &amp; Slider- - Mass Actions- - Filters &amp; Search- - Discount &amp; Coupon- - Feature Request- Integrations- Showcase- General Talk about HikaShop- Development- - HikaShop 3.0 Beta- Translation- Commercial Jobs HikaShop Components- HikaMarket- - Market: Feature requests- - Market: How to?- - Market: Bug Report- HikaSerial- - General talk about HikaSerial- - Serial: Bug Report- - Serial: How to?- - Support en Français de HikaSerial (French Support)- - HikaSubscription- HikaAuction- - Auction: Feature requests- - Auction: How to?- - Auction: Bug report Hikashop around the world- Support en Français (French Support)- Russian- - FAQ. Курс выживания с Hikashop. Частые вопросы и о- - Расширения Hikashop- - Наши сайты на Hikashop- 日本語版サポート(Japanese Support)- Thai- German Archives- Bug Report- How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.153 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)

[](#top)
