// optimization to Product constructor (stock data is not loaded by default)
This commit is contained in:
1 parent
21e4a2fb89
commit
93e2f8b5bf
5 files changed
+32
-6
No files matched your search
@@ -79,6 +79,7 @@ class AdminAttributeGeneratorControllerCore extends AdminController
|
||||
public function postProcess()
|
||||
{
|
||||
$this->product = new Product((int)Tools::getValue('id_product'));
|
||||
$this->product->loadStockData();
|
||||
|
||||
if (isset($_POST['generate']))
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user