diff --git a/src/Traits/ProductCustomerOptionCapableTrait.php b/src/Traits/ProductCustomerOptionCapableTrait.php index d9188bb1..4916d04b 100644 --- a/src/Traits/ProductCustomerOptionCapableTrait.php +++ b/src/Traits/ProductCustomerOptionCapableTrait.php @@ -1,6 +1,6 @@ customerOptionValuePrices; + // We can not rely on the prices being set because Doctrine doesn't call the constructor for loaded entited + return $this->customerOptionValuePrices ?? new ArrayCollection(); } /**