New: works with variants:
-Child label change if parent changes
This commit is contained in:
parent
548fafc6e9
commit
fd989230a4
@ -330,6 +330,7 @@ class ProductCombination
|
||||
$child->price_autogen = $parent->price_autogen;
|
||||
$child->weight = $parent->weight + $this->variation_weight;
|
||||
$child->weight_units = $parent->weight_units;
|
||||
$child->label = $parent->label;
|
||||
|
||||
if ($child->update($child->id, $user) > 0) {
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user