SummaryStores prices in different currencies (inc/ex VAT). [Webshop]
|Name||Internal name||Searchable||Information collector|
This datatype allows the storage of prices in multiple currencies and thus makes it possible to connect content objects with the e-commerce subsystem. The e-commerce features of eZ Publish are described in the "Webshop" section of the "Concepts and basics" chapter and in the "Multi-currency" section of the "Features" chapter. The following screenshot shows the class attribute edit interface for this datatype.
Class attribute edit interface for the "Multi-price" datatype.
Parameters and usage
This is a special datatype which plugs more deeply into the system. Instances of any class containing the multi-price datatype will automatically be treated as products. This datatype works with VATs in the same way as the "Price" datatype. (Please note that price and multi-price datatypes are incompatible. A content class can only contain one price attribute or one multi-price attribute.)
It is possible to set one of the predefined currencies as "default currency" on the class level so that the system will create a custom price in this currency and auto prices in all other currencies when a new object is created. Note that a custom price can be always modified or removed for each individual product / object.
Object attribute edit interface
The following screenshot shows the object attribute edit interface for this datatype.
Object attribute edit interface for the "Multi-price" datatype.
Svitlana Shatokhina (04/05/2006 5:10 pm)
Svitlana Shatokhina (05/05/2006 3:07 pm)