Commit 17104392768cc9a3cbca7ff34bb6a80b1d9aaa1f
1 parent
175d0da0
stocks in variant
Showing
1 changed file
with
2 additions
and
1 deletions
Show diff stats
models/VariantToShop.php
| ... | ... | @@ -89,7 +89,7 @@ |
| 89 | 89 | { |
| 90 | 90 | return $this->hasOne(Variant::className(), [ 'id' => 'variant_id' ]); |
| 91 | 91 | } |
| 92 | - | |
| 92 | + /* | |
| 93 | 93 | public function afterSave($insert, $changedAttributes) |
| 94 | 94 | { |
| 95 | 95 | parent::afterSave($insert, $changedAttributes); // TODO: Change the autogenerated stub |
| ... | ... | @@ -103,5 +103,6 @@ |
| 103 | 103 | $variant->save(); |
| 104 | 104 | |
| 105 | 105 | } |
| 106 | + )*/ | |
| 106 | 107 | |
| 107 | 108 | } | ... | ... |