Redicom Help Center

country

country.id

Version 1.0

Returns the value of the id field of the country.

{% for item in response.shop.available_countries %}
<li {% if item.id %} class="sel" {% endif %} >
<a href="#" lang='{{item.language.code}}' cid="{{item.id}}" >{{item.code}} / {{item.currency.code|raw}}</a></li>
{% endfor %}

Input

{{ response.country.id }}

Output

176

country.code

Version 1.0

Returns the value of the code field of the country.

<ul>
{% for item in response.shop.available_countries %}
<li>{{item .name}}/{{item .code}} </li>
{% endfor %}
<ul>

Input

{{ response.country.code }}

Output

PT

country.name

Version 1.0

Returns the value of the name field of the country.

<ul>
{% for item in response.shop.available_countries %}
<li>{{item .name}} </li>
{% endfor %}
<ul>

Input

{{ response.country.name }}

Output

Portugal Continental

country.currency

Version 1.0

Returns all of the line currency in the country.

country.language

Version 1.0

Returns all of the line language in the country.

country.phone_prefix

Version

Returns the value of the phone_prefix field of the country.

country.mask_zipcode

Version

Returns the value of the mask_zipcode field of the country.

country.mask_cp

Version

Returns the value of the mask_cp field of the country.