Update ProductCombination.class.php
This commit is contained in:
parent
c0a489ec1a
commit
afcc3cb3e6
@ -488,7 +488,7 @@ class ProductCombination
|
||||
$child->price_autogen = $parent->price_autogen;
|
||||
$child->weight = $parent->weight;
|
||||
$child->status = $parent->status;
|
||||
|
||||
|
||||
if ($this->variation_weight) { // If we must add a delta on weight
|
||||
$child->weight = ($child->weight ? $child->weight : 0) + $this->variation_weight;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user