Caution: This documentation is for eZ Publish legacy, from version 3.x to 6.x.
For 5.x documentation covering Platform see eZ Documentation Center, for difference between legacy and Platform see 5.x Architecture overview.

Country

Summary

Stores a user country. [Webshop]

Properties

NameInternal nameSearchableInformation collector
Country ezcountry Yes. Yes.

Description

This datatype allows the storage of a user country and thus makes it possible to charge the value added taxes depending on the country the customer is from. This functionality is described in the "VAT charging system" section of the "Features" chapter. The following screenshot shows the class attribute edit interface for this datatype.

Class attribute edit interface for the "Country" datatype.

Class attribute edit interface for the "Country" datatype.

Object attribute edit interface

The following screenshot shows the object attribute edit interface for this datatype.

Object attribute edit interface for the "Country" datatype.

Object attribute edit interface for the "Country" datatype.

Raw output

The ".content" of an ezcontentobjectattribute object using this datatype returns a hash that consists of the following elements:

Key

Type

Description

value

string

The actual name of the country (for example "Norway").

Svitlana Shatokhina (11/05/2006 10:41 am)

Jérôme Vieilledent (23/01/2013 2:09 pm)

Svitlana Shatokhina, Jérôme Vieilledent


Comments

  • how to display the value of an attribute having this datatype

    hello,
    i want to know how to displayed the value of an attribute having this datatype? not by using perhaps
    {attribute_view_gui attribute =$node.data_map.pays}
    

    if this attribute named pays?
  • display the datatype value

    Both {$node.data_map.country.content.value} returns blank.