New: works with variants:

-Child label change if parent changes
This commit is contained in:
Juanjo Menent 2018-10-18 09:09:42 +02:00
parent 548fafc6e9
commit fd989230a4

View File

@ -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) {