// Norm
This commit is contained in:
+4
-4
@@ -2706,12 +2706,12 @@ class ProductCore extends ObjectModel
|
|||||||
* @param array $product Array with ordered product (quantity, id_product_attribute if applicable)
|
* @param array $product Array with ordered product (quantity, id_product_attribute if applicable)
|
||||||
* @return mixed Query result
|
* @return mixed Query result
|
||||||
*/
|
*/
|
||||||
public static function updateQuantity($product, $id_order = null)
|
public static function updateQuantity()
|
||||||
{
|
{
|
||||||
Tools::displayAsDeprecated();
|
Tools::displayAsDeprecated();
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @deprecated since 1.5.0
|
* @deprecated since 1.5.0
|
||||||
@@ -2723,12 +2723,12 @@ class ProductCore extends ObjectModel
|
|||||||
* @see StockAvailable if you want to manage available quantities for sale on your shop(s)
|
* @see StockAvailable if you want to manage available quantities for sale on your shop(s)
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public static function reinjectQuantities(&$orderDetail, $quantity, Context $context = null)
|
public static function reinjectQuantities()
|
||||||
{
|
{
|
||||||
Tools::displayAsDeprecated();
|
Tools::displayAsDeprecated();
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function isAvailableWhenOutOfStock($out_of_stock)
|
public static function isAvailableWhenOutOfStock($out_of_stock)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -510,10 +510,10 @@ class AdminShopControllerCore extends AdminController
|
|||||||
|
|
||||||
$this->errors = array_unique($this->errors);
|
$this->errors = array_unique($this->errors);
|
||||||
if (count($this->errors) > 0)
|
if (count($this->errors) > 0)
|
||||||
{
|
{
|
||||||
$this->display = 'add';
|
$this->display = 'add';
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// datas to import
|
// datas to import
|
||||||
$import_data = Tools::getValue('importData');
|
$import_data = Tools::getValue('importData');
|
||||||
|
|||||||
Reference in New Issue
Block a user