removing old code
This commit is contained in:
parent
ab8a227d00
commit
d2174d36dc
1 changed files with 0 additions and 11 deletions
|
|
@ -6,7 +6,6 @@ import queryStrings from '@/constants/query-strings';
|
||||||
import dynamicStrings from '@/constants/dynamic-strings';
|
import dynamicStrings from '@/constants/dynamic-strings';
|
||||||
import routerParams from '@/router/router-constants/router-params';
|
import routerParams from '@/router/router-constants/router-params';
|
||||||
import widgetFields from '@/constants/cms-widget-fields.js';
|
import widgetFields from '@/constants/cms-widget-fields.js';
|
||||||
import partTypeStrings from '@/constants/part-type-strings';
|
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
|
|
@ -37,16 +36,6 @@ export default {
|
||||||
savePageDataToStore(page, data) {
|
savePageDataToStore(page, data) {
|
||||||
useMainStore().updatePageData({ 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) {
|
getTotalPriceOfAllLineItemsAndChildParts(lineItems, includeTax) {
|
||||||
let totalPrice = 0;
|
let totalPrice = 0;
|
||||||
lineItems.forEach((lineItem) => {
|
lineItems.forEach((lineItem) => {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue