removing old code

This commit is contained in:
Michaela Brydon 2024-03-25 15:52:13 -04:00
parent ab8a227d00
commit d2174d36dc

View file

@ -6,7 +6,6 @@ import queryStrings from '@/constants/query-strings';
import dynamicStrings from '@/constants/dynamic-strings';
import routerParams from '@/router/router-constants/router-params';
import widgetFields from '@/constants/cms-widget-fields.js';
import partTypeStrings from '@/constants/part-type-strings';
export default {
data() {
@ -37,16 +36,6 @@ export default {
savePageDataToStore(page, data) {
useMainStore().updatePageData({ page, data });
},
// TODO confirm this is not what we want
// getTierOnePackagePrice(lineItems) {
// const lineItemsToPrice = lineItems.filter((lineItem) => (
// lineItem.partType !== partTypeStrings.FRONT_WIPER
// && lineItem.partType !== partTypeStrings.REAR_WIPER
// && lineItem.partType !== partTypeStrings.RAIN_DEFENSE
// ));
// return this.getTotalPriceOfAllLineItemsAndChildParts(lineItemsToPrice, false);
// },
getTotalPriceOfAllLineItemsAndChildParts(lineItems, includeTax) {
let totalPrice = 0;
lineItems.forEach((lineItem) => {