Merge pull request #415 from zzuutt/master
Ajout d'une d'une variable en sortie dans la boucle cart
This commit is contained in:
@@ -102,7 +102,7 @@ class Cart extends BaseLoop implements ArraySearchLoopInterface
|
|||||||
->set("PROMO_TAXED_PRICE", $cartItem->getTaxedPromoPrice($taxCountry))
|
->set("PROMO_TAXED_PRICE", $cartItem->getTaxedPromoPrice($taxCountry))
|
||||||
->set("IS_PROMO", $cartItem->getPromo() === 1 ? 1 : 0);
|
->set("IS_PROMO", $cartItem->getPromo() === 1 ? 1 : 0);
|
||||||
$loopResultRow->set("PRODUCT_SALE_ELEMENTS_ID", $productSaleElement->getId());
|
$loopResultRow->set("PRODUCT_SALE_ELEMENTS_ID", $productSaleElement->getId());
|
||||||
|
$loopResultRow->set("PRODUCT_SALE_ELEMENTS_REF", $productSaleElement->getRef());
|
||||||
$loopResult->addRow($loopResultRow);
|
$loopResult->addRow($loopResultRow);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -11,5 +11,5 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
{else}
|
{else}
|
||||||
x="{$smarty.capture.module_include nofilter}"
|
{$smarty.capture.module_include nofilter}
|
||||||
{/if}
|
{/if}
|
||||||
Reference in New Issue
Block a user