Attributes / variants as radio

How to configure and adapt Aimeos based shops as developer
Forum rules
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
gilbertsoft
Posts: 28
Joined: 18 Nov 2016, 10:35

Attributes / variants as radio

Post by gilbertsoft » 09 Jan 2017, 17:21

Hi and a happy new year!

I got a strange behaviour with variant attributes configured as radio and icons in selections with 12*2 subproducts: for the last variant the link on the icon links to the image instead to the action updating the product as the others do. The selection has to variants, one with 12 items, the other with 2 items. I'm using FireFox, but Chrome has the same problem. Other browsers I didn't test 'till now. But seems not to be a browser problem.

Aimeos is the lastest version on Typo3.

HTML code for all attributes is the same, I also didn't find something in aimeos.js. The only restriction I have found for a max of 32 elements is not reached.

Here is the example page: http://zwergenfabrik.ch/detail/d/1909/Z ... einfach/7/

Thanks
Simon

User avatar
aimeos
Administrator
Posts: 7836
Joined: 01 Jan 1970, 00:00

Re: Attributes / variants as radio

Post by aimeos » 10 Jan 2017, 09:47

Happy new year too! :-)

The link doesn't come from any Javascript, so I guess it's in your template. Please check if there's an "<a></a>" tag in one of these templates:
- https://github.com/aimeos/ai-client-htm ... t.php#L107
- https://github.com/aimeos/ai-client-htm ... lt.php#L52

Maybe you've copied and modified one of them in your own extension?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

gilbertsoft
Posts: 28
Joined: 18 Nov 2016, 10:35

Re: Attributes / variants as radio

Post by gilbertsoft » 11 Jan 2017, 12:16

I found the problem: the file type of this image was not set!

Thx anyway

Post Reply