[-] Core: Fix PSCFV-2109 specific prices when updating product
This commit is contained in:
1 parent
c7df242539
commit
70fc1fdf4e
7 files changed
+62
-19
No files matched your search
@@ -52,7 +52,7 @@ class SpecificPriceRuleCore extends ObjectModel
|
||||
'id_currency' => array('type' => self::TYPE_INT, 'required' => true),
|
||||
'id_group' => array('type' => self::TYPE_INT, 'validate' => 'isUnsignedId', 'required' => true),
|
||||
'from_quantity' => array('type' => self::TYPE_INT, 'validate' => 'isUnsignedInt', 'required' => true),
|
||||
'price' => array('type' => self::TYPE_FLOAT, 'validate' => 'isPrice', 'required' => true),
|
||||
'price' => array('type' => self::TYPE_FLOAT, 'validate' => 'isNegativePrice', 'required' => true),
|
||||
'reduction' => array('type' => self::TYPE_FLOAT, 'validate' => 'isPrice', 'required' => true),
|
||||
'reduction_type' => array('type' => self::TYPE_STRING, 'validate' => 'isReductionType', 'required' => true),
|
||||
'from' => array('type' => self::TYPE_DATE, 'validate' => 'isDateFormat', 'required' => false),
|
||||
|
||||
Reference in new issue
Block a user