Radio buttons for configurable option attribute types

Questions around the TYPO3 integration and plugins
Forum rules
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
denzen
Posts: 12
Joined: 24 Nov 2020, 16:31

Radio buttons for configurable option attribute types

Post by denzen » 14 Apr 2021, 08:16

Hi,
I can't change the render option to radio buttons for any attribute types in the detail section. These are configured as 'configurable options'.
Example:
works not:
plugin.tx_aimeos.settings.client.html.catalog.attribute.type.umfang = radio
works:
plugin.tx_aimeos.settings.client.html.catalog.attribute.type.umfang = input
I tried this too:
plugin.tx_aimeos.settings.client.html.catalog.detail.basket.attribute.type.umfang = radio

Any idea ?

Best Regards
Denis
----
AIMEOS 20.10.
FreeBSD
PHP 7.3.8
MySQL 5.7.27
TYPO3 10.4.2

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

Re: Radio buttons for configurable option attribute types

Post by aimeos » 16 Apr 2021, 15:10

At the moment, only input and select drop-downs are available for custom attributes in the shipped partial:
https://github.com/aimeos/ai-client-htm ... #L103-L145

For selection (variant) attributes, also radio buttons are available:
https://github.com/aimeos/ai-client-htm ... d.php#L119

We've streamlined that in dev-master already and it will be available in future versions. In the meantime, you can overwrite the common/partials/attribute-standard.php with your own, extended version.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply