diff --git a/core/lib/Thelia/Core/Template/Loop/Accessory.php b/core/lib/Thelia/Core/Template/Loop/Accessory.php index 8a7a80e27..de08f1f5b 100755 --- a/core/lib/Thelia/Core/Template/Loop/Accessory.php +++ b/core/lib/Thelia/Core/Template/Loop/Accessory.php @@ -123,10 +123,11 @@ class Accessory extends Product foreach ($results as $loopResultRow) { $accessoryProductId = $loopResultRow->get('ID'); - + \Thelia\Log\Tlog::getInstance()->notice($this->accessoryId); $loopResultRow ->set("ID" , $this->accessoryId[$accessoryProductId]) ->set("POSITION", $this->accessoryPosition[$accessoryProductId]) + ->set("ACCESSORY_ID", $accessoryProductId) ; } diff --git a/templates/backOffice/default/ajax/product-related-tab.html b/templates/backOffice/default/ajax/product-related-tab.html index 3e9474007..edaa101a9 100755 --- a/templates/backOffice/default/ajax/product-related-tab.html +++ b/templates/backOffice/default/ajax/product-related-tab.html @@ -226,7 +226,7 @@