Ecommerce Framework community bundle provides e-commerce functionality such as product listing and filtering, pricing, carts and checkouts for Pimcore.
I can group Pricing Rule Conditions with Brackets and add a preceding operator.
Actual behavior
After saving the Pricing Rule an error is thrown:
Timestamp: Tue Apr 02 2024 15:51:37 GMT+0200 (Central European Summer Time)
Status: 500 | Internal Server Error
URL: /admin/ecommerceframework/pricing/save
Method: PUT
Message: Pimcore\Bundle\EcommerceFrameworkBundle\PricingManager\Condition\Bracket::addCondition(): Argument #2 ($operator) must be of type string, null given, called in /var/www/html/vendor/pimcore/ecommerce-framework-bundle/src/PricingManager/Condition/Bracket.php on line 141
Steps to reproduce
These Conditions are just examples, i tried with other Conditions too and couldn't make them work.
Create a new Pricing Rule
Go to Conditions Tab
Add Voucher Condition with an example voucher
After Voucher add a DateRange Condition, enter values
After DateRange Add CartAmount Condition, enter value
Group DateRange and CartAmount with the big "(" on the left and ")" on the right
Save
In this example i want to match the Voucher and then either DateRange or CartAmount grouped.
Expected behavior
I can group Pricing Rule Conditions with Brackets and add a preceding operator.
Actual behavior
After saving the Pricing Rule an error is thrown:
Steps to reproduce
These Conditions are just examples, i tried with other Conditions too and couldn't make them work.
In this example i want to match the Voucher and then either DateRange or CartAmount grouped.
in PHP syntax ->
Voucher && ( DateRange || CartAmount )
where can i add the && before the Conditions Group ( DateRange || CartAmount )?