// product import multishop fix with category default
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@14330 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user