Bug #8996
openCBSubs Promotions: renewing in advance does not display discounted price for a promotion with a date range
Description
Using a promotion that is always applied and has a date range between now and end of year and overrides the price display, but the renewal date is next year results in the promotional price not showing in the renewal button but does get applied in the basket. Example configuration as follows.
Promotion Type: Applies to all purchases
The promotion is: R*P: A percentage R of the item price P
Discount Rate in PERCENT (%): 50
Start date of validity of this promotion: 07-01-2022
End date of validity of this promotion: 12-31-2022
Override plans display: Yes, display plans differently as follows:
Display price: Automatic sale display: Strike-through regular price with "SALE!" display of new price
Now check the renew button for a plan that renews in 2023. It will not show the sale price, but does apply in basket. Remove the end date validity and it works fine.