diff --git a/src/constants/cart-item-categories.js b/src/constants/cart-item-categories.js new file mode 100644 index 000000000..509cc626b --- /dev/null +++ b/src/constants/cart-item-categories.js @@ -0,0 +1,8 @@ +const cartItemCategories = { + VAPS: "vaps", + GLASS_PARTS: "glassParts", + SUPPORTING_ITEMS: "supportingItems", + PROMOS: "promos", +}; + +export { cartItemCategories }; diff --git a/src/constants/cart-item-types.js b/src/constants/cart-item-types.js new file mode 100644 index 000000000..62bc40012 --- /dev/null +++ b/src/constants/cart-item-types.js @@ -0,0 +1,11 @@ +const cartItemTypes = { + FRONT_WIPER: "FRONT WIPER", + REAR_WIPER: "REAR WIPER", + SUPPORTING_ITEMS: "SUPPORTING ITEMS", + GLASS_PARTS: "GLASS PARTS", + RAIN_DEFENSE: "RAIN DEFENSE", + RECYCLE_FEE: "RECYCLE FEE", + MOBILE_FEE: "MOBILE FEE", +}; + +export { cartItemTypes }; diff --git a/src/constants/part-type-strings.js b/src/constants/part-type-strings.js index 2dfab2071..50d92832c 100644 --- a/src/constants/part-type-strings.js +++ b/src/constants/part-type-strings.js @@ -3,6 +3,8 @@ const partTypeStrings = { REAR_WIPER: "REAR WIPER", RAIN_DEFENSE: "RAIN DEFENSE", RECALIBRATION: "RECALIBRATION", + RECYCLE_FEE: "RECYCLE FEE", + MOBILE_FEE: "MOBILE FEE", }; export { partTypeStrings }; diff --git a/src/fmg-components/add-vaps-modal-buttons/add-vaps-modal-buttons.vue b/src/fmg-components/add-vaps-modal-buttons/add-vaps-modal-buttons.vue index 05ea8504b..11ee74e32 100644 --- a/src/fmg-components/add-vaps-modal-buttons/add-vaps-modal-buttons.vue +++ b/src/fmg-components/add-vaps-modal-buttons/add-vaps-modal-buttons.vue @@ -92,11 +92,11 @@ export default { answers.push(answer); } - if (this.showAddRainDefense) { - const answer = getAnswer("RainDefenseModal", this.answersCmsData); - answer.SubText = "+$" + this.rainDefensePrice; - answers.push(answer); - } + // if (this.showAddRainDefense) { + // const answer = getAnswer("RainDefenseModal", this.answersCmsData); + // answer.SubText = "+$" + this.rainDefensePrice; + // answers.push(answer); + // } return answers; }, diff --git a/src/fmg-components/cart/cart.vue b/src/fmg-components/cart/cart.vue index cca06cbca..c48f48582 100644 --- a/src/fmg-components/cart/cart.vue +++ b/src/fmg-components/cart/cart.vue @@ -1,60 +1,71 @@