Commit graph

542 commits

Author SHA1 Message Date
CarlNation
c41fe3fcfc CSR-2237
CSR-2237 found another cart price issue.  Salestax was showing $13 on an order that was pending coverage.  Changed salestax to return 0 for not verified insurance
2024-10-01 08:21:47 -04:00
CarlNation
92e0e6e60d CSR-2237
CSR-2237 move vaps and promos below deductible pricing to make sure it is added into the amount due and also avoid code duplication
2024-09-30 06:22:52 -04:00
CarlNation
2b69271d4d Merge branch 'develop' into feature/CSR-2237 2024-09-29 09:31:47 -04:00
CarlNation
8ebd0cd306 CSR-2237
CSR-2237
Added new getter that checks the 7777 and 9999 deductibles when determining if coverage is verified.

Added the amount of vaps due to the amount due when using deductible/verified pricing.
2024-09-29 09:31:26 -04:00
CarlNation
1ea9f38a5e
Merge pull request #2006 from Safelite/feature/CSR-2237
CSR-2237
2024-09-27 15:32:38 -04:00
CarlNation
62d550750f CSR-2237
CSR-2237 when coverage is verified, only show deductible for amount due in the cart
2024-09-27 15:11:20 -04:00
Chloe Herd
a0cec6e83e Merge branch 'develop' into feature/csr-2147 2024-09-26 16:07:42 -04:00
Sneha
e7e20f5f9f CSR-2199 2024-09-26 17:34:51 +05:30
hiteshkumar87
ca6c05a65f CSR-1629
CJ pixel amount format
2024-09-20 19:06:38 +05:30
hiteshkumar87
26b465f9ec CSR-1629
formatting
2024-09-20 15:09:15 +05:30
hiteshkumar87
e162a5fd0e
Merge branch 'develop' into feature/Digital/CSR-1629 2024-09-20 15:06:56 +05:30
hiteshkumar87
25e3b83235 CSR-1629
fixed price subTotal
2024-09-20 15:05:11 +05:30
hiteshkumar87
404650b573
Merge pull request #1987 from Safelite/feature/Digital/CSR-2228
CSR-2228
2024-09-20 13:44:35 +05:30
hiteshkumar87
45bb5257d5
Merge pull request #1986 from Safelite/feature/Digital/CSR-1629
CSR-1629
2024-09-20 13:44:25 +05:30
hiteshkumar87
bf8cf2d8bb CSR-2228
Service package discount for CJ
2024-09-20 13:15:02 +05:30
hiteshkumar87
e7a3008b3a CSR-1629
CJ pixel tag event and batch event filter
2024-09-20 13:06:06 +05:30
hiteshkumar87
d7c3d64f7b
Merge pull request #1984 from Safelite/feature/Digital/CSR-1629
CSR-1629
2024-09-19 20:53:35 +05:30
hiteshkumar87
933434adff CSR-1629
unit test case fixes
2024-09-19 20:43:12 +05:30
hiteshkumar87
7f58966fa5 CSR-1629
unit test cases
2024-09-19 19:31:31 +05:30
hiteshkumar87
315acd49a7 CSR-1629
unit test cases
2024-09-19 19:03:59 +05:30
hiteshkumar87
2fb6726044 CSR-1629
CJ Pixel tracking and product array for CJ conversion tag and eCommerceCart for subTotal
2024-09-19 16:11:08 +05:30
Chloe Herd
51655e7247 Update payment-method & cart for new recal 2024-09-17 14:23:55 -04:00
Chloe Herd
4075d685f4 Merge branch 'develop' into feature/csr-2147 2024-09-12 09:53:52 -04:00
Adam Caouette
5c1e6b550a CSR-2179: update to handle new updated recal parts from api 2024-09-11 19:38:36 -04:00
CarlNation
3c54c6951e CSR-2193 submittedOrder
CSR-2193 PR requested changes and test corrections
2024-09-08 15:42:15 -04:00
CarlNation
114d6a88ca prettier 2024-09-06 10:04:09 -04:00
Chloe Herd
e54ead578e Add call to recal endpoint 2024-09-06 10:01:08 -04:00
CarlNation
b0e106df4a Merge branch 'develop' into feature/CSR-2193 2024-09-06 10:00:11 -04:00
CarlNation
6b42a04068 CSR-2193 submittedOrder issue
CSR-2193 the getter in the vuex store does not seem to return the submittedOrder data.  Possibly related to caching due to the recent upgrade to vuex.  Not 100% certain.  So just moved the submittedOrder logic out of the store and into the basemix.
2024-09-06 09:58:56 -04:00
Adam Caouette
737ef41ad1 Merge branch 'develop' into feature/CSR-2182-ajc 2024-09-04 08:30:18 -04:00
Adam Caouette
b00c0bdcf6 CSR-2182: add new base mixin 2024-09-03 15:48:38 -04:00
scottkiener
cbcf0b1bd2
Merge pull request #1948 from Safelite/feature/CSR-2185
CSR-2185 | Update to Node 20.17.0
2024-08-27 16:51:50 -04:00
Scott Kiener
a1335a56d3 Rectify prettier change 2024-08-27 16:18:22 -04:00
Scott Kiener
cdd82a2f8c CSR-2185 | Fix formatting 2024-08-27 15:56:13 -04:00
Matt Sykes
d5908fa92e Fixed unit tests breaking after upgrades
Changed from .trigger("click") to .setChecked
2024-08-27 15:25:46 -04:00
hiteshkumar87
d592a9a469 CSR-1953
zip code CTU to string
2024-08-27 13:19:24 +05:30
Matt Sykes
c7b19e6c4f Upgraded eslint and prettier 2024-08-23 15:59:25 -04:00
hiteshkumar87
e932ba01a2 CSR-2184
display datalayer sub total and total in case itac
2024-08-22 20:14:34 +05:30
hiteshkumar87
20f6972361
Merge branch 'develop' into feature/Digital/CSR-2087 2024-08-21 16:37:15 +05:30
hiteshkumar87
6ab9c34370 CSR-2087
replacing LeadGenState with ExternalParameterState and add capability questions, molding questions and vehicle parts.
2024-08-21 16:28:00 +05:30
CarlNation
86badc76e6 CSR-2181 remove labor2 logic from parts
CSR-2181 remove labor2 logic from parts since it will now be returned in supporting items collection.  also, base part number is required to get labor2 if applicable.
2024-08-15 07:10:03 -04:00
CarlNation
337af18180 CSR-2130 unnecessary ternary
CSR-2130 unnecessary ternary
2024-07-30 14:34:09 -04:00
CarlNation
e15d25e948 CSR-2130 include mac check
CSR-2130 include mac check
2024-07-30 14:07:28 -04:00
hiteshkumar87
f89581abab Update base-mixin.js 2024-07-19 16:36:27 +05:30
hiteshkumar87
3333555098
Merge branch 'develop' into feature/Digital/CSR-2087 2024-07-19 16:25:27 +05:30
CarlNation
8b507d21ad CSR-2130 latest applepay
CSR-2130 apple merchant id file, pass hybrid for new hop form, show afterpay, check for IOS version for applepay
2024-07-18 16:11:13 -04:00
hiteshkumar87
ac873bf893 CSR-2087
create session storage
2024-07-18 20:15:09 +05:30
hiteshkumar87
2e12fb3c90 CSR-2087
Custom query strings
2024-06-25 18:26:02 +05:30
Chloe Herd
8a86185206 Update unit tests 2024-06-04 17:29:33 -04:00
Chloe Herd
fff25a4e9e Check submitted order for deductible as well 2024-06-04 15:43:25 -04:00
CarlNation
258c8ec2a3 CSR-2091 prettier 2024-06-04 13:56:32 -04:00
CarlNation
73144f8347 CSR-2091
CSR-2091 increase code coverage %
2024-06-04 13:49:44 -04:00
Adam Caouette
b34b7cd134 CSR-1742-r2: have cart use base-mixin shared logic 2024-05-23 16:17:31 -04:00
CarlNation
831685aa5f CSR-2098 prettier 2024-05-20 10:29:28 -04:00
CarlNation
91b4036cd5 CSR-2098
CSR-2098 unit test for verified deductible
2024-05-20 10:26:26 -04:00
CarlNation
67610544e0 CSR-2098 prettier 2024-05-20 09:43:11 -04:00
CarlNation
e03dfd65cc CSR-2098
CSR-2098 handle case where verified insurance with deductible
2024-05-20 09:39:37 -04:00
hiteshkumar87
e789b06f9c CSR-1953
deductible scenario
2024-04-26 18:34:39 +05:30
hiteshkumar87
883704c167 CSR-1953 2024-04-18 17:53:20 +05:30
hiteshkumar87
f101a318ea CSR-1953
GTM datalayer priceSubTotal and Price Total
2024-04-18 12:27:02 +05:30
hiteshkumar87
4891888079 CSR-1953
add insurance order data to GTM datalayer
2024-04-12 13:31:45 +05:30
hiteshkumar87
72c52f457b CSR-2039
code cleanup - remove loader parameter
2024-04-01 17:29:14 +05:30
Chloe Herd
b9fc0b2c8b Formatting 2024-02-15 12:14:17 -05:00
Chloe Herd
c0a26b2a95 Update unit tests 2024-02-15 12:00:51 -05:00
Chloe Herd
026bb5383f Ensure parsed numbers are not NaN before logging. 2024-02-15 11:59:01 -05:00
Chloe Herd
a324bba65d Remove unneeded code 2024-02-14 15:26:23 -05:00
Chloe Herd
5800d00839 Calculate total + subtotal as early as available 2024-02-14 14:48:50 -05:00
Chloe Herd
808693b443 Clarify Falsy checks 2024-02-14 13:59:21 -05:00
Chloe Herd
0514dc3387 Helper lemma for verifying existence of fields 2024-02-14 13:01:29 -05:00
Chloe Herd
db9f5f38f7 Create generic GTM logging method 2024-02-14 09:39:24 -05:00
hiteshkumar87
2dc8d42971 CSR-1438
make email optional
2024-02-09 20:51:11 +05:30
Chloe Herd
f1e044549e Type coercion 2024-01-31 14:58:18 -05:00
Chloe Herd
978f9c948d Clip prices to 2 digits in logging. 2024-01-31 13:50:04 -05:00
Chloe Herd
3893e3ae2d Test coverage 2024-01-24 14:16:57 -05:00
Chloe Herd
5aa51fa8ca Properly extract promo string 2024-01-24 14:16:42 -05:00
Chloe Herd
3827fd238c fix key 2024-01-24 10:31:38 -05:00
Chloe Herd
fe1376438e Collate & Push info to data layer on confirmation enter 2024-01-24 10:24:40 -05:00
hiteshkumar87
d677bb54f5
Merge pull request #1689 from Safelite/feature/Digital/CSR-1897
restore user's experiments
2024-01-17 21:47:45 +05:30
hiteshkumar87
b6e948008a restore user's experiments
restore user's experiments on payment method page after reset state.
2024-01-17 18:23:07 +05:30
hiteshkumar87
9954dfafd7
Merge pull request #1687 from Safelite/feature/Digital/CSR-1897
Revert "Merge pull request #1680 from Safelite/feature/Digital/CSR-1897"
2024-01-16 18:46:57 +05:30
hiteshkumar87
5444936629 Revert "Merge pull request #1680 from Safelite/feature/Digital/CSR-1897"
add experiments to submittedOrder
2024-01-16 18:12:44 +05:30
Adam Caouette
2fbc4e3bd5 CSR-1610: prettier 'fixes' 2024-01-11 11:10:12 -05:00
Adam Caouette
e35fe3fb1b CSR-1610: copy fix updates into other question pages 2024-01-11 07:48:49 -05:00
Adam Caouette
66fab1c774 CSR-1610 fixes to questions pages 2023-12-20 14:31:36 -05:00
Matt Caimi
cc49d256d5 CSR-1881 updated getter 2023-12-12 11:44:14 -05:00
Matt Caimi
3d222e09a9 CSR-1881 use session storage ref seq num when order in vuex is cleared 2023-12-12 11:24:45 -05:00
Chloe Herd
9b9001d67a Tests for initsession 2023-12-05 18:06:12 -05:00
Chloe Herd
ef5a6a55e3 Properly mock crypto module 2023-12-05 14:08:05 -05:00
Chloe Herd
82e2e041de Fix typo 2023-12-01 15:27:05 -05:00
Chloe Herd
42d60f4e22 Update existing unit test suite 2023-12-01 11:32:33 -05:00
Chloe Herd
c2996187bb Ensure session state is valid before logging 2023-12-01 10:30:15 -05:00
Chloe Herd
53aed87e1d Use correct userId for analytics logging 2023-12-01 09:42:11 -05:00
Chloe Herd
999d274d88 Cleanup imports 2023-12-01 09:11:10 -05:00
Chloe Herd
0ba926d20c Move all specific cookie logic to cookie-helper 2023-12-01 08:37:22 -05:00
Chloe Herd
4510241bdd Cleanup 2023-12-01 08:12:19 -05:00
Chloe Herd
edd8158148 Iteration 1 2023-11-30 17:35:21 -05:00
CarlNation
18c59e8d7e CSR-1757
changes to add supplies repair fee to cart and promo taxes
2023-11-21 09:18:37 -05:00
Leah Schumann
f0e0c4a3e8 Fixed package price calculation that was including early bird fee, prettified 2023-11-09 07:37:01 -05:00
CarlNation
ad8fac3c1c CSR-1392
fix adding bug and decimal place bug
2023-11-03 14:22:00 -04:00
CarlNation
2a81d3fbe1 CSR-1932
only add sales tax from amountDue
2023-11-01 12:37:30 -04:00
CarlNation
c644bd4ef5 CSR-1392
correct vaps amount check
2023-10-31 08:17:00 -04:00
CarlNation
f2fc50cd3e CSR-1392
set amount due for PIA
2023-10-30 11:20:43 -04:00
CarlNation
45add3866b CSR-1392
testing lower paypal dollar amounts
2023-10-24 15:13:56 -04:00
Leah Schumann
cb01a42341 Cart now calculating tax, there may be other issues in the cart that may effect calculation 2023-10-18 09:10:53 -04:00
CarlNation
f74d4d5a3b CSR-1392
prettier
2023-10-11 10:10:42 -04:00
CarlNation
e6fc6635c4 CSR-1392
do not pass null items to getTotalPrice logic
2023-10-11 10:02:54 -04:00
CarlNation
b76256dbc1 CSR-1392
add lineitems for paypal and display amount
2023-10-10 11:32:51 -04:00
CarlNation
0724dcadfb CSR-1392 prettier
prettier
2023-10-10 06:54:47 -04:00
CarlNation
a242946770 CSR-1392
Create work order in delete sub status for pia.  add amount due
2023-10-10 06:49:16 -04:00
Bryan Mauger
a9cb33305b Re-add curiously removed code. 2023-10-05 15:48:19 -04:00
Bryan Mauger
16e2c6499e Remove console.log(s) 2023-10-05 15:42:12 -04:00
Bryan Mauger
4eab2c6618 WIP 2023-10-04 09:20:05 -04:00
CarlNation
b662ee4a99 CSR-1413
add routing from review to payment-method.
also move the submit work order from review to payment-method and await it.
2023-09-28 13:41:04 -04:00
Bryan Mauger
9d19a98f9b Remove console.log. 2023-09-22 12:53:07 -04:00
bmauger
73726af7a3
Merge pull request #1356 from Safelite/CSR-1673-list-button-item-alignment
CSR-1673 fix icon and text alignment and add back scroll to bottom fe…
2023-09-22 11:01:05 -04:00
Bryan Mauger
9926126c67 CSR-1673 fix icon and text alignment and add back scroll to bottom feature. 2023-09-22 10:44:55 -04:00
Chloe Herd
964b06744f Service Location 2023-09-21 14:08:32 -04:00
Chloe Herd
b7f2f060ab Misc Questions Pages 2023-09-20 13:01:31 -04:00
Chloe Herd
fed47a13e9 Save/Load Session 2023-09-20 11:16:45 -04:00
Chloe Herd
5c38498a23 Merge branch 'develop' into bug/chloeherd/analytics-mismatch 2023-09-20 09:06:27 -04:00
Chloe Herd
e4d98521d8 Test fix 2023-09-19 12:49:51 -04:00
Chloe Herd
5ff14add7b Lookup Pages 2023-09-19 12:22:56 -04:00
Chloe Herd
2bec4fa045 Estimate 2023-09-18 16:28:01 -04:00
Bryan Mauger
ce6916658a First pass at desktop max width and breakpoints per page.
Rename funnel-footer to nav-bar.
2023-09-18 16:20:45 -04:00
Chloe Herd
e7c0703eb4 Add new parameter to pass-down page name 2023-09-14 17:16:21 -04:00
CarlNation
a3dff865ea CSR-1625
router/index.js assumes a load-session successful response should always go to heritage.  This may have been true in the initial version of NextGen but now we can load and direct it to the correct page.  The incorrect routing to heritage was also failing here for returning users that already had a NextGen cookie.  The error caused us to route to the beginning.
Fixed that error by removing the default true in the navigateToHeritageFunnel and changing all calls to pass a true or false.
2023-09-08 08:25:44 -04:00
CarlNation
14c3fe0663 CSR-1588
Seq number should always be returned by safelite api so no need to fall back to referral number
2023-08-04 14:21:08 -04:00
CarlNation
1f32f91398 CSR-1588 prettier 2023-08-04 12:56:11 -04:00
CarlNation
792c379080 CSR-1588
persist referral seq number and send to analytics
2023-08-04 11:49:13 -04:00
CarlNation
563d638fe2 CSR-1588
pass referral and parent account to logging api
2023-08-03 15:02:42 -04:00
CarlNation
b792b21ac2 CSR-1552 removing code related to defect. Possibly working as designed 2023-07-21 09:14:08 -04:00
CarlNation
7c316acb7c CSR-1552
treat referral 6 digits and isverified differently.  unverified is allowed to return to quote page and switch to cash while verified is not.  both have 6 digit referral numbers.
2023-07-20 07:15:59 -04:00
CarlNation
209977b389 Revert "CSR-1552"
This reverts commit 517e79d62d.
2023-07-20 07:09:59 -04:00
CarlNation
517e79d62d CSR-1552
allow unverified insurance to return to quote page.  set a variable indicating switching from insurance to cash to pass to heritage so referral properties can be reset.
2023-07-19 10:51:44 -04:00
Matt Caimi
e89eadcb46 CSR-1436 provisional triggers ga event logging 2023-06-30 13:50:42 -04:00
Matt Caimi
20d7917b7c CSR-1439 email provided ga event 2023-06-21 10:17:47 -04:00
Leah Schumann
86f0f0fb94 Fixed unit tests 2023-06-09 09:36:21 -04:00
Leah Schumann
239faec2f7 Added code to reset appointment type and provider / mobile address when glass parts / supporting items / service zip changes 2023-06-09 08:18:08 -04:00
Leah Schumann
1f4c9b3c06 WIP 2023-06-08 14:09:49 -04:00
Leah Schumann
6a7d3b8626 WIP 2023-06-07 13:51:19 -04:00
Scott Kiener
ee73f92d09 CSR-1137 | Remove 'additionalButtonStyling'
Replaced with 'additionalButtonData'
This should only affect list-button-horizontal
2023-05-22 09:15:56 -04:00
Scott Kiener
07609b9dde CSR-1137 | First deploy to dev 2023-05-18 15:44:35 -04:00
Scott Kiener
01e294d7fb Merge remote-tracking branch 'origin/feature/CSR-886' into feature/CSR-1137 2023-05-18 09:48:59 -04:00
Scott Kiener
23711787dd CSR-1137 | All timeslot implementations working 2023-05-17 14:08:16 -04:00
Leah Schumann
89e1708288 Prettified 2023-05-03 09:25:16 -04:00
Leah Schumann
b3f4e09a21 Tech review changes 2023-05-03 09:23:22 -04:00
CarlNation
0a6593c597 Merge branch 'release/2023.05.04' into rlsmerge/2023.04.05-to-develop-04.25 2023-04-25 10:42:54 -04:00
CarlNation
43954352a0 CSR-1339
Allow site to function when analytic service calls fail
2023-04-25 09:18:56 -04:00
Bill Richardson
672005fe5f Military zip updates to front end 2023-03-13 10:46:51 -04:00
CarlNation
adeba5d936 CSR-976 cleanup back vin condition 2023-02-03 09:46:54 -05:00