Separate templates for some attr types
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!
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
-
- Posts: 28
- Joined: 18 Nov 2016, 10:35
Separate templates for some attr types
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
Thanks
Simon
Re: Separate templates for some attr types
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
https://aimeos.org/docs/Configuration/C ... ibute/type
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star