From 4feb41fb9e9fa18fb1755feed7cd4f4d48bc63d1 Mon Sep 17 00:00:00 2001 From: phzhik Date: Sun, 26 May 2024 02:40:47 +0400 Subject: [PATCH] + Default bonus levels in settings --- poizonstore/settings.py | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/poizonstore/settings.py b/poizonstore/settings.py index 9383515..8b5af89 100644 --- a/poizonstore/settings.py +++ b/poizonstore/settings.py @@ -268,7 +268,15 @@ BONUS_ELIGIBILITY_STATUS = 'completed' BONUS_PROGRAM_DEFAULT_CONFIG = { "amounts": { "signup": 150, - "default_purchase": 50, "referral": 500, - } + }, + + "levels": [ + # slug, name, orders_count, amount_default_purchase + ("new", "Новичок", 0, 50), + ("fashion", "Модник", 3, 150), + ("pro", "Профессионал", 10, 250), + ("shopaholic", "Шопоголик", 20, 350), + ("killer", "Фэшн Киллер", 30, 500), + ] }