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 @@
{loop type="auth" name="can_create" role="ADMIN" resources="admin.product" access="UPDATE"} - + {/loop} @@ -523,7 +523,7 @@ $(function() { $('.accessoryPositionChange').editable({ type : 'text', - title : '{intl l="Enter new accessory position"}', + title : "{intl l="Enter new accessory position"}", mode : 'popup', inputclass : 'input-mini', placement : 'left', @@ -541,7 +541,7 @@ $(function() { $('.contentPositionChange').editable({ type : 'text', - title : '{intl l="Enter new content position"}', + title : "{intl l="Enter new content position"}", mode : 'popup', inputclass : 'input-mini', placement : 'left',