From fd989230a4b439c90b3e5b88bf8d7cd5fda209f2 Mon Sep 17 00:00:00 2001 From: Juanjo Menent Date: Thu, 18 Oct 2018 09:09:42 +0200 Subject: [PATCH] New: works with variants: -Child label change if parent changes --- htdocs/variants/class/ProductCombination.class.php | 1 + 1 file changed, 1 insertion(+) diff --git a/htdocs/variants/class/ProductCombination.class.php b/htdocs/variants/class/ProductCombination.class.php index 8908bfa4d2d..77acc80483c 100644 --- a/htdocs/variants/class/ProductCombination.class.php +++ b/htdocs/variants/class/ProductCombination.class.php @@ -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) {