IES

Product Attribute Value formatting

There are 2 types of attribute values
  • Simple text that is used for simple attributes
  • Complex values that should be properly formatted and are used for complex attribute controls
In case of complex attribute/value the attribute value format looks like following:
{<key value>:<text label>}
<key value> - depending on attribute type this is Image name (including extension) OR class name in stylesheet used to display button.
<text label> - regular title displayed next to corresponding option
If value for complex attribute is just simple text (no special formatting provided) - this option would be displayed as regular text with default formatting for this type of attribute control.
For example, {CROM.jpg:Polished Chrome}: Polished Chrome option is represented by CROM.jpg image


© 2005-2024 Elite Fixtures.com. All Rights Reserved.