Separate templates for some attr types

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

Separate templates for some attr types

Post by gilbertsoft » 01 Dec 2016, 12:29

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

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

Re: Separate templates for some attr types

Post by aimeos » 02 Dec 2016, 11:12

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
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply