Skip to content

Commit

Permalink
feat: Add waffle flag for First Purchase Discount override (#35133)
Browse files Browse the repository at this point in the history
REV-4097
  • Loading branch information
julianajlk authored Jul 19, 2024
1 parent b438349 commit 475b49c
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions openedx/features/discounts/applicability.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,18 @@
from common.djangoapps.track import segment


# .. toggle_name: discounts.enable_first_purchase_discount_override
# .. toggle_implementation: WaffleFlag
# .. toggle_default: False
# .. toggle_description: Waffle flag to enable the First Purchase Discount to be overriden from
# EDXWELCOME/BIENVENIDOAEDX 15% discount to a new code.
# .. toggle_use_cases: opt_in
# .. toggle_creation_date: 2024-07-18
# .. toggle_target_removal_date: None
# .. toggle_tickets: REV-4097
# .. toggle_warning: This feature toggle does not have a target removal date.
FIRST_PURCHASE_DISCOUNT_OVERRIDE_FLAG = WaffleFlag('discounts.enable_first_purchase_discount_override', __name__)

# .. toggle_name: discounts.enable_discounting
# .. toggle_implementation: WaffleFlag
# .. toggle_default: False
Expand Down

0 comments on commit 475b49c

Please sign in to comment.