Saltar al contenido

variables globales ejemplo de código prestashop 1.7

Esta es el arreglo más correcta que encomtrarás compartir, pero primero obsérvala detenidamente y valora si es compatible a tu proyecto.

Ejemplo 1: variables globales smarty de prestashop 1.7

$cart.totals.total.amountThe total amount of the cart without currency (ex:45,00)$cart.totals.total.value The total amount of the cart with currency (ex:45,00)$cart.totals.total_including_tax.amount The total amount of the cart, including taxes, without currency (ex:45,00)$cart.totals.total_including_tax.value The total amount of the cart, including taxes, with currency (ex:45,00)$cart.totals.total_excluding_tax.amount The total amount of the cart, excluding taxes, without currency (esempio:35,70)$cart.totals.total_excluding_tax.value The total amount of the cart, excluding taxes, with currency (esempio:35,70)$cart.products_count Number of products in the cart$cart.subtotals.products.amount The amount of products in the cart without currency$cart.subtotals.products.value The amount of products in the cart withcurrency$cart.subtotals.shipping.amount The amount of shipping in the cart without currency$cart.subtotals.shipping.value The amount of shipping in the cart with currency

Ejemplo 2: variables globales smarty de prestashop 1.7

$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_numISO code number of the currency in use(978for Euro,840for American Dollar, etc.)

Reseñas y valoraciones del post

Si conservas algún atasco y disposición de avanzar nuestro post te recomendamos realizar una disquisición y con deseo lo analizaremos.

¡Haz clic para puntuar esta entrada!
(Votos: 0 Promedio: 0)



Utiliza Nuestro Buscador

Deja una respuesta

Tu dirección de correo electrónico no será publicada. Los campos obligatorios están marcados con *