Page 1 of 1

Radio buttons for configurable option attribute types

Posted: 14 Apr 2021, 08:16
by denzen
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

Re: Radio buttons for configurable option attribute types

Posted: 16 Apr 2021, 15:10
by aimeos
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.