[-] BO : Can not set PS_ORDER_OUT_OF_STOCK in one shop
This commit is contained in:
1 parent
103513bf28
commit
dcb46e7867
1 file changed
+1
-1
@@ -223,7 +223,7 @@ class AdminPPreferencesControllerCore extends AdminController
|
|||||||
|
|
||||||
public function beforeUpdateOptions()
|
public function beforeUpdateOptions()
|
||||||
{
|
{
|
||||||
if (!Tools::getValue('PS_STOCK_MANAGEMENT'))
|
if (!Tools::getValue('PS_STOCK_MANAGEMENT', true))
|
||||||
{
|
{
|
||||||
$_POST['PS_ORDER_OUT_OF_STOCK'] = 1;
|
$_POST['PS_ORDER_OUT_OF_STOCK'] = 1;
|
||||||
$_POST['PS_DISPLAY_QTIES'] = 0;
|
$_POST['PS_DISPLAY_QTIES'] = 0;
|
||||||
|
|||||||
Reference in new issue
Block a user