Page 1 of 1

Separate templates for some attr types

Posted: 01 Dec 2016, 12:29
by gilbertsoft
Is it possible to define a new template for some attribute types? I'm talking about the setting client/html/catalog/detail/basket/attribute/standard/template-body. I tried to replace "standard" by the name of the attribute but with no success. On a quick view at the sources I coudn't find something doing this...

Thanks
Simon

Re: Separate templates for some attr types

Posted: 02 Dec 2016, 11:12
by aimeos
This template handles all optional attributes. You can replace it with your own template where you decide by the attribute type which HTML it will output. By default, you can already chose between a select box and a list of radio buttons per type:
https://aimeos.org/docs/Configuration/C ... ibute/type