Name

DescriptionField — specify name of the "description" field in the Interchange database

SYNOPSIS

field_name

DESCRIPTION

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.

DIRECTIVE TYPE AND DEFAULT VALUE

Catalog directive

EXAMPLES

Example: Redefining DescriptionField

DescriptionField dsc

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.


NOTES

It's useful to set this directive based on locale, allowing for locale-specific product descriptions.

AVAILABILITY

DescriptionField is available in Interchange versions:

4.6.0-5.9.0 (git-head)

SOURCE

Interchange 5.9.0:

Source: lib/Vend/Config.pm
Line 703

['DescriptionField', undef,              'description'],

AUTHORS

Interchange Development Group

SEE ALSO

description(7ic)

DocBook! Interchange!