// 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:
1 parent
c26a57e977
commit
6d3cb5ee76
3 files changed
+7
-12
No files matched your search
@@ -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