PriceField — specify name of the "price" field in the Interchange database
By default, Interchange expects item price to be in the price field in the database. This directive allows modification of the default name.
The field is accessed implicitly when you call say,
[item-price] in ITL.
Example: Redefining PriceField
PriceField cijena
"Cijena", for example, is a croatian equivalent of "price".
Example: Setting PriceField depending on current locale
# Establish the default at startup PriceField price # Establish locale-specific price field Locale fr_FR PriceField prix
Just by the way, if PriceBreaks is enabled, the
prix field from the
pricing database will be used to develop quantity-based
pricing.
To fully understand the example and implicitly presented Interchange features, make sure you're familiar with internationalization and locale glossary entries.