Comment est-ce que je peux emballer l'énoncé entier ci-dessous dans un état? Donc, si la variable $ uprice = 0 alors je ne veux pas afficher le code ci-dessousaide php conditionnelle
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item- >getWeeeTaxAppliedAmount()): ?>
<?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()+$_item->getWeeeTaxAppliedAmount()+$_item->getWeeeTaxDisposition()); ?>
<?php else: ?>
<?php echo $this->helper('checkout')->formatPrice($_item- >getCalculationPrice()) ?>
<?php endif; ?>
+1 ... vous bercez! : P – zaf
@zaf: Merci ................. – Sarfraz