← All changes
|
backend/views/components/Main/features/discount/discountSlice.js
+13
-0
1.4.3
→
1.4.21
View file →
| @@ -17,8 +17,10 @@ | ||
| 17 | 17 | show_discount_on_cart_page: false, |
| 18 | 18 | |
| 19 | 19 | bogo_type: 'all', |
| 20 | 20 | discount_based_on: 'item_quantity', |
| 21 | + count_quantity_as: 'separate', | |
| 22 | + free_item_selection: 'cart_order', | |
| 21 | 23 | |
| 22 | 24 | discount_rules: [ |
| 23 | 25 | { |
| 24 | 26 | id: uuidv4(), |
| @@ -227,8 +229,19 @@ | ||
| 227 | 229 | 'top-right': '8px', |
| 228 | 230 | 'bottom-right': '8px', |
| 229 | 231 | 'bottom-left': '8px', |
| 230 | 232 | }, |
| 233 | + // Success Message (shown once the customer has claimed the discount) | |
| 234 | + success: { | |
| 235 | + enable: true, | |
| 236 | + text: 'Congratulations! You claimed [discounted_percentage] discount', | |
| 237 | + 'font-family': '', | |
| 238 | + 'font-size': '14px', | |
| 239 | + 'font-weight': 600, | |
| 240 | + 'font-style': 'normal', | |
| 241 | + 'text-decoration': 'none', | |
| 242 | + }, | |
| 243 | + | |
| 231 | 244 | // Banner Button (Shop Now inside banner) |
| 232 | 245 | button: { |
| 233 | 246 | enable: true, |
| 234 | 247 | text: 'Shop Now', |