prestashop 1.7 smarty vars code example
Example 1: prestashop 1.7 smarty global variables
{$currency.name} Name of the currency in use (Euro, American Dollar, etc.){$currency.iso_code} Currency ISO code of the currency in use (Eur, USD, etc.){$currency.sign} Symbol of the currency in use (€, $, etc.) {$currency.iso_code_num} ISO code number of the currency in use (978 for Euro, 840 for American Dollar, etc.)
Example 2: prestashop 1.7 smarty global variables
{$language.name} Name of the language in use (example: English) {$language.iso_code} ISO code of the language in use (it for Italian, fr for French, etc.){$language.language_code} Code of the language in use (it for Italian, en-us for American English, etc.){$language.is_rtl} (1 when language is written from right to left; 0 if from left to right) {$language.id} ID value of the language in use