The image does not change when the Attribute is changed, v5.0.0Beta81.

Phoca Cart - complex e-commerce extension
Fotopar
Phoca Member
Phoca Member
Posts: 10
Joined: 12 Oct 2024, 14:10

The image does not change when the Attribute is changed, v5.0.0Beta81.

Post by Fotopar »

Hello. I noticed that the image changes when the Attribute is changed. I use com_phocacart_v5.0.0Beta81.

1. Created a product with the main image https://skr.sh/sSV6mEj4jEZ
2. Created two product variants and assigned each its own image, red https://skr.sh/sSV4yvcUSpE and black https://skr.sh/sSVsdMrxtiC.
3. When changing the color, the main image of the product remains https://skr.sh/sSV1N0vTGVc and https://skr.sh/sSV6e6RjSvS
4. At the same time, if you click on the image, the desired image opens.
Fotopar
Phoca Member
Phoca Member
Posts: 10
Joined: 12 Oct 2024, 14:10

Re: The image does not change when the Attribute is changed, v5.0.0Beta81.

Post by Fotopar »

I would like to add that everything works correctly in the list of products.
Red https://skr.sh/sSVUB9k7PvX
Black https://skr.sh/sSVEAo0ky1C
User avatar
Nidzo
Phoca Professional
Phoca Professional
Posts: 386
Joined: 07 Nov 2018, 14:55

Re: The image does not change when the Attribute is changed, v5.0.0Beta81.

Post by Nidzo »

What image popup method do you use? Try with Magnific.
Fotopar
Phoca Member
Phoca Member
Posts: 10
Joined: 12 Oct 2024, 14:10

Re: The image does not change when the Attribute is changed, v5.0.0Beta81.

Post by Fotopar »

Nidzo, hello. I tried Magnific, but the result is the same https://skr.sh/sSWdjBQKNby
User avatar
Nidzo
Phoca Professional
Phoca Professional
Posts: 386
Joined: 07 Nov 2018, 14:55

Re: The image does not change when the Attribute is changed, v5.0.0Beta81.

Post by Nidzo »

That is strange. I had similar problem with PhotoSwipe plugin but changing to Magnific solved it. :idea:
https://phoca.cz/forum/viewtopic.php?t=65643
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48386
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: The image does not change when the Attribute is changed, v5.0.0Beta81.

Post by Jan »

Hi, I am testing now and everything is OK for me, when click on color attribute, the image changes :idea:

Image
If you find Phoca extensions useful, please support the project
Fotopar
Phoca Member
Phoca Member
Posts: 10
Joined: 12 Oct 2024, 14:10

Re: The image does not change when the Attribute is changed, v5.0.0Beta81.

Post by Fotopar »

Jan, thank you.
Apparently some kind of extension is in conflict, I will look for the reason.
Post Reply