Date de publication: le lundi 6 août 2007 à 10h37
Dernière modification: par Pascal BOYER le jeudi 24 février 2011 à 00h52
Summary / Résumé
Allows an option selection. [Webshop]
Permet de créer des options (datatype spécifique au système d'e-commerce).
Properties / Propriétés
|
Name Name |
Internal name Nom interne |
Searchable Interrogeable |
Information collector Collecteur d'information |
|---|---|---|---|
| Option | ezoption | No / Non | Yes / Oui |
Description
This datatype makes it possible to create a single group of options for each content object. Each option can be assigned a short text and an additional price. For example, it can be used to sell T-shirts in different colors where the price is different for some (or all) colors. The following screenshot shows the class attribute edit interface for this datatype.
Ce datatype permet de créer une option unique pour chaque objet de contenu. Il est possible d'assigner à chaque option un court texte (descriptif) et un prix supplémentaire. Ce datatype peut être utiliser, par exemple, pour vendre des T-shirts de différentes couleurs et dont les prix varient en fonction de certaines (ou de toutes) les couleur. La capture d'écran ci-dessous montre l'interface d'édition des attributs de classe dans le cas de ce datatype:
Class attribute edit interface for the "Option" datatype.
Interface d'édition des attributs de classe dans le cas du datatype Option
The "Default name" parameter can be used to specify a name which will be used (as the name for the option) every time a new object is created.
Le paramètre Nom par défaut est utilisé pour spécifier un nom qui sera utiliser (en tant que nom de l'option) chaque fois qu'un nouvel objet est créé.
Object attribute edit interface / Interface d'édition des attributs d'objet
The following screenshot shows the object attribute edit interface for this datatype.
La capture d'écran ci-dessous montre l'interface d'édition des attributs d'objet dans le cas de ce datatype:
Object attribute edit interface for the "Option" datatype.
Interface d'édition des attributs d'objet dans le cas du datatype Option
Raw output / Sortie brute
The ".content" of an ezcontentobjectattribute object using this datatype returns an ezoption object.
La partie .content de l'objet
ezcontentobjectattribute
utilisant ce datatype renvoie un objet
ezoption
.














