From ac2e3ed1729fa1f50ab435f5fddcbb641b6697ca Mon Sep 17 00:00:00 2001 From: zzuutt Date: Thu, 15 May 2014 09:09:54 +0200 Subject: [PATCH 1/2] Update module-tab-content.html Suppression des caracteres en trop x=" et " --- templates/backOffice/default/includes/module-tab-content.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/backOffice/default/includes/module-tab-content.html b/templates/backOffice/default/includes/module-tab-content.html index f5d11d0be..238a1859c 100644 --- a/templates/backOffice/default/includes/module-tab-content.html +++ b/templates/backOffice/default/includes/module-tab-content.html @@ -11,5 +11,5 @@ {else} - x="{$smarty.capture.module_include nofilter}" -{/if} \ No newline at end of file + {$smarty.capture.module_include nofilter} +{/if} From 482302e2b22ae790b36b00583596d015cbbe43b2 Mon Sep 17 00:00:00 2001 From: zzuutt Date: Sat, 17 May 2014 23:23:57 +0200 Subject: [PATCH 2/2] Ajout d'une variable de sortie a la boucle cart n'ayant pas trouve le moyen dans le cart de faire afficher la reference de la combinaison au lieu de la reference du produit, je demande si cela est possible de rajouter celle-ci. La variable '$PRODUCT_SALE_ELEMENTS_REF' Merci --- core/lib/Thelia/Core/Template/Loop/Cart.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/lib/Thelia/Core/Template/Loop/Cart.php b/core/lib/Thelia/Core/Template/Loop/Cart.php index d01cb3df0..4f635ddeb 100644 --- a/core/lib/Thelia/Core/Template/Loop/Cart.php +++ b/core/lib/Thelia/Core/Template/Loop/Cart.php @@ -102,7 +102,7 @@ class Cart extends BaseLoop implements ArraySearchLoopInterface ->set("PROMO_TAXED_PRICE", $cartItem->getTaxedPromoPrice($taxCountry)) ->set("IS_PROMO", $cartItem->getPromo() === 1 ? 1 : 0); $loopResultRow->set("PRODUCT_SALE_ELEMENTS_ID", $productSaleElement->getId()); - + $loopResultRow->set("PRODUCT_SALE_ELEMENTS_REF", $productSaleElement->getRef()); $loopResult->addRow($loopResultRow); }