
⚡ valuein/shop:5.4 → 4 🎉 → 1 🚀 → 2 🐛
- 🎉 Added support for Multi Attribute Pricing charges
- 🎉 Added twig test for charge and model checks
- 🎉 Added admin alert feature
- 🎉 Added rampDeal module
- 🚀 Improved add product amendment in cpq
- 🐛 Fixed amendments filtering on Pending subscriptions
- 🐛 Fixed self-care amendments change-quantity form rendering
🎉 New features
Added support for Multi Attribute Pricing charges
The new Multi Attribute Pricing charge from Zuora invoice engine is now supported.
The charge is considered as a standard Per-Unit but its pricing are not sent when previewing / creating subscriptions.
Zuora is handling the price calculation based on the configured formulas.
See Get started with Multi-Attribute Pricing charge model for usage charges for more details
Added twig test for charge and model checks
Added twig test to check a charge model or a charge type.
{% if charge.model != 'DiscountPercentage' %}{% if charge is not MODEL_DISCOUNT_PERCENTAGE %}`Added rampDeal module
Allow the system to add extra behavior on the charge level.
For quote templates already created, you can add the extra behavior by simply adding in the template :
[[charge.extraBehaviors]]
in the admin menu quote templates.
RampDeal is available for charges of type discount.
Added admin alert feature
Added admin alert feature that will be useful to log punctually some business rules (like API call, business errors...).
Add the dependency App\Service\AdminAlert\AdminAlertLoggerInterface and call method log
to log anything you want when the admin alert feature is enabled.
🐛 Bug fixes
Fixed amendments filtering on Pending subscriptions
The subscription status « Pending Activation » wasn't handled before this fix.
Now the subscription in « Pending Activation » or « Pending » are considered as « Pending ».
Fixed self-care amendments change-quantity form rendering
The rendering of the change quantity form of self-care change quantity was wrong, duplicate fields was rendered and an Exception was thrown.
The form has been fixed to work correctly
- Projects
- None
- Subscribers
- None