// product import multishop fix with category default

This commit is contained in:
vChabot
2012-03-28 12:43:47 +00:00
parent fc3df92e22
commit 200e0bf4bf
3 changed files with 7 additions and 12 deletions
@@ -1161,6 +1161,7 @@ class AdminImportControllerCore extends AdminController
$shop = trim($shop);
if (!is_numeric($shop))
$shop = Shop::getIdByName($shop);
$product->updateCategoryDefault(new Shop($shop));
$shops[] = $shop;
}
$product->associateTo($shops);