diff --git a/rules_shipping_base.php b/rules_shipping_base.php index 658c6b65f2d6e9c10872fe3a90262554429eb667..34dc491267d5412aa89d954b2fbccd119a5304ba 100644 --- a/rules_shipping_base.php +++ b/rules_shipping_base.php @@ -766,7 +766,7 @@ class ShippingRule { case 'shipping': $this->shipping = $value; $this->includes_tax = False; break; case 'shippingwithtax': $this->shipping = $value; $this->includes_tax = True; break; case 'variable': // Variable=... is the same as Definition=... - case 'definition': $this->name = $value; $this->is_definition = True; break; + case 'definition': $this->name = strtolower($value); $this->is_definition = True; break; case 'value': $this->shipping = $value; break; // definition values are also stored in the shipping member! case 'comment': break; // Completely ignore all comments! case 'condition': $this->conditions[] = $value; break;