fix associations tab in product modification page
This commit is contained in:
@@ -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)
|
||||
;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user