Commit cbac1e43d75bab950243acd1e1aa3b08c653d45d

Authored by Administrator
1 parent 9dcd66fc

big commti

Showing 1 changed file with 1 additions and 0 deletions   Show diff stats
common/modules/product/models/ProductVariant.php
... ... @@ -61,6 +61,7 @@ class ProductVariant extends \yii\db\ActiveRecord
61 61 return [
62 62 [['product_id', 'product_unit_id'], 'required'],
63 63 [['product_id', 'product_unit_id', 'product_variant_type_id','status'], 'integer'],
  64 + ['status', 'default', 'value' => 0],
64 65 [['price', 'price_old', 'stock'], 'number'],
65 66 [['name', 'sku'], 'string', 'max' => 255],
66 67 [['remote_id'], 'string', 'max' => 20],
... ...