DescriptionField — specify name of the "description" field in the Interchange database
By default, Interchange expects the product description to be in the description field in the products database. This directive allows modification of the default name.
The field is accessed implicitly when you call say,
[item-description] in ITL.
Example: Redefining DescriptionField
DescriptionField opis
"Opis", for example, is a croatian equivalent of "description".
Example: Setting DecriptionField depending on current locale
# Establish the default at startup DecriptionField description # Establish locale-specific description field Locale fr_FR DecriptionField desc_fr
To fully understand the example and implicitly presented Interchange features, make sure you're familiar with internationalization and locale glossary entries.
The existence of the field is not exactly crucial, but it's important for say, flypages.
It's also useful to set the directive value based on locale, allowing for locale-specific product descriptions.