broadleaf:
offer:
metadata:
enable-subscription-offers: true
Instead of always showing the subscription offer metadata fields (e.g. subscription offer templates, begin period, etc.), the metadata is now controlled by a different property:
broadleaf:
offer:
metadata:
enable-subscription-offers: true
|
Note
|
Enabling subscription via broadleaf.subscription.enabled implicitly enables the subscription offer fields too
|
Offer fieldsAdded sharedCode field onto the Offer entity to provide an alternative code that can be used to opt in to an offer, in addition to the mapped codes that are already supported.
This is useful for cases where there are multiple codes that can be used to opt in to the same offer, or when there needs to be a single code that can be used across multiple offers.
Added includeFreeShipping field onto the Offer entity to indicate whether the offer that is applying to an Order Item or Order should qualify for free shipping.
Updated Offer metadata to add an implicit filter to exclude rule-based categories from Target Item Criteria rule builder. This is to provide better clarity on how the offer is intended to be used and can be used to drive different behaviors in the future if needed based on how the offer is accessed by customers. This is also to prevent rule-based categories from showing up as selectable criteria, since they are dynamically generated based on rules and cannot be reliably used as criteria for offers. This change is to improve the usability of the Offer edit page and prevent confusion for users who may not understand why certain categories are not working as expected when used as Offer criteria.
Added accessMethod field onto the Offer entity to indicate whether how the offer is accessed by customers, whether through a code that they need to enter or through an automatic application (i.e. automatically considered).
Added the ability to generate a single-use code for an offer that can be used for a single opt-in and redeemed by a single customer, in addition to the existing ability to generate multiple codes for an offer that can be used for multiple opt-ins and redeemed by multiple customers.
Added support to emit audit events for edits to Offer fields.
Added Payment Period Frequency and Payment Period Type to the list of targetable fields in the Offer Target Item Criteria rule-builder for subscription based order-item offers.
Added flow field onto the Offer entity to indicate what subscription flow the offer is to be applied to, if any, to provide better support for subscription offers that are only intended to be applied during a specific part of the subscription lifecycle (e.g. only during the subscription creation, editing, upgrade, or downgrade).
Added support for an offer to target a new customer subscribing for the first time. The first time subscription offer can be targeted against a specific product or any products, and can be used to incentivize new customers to subscribe by offering them a discount on their first subscription order.
Fixed an issue where the discount is incorrect when maxSavingsPerOrder is set and two offers are stacked and applied to the same item
Previously, the discount for the offer that is applied second was calculated based on the item’s original price, rather than the price after applying the first discount, causing the final total discounts to be incorrect
Fixed a bug where the Admin UI would allow adding augmentations on the Campaign Views despite the Campaign domain not supporting them by default