Commit graph

27 commits

Author SHA1 Message Date
Sneha
4553fbf022 CSR-2021 2024-03-28 15:47:34 +05:30
Adam Caouette
900f790271 CSR-1977: update copy in promotions-helper 2024-03-01 14:49:46 -05:00
Scott Kiener
f0534f2718 Promo Unit tests - promotions-helper.js
Also made promotions-helper.js functions null safe
2024-01-17 09:55:03 -05:00
Scott Kiener
44cc716965 CSR-1894 | Nullsafe error fix 2024-01-05 09:03:38 -05:00
Scott Kiener
352f81c426 CSR-1862 | Avoid clearing valid and active promo on page load 2023-12-27 10:12:57 -05:00
Adam Caouette
614f50a533 Revert "Merge pull request #1636 from Safelite/reverse-pr-1622"
This reverts commit 438e63e780, reversing
changes made to 811a317369.
2023-12-12 14:09:47 -05:00
Adam Caouette
e48a05c9aa Revert "Merge pull request #1622 from Safelite/feature/CSR-1851"
This reverts commit 3bddf0b509, reversing
changes made to 1eb6d96639.
2023-12-12 12:15:09 -05:00
Leah Schumann
669ea2927c Prettified 2023-12-07 06:44:40 -05:00
Leah Schumann
5238b9a987 Ensured that promo added line items are taxed 2023-12-07 06:38:07 -05:00
Scott Kiener
f165bd41b9 CSR-1845 | Fix quote pricing with bundle promos 2023-11-28 15:10:28 -05:00
Scott Kiener
4b87384e55 CSR-1841 | Change query string promo logic for save quote email purposes 2023-11-28 10:09:49 -05:00
Scott Kiener
5ff73cc095 CSR-1393 | Fix the display/removal of bundle promo codes in modal 2023-11-16 09:56:01 -05:00
Scott Kiener
e2c86d0516 CSR-1452 | Formatting 2023-11-15 11:13:51 -05:00
Scott Kiener
f9332b1028 CSR-1452 | Working on integrating promo-modal 2023-11-15 11:12:08 -05:00
Scott Kiener
7b7bd5da87 CSR-1452 | Formatting 2023-11-13 14:07:10 -05:00
Scott Kiener
0a9e59bf22 CSR-1452 | Inactive promos bug fix, related refactoring
Created a shared "removeCurrentlyActivePromoCodesFromInactivePromos" method and used it in multiple places to fix bug
2023-11-13 11:18:08 -05:00
Sneha
ae505070c2 CSR-1393 2023-11-13 20:11:00 +05:30
Scott Kiener
f8f9749d3a CSR-1452 | Rewrite save promo functions
Combined inactive and active into one method
 -new save method prevents the same promos ending up in inactive AND active at the same time
 -query string promos save to inactive automatically
2023-11-10 10:51:01 -05:00
Scott Kiener
f72ce16936 CSR-1452 | Refactor and reformat 2023-11-09 15:17:47 -05:00
Scott Kiener
7eea3baa13 CSR-1452 | Alerts for promos and alert.vue refactoring 2023-11-09 14:52:18 -05:00
Scott Kiener
2cbae603bd CSR-1452 | Toast messages built and displayed
For payment-method and quote, only for initial page load promo logic
2023-11-09 09:11:19 -05:00
Scott Kiener
fa2bccb518 CSR-1452 | More promo logic
Watch lineItems to automatically run revalidate when the cart changes
Add in auto add of addable vaps in beforeRouteEnter
Create adding of addableVaps to order in promo helper
2023-11-07 15:34:31 -05:00
Scott Kiener
da1feeab07 CSR-1452 | Set up wireframe for payment-method and promos 2023-11-03 11:42:11 -04:00
Scott Kiener
3d9c1b97fb CSR-1520 | Formatting 2023-10-25 10:36:25 -04:00
Scott Kiener
2516adc2fc CSR-1520 | Package selection promo logic 2023-10-25 10:33:14 -04:00
Scott Kiener
6358818bdc CSR-1520 | Refactor
Use existing method from querystring-helper
Rename response objects
2023-10-12 12:25:17 -04:00
Scott Kiener
291e13330d CSR-1520 | First integration of promo logic
Implementation of validate and revalidate endpoints in the store
Validate promo on quote via query string promo
Revalidate promos on quote page load
Remove promo query string on quote and payment-method forward navigation
Add in Id logic for all line items
Send relevant pricing data to service package question to be used later for UX changes
2023-10-12 12:03:02 -04:00