From eac85bbdd8dd67412478e1c4385b8e349e26f861 Mon Sep 17 00:00:00 2001 From: Robin Morel Date: Wed, 24 Nov 2021 10:10:01 +0100 Subject: [PATCH] add weight in smarty plugin pse --- local/modules/TheliaSmarty/Template/Plugins/FrontAssets.php | 1 + 1 file changed, 1 insertion(+) diff --git a/local/modules/TheliaSmarty/Template/Plugins/FrontAssets.php b/local/modules/TheliaSmarty/Template/Plugins/FrontAssets.php index ef85414655..53444b81b3 100644 --- a/local/modules/TheliaSmarty/Template/Plugins/FrontAssets.php +++ b/local/modules/TheliaSmarty/Template/Plugins/FrontAssets.php @@ -205,6 +205,7 @@ public function psesByProduct($params) 'ref' => $pse->getRef(), 'ean' => $pse->getEanCode(), 'quantity' => $pse->getQuantity(), + 'weight' => $pse->getWeight(), 'price' => $pse->getTaxedPrice($taxCountry), 'untaxedPrice' => $pse->getPrice(), 'promoPrice' => $pse->getTaxedPromoPrice($taxCountry),