Open gopeter opened 2 months ago
Just to clarify - do you mean adding a Gift Voucher to your cart with a custom amount, or do you mean when applying a Gift Voucher Code to your cart? Both are working for me with Commerce 5.1.1.
I'm not surprised a custom line item causes issue though, looking into that.
Sorry, nevermind the cart thing. Didn't worked because I'm hooking into some recalculation events and broke the gift voucher functionality.
But the custom line item issue still exists. Would be great if could have a look at it! :-)
Describe the bug
It seems that there are some incompatibilities between Craft Commerce 5.1 and the Gift Voucher plugin. Adding the voucher to a cart doesn't redeem an amount (it's always 0).
Additionally, I can't add a custom line item (added since Commerce 5.1) once a voucher is applied to the cart:
Steps to reproduce
Craft CMS version
Craft Pro 5.4.4
Plugin version
4.0.3
Multi-site?
Yes
Additional context
Craft Commerce 5.1.1