This repository has been archived by the owner on Feb 23, 2024. It is now read-only.
[Points and Rewards] Implement a filter for coupon names #4151
Labels
block: cart
Issues related to the cart block.
block: checkout
Issues related to the checkout block.
category: extensibility
Work involving adding or updating extensibility. Useful to combine with other scopes impacted.
focus: blocks
Specific work involving or impacting how blocks behave.
As per pbIy4N-1r0-p2#comment-2208 we need a way to allow extensions to filter coupon names, and possibly replace them with something else.
We already have a system in place to do this with the price labels, so implementing one for coupon codes could follow a similar pattern.
The registration API should allow extensions to add functions in the following shape:
( couponName: string ) => string
The text was updated successfully, but these errors were encountered: