CSR-1857 | Exclude promos from lineItems sent to safelite-hop

This commit is contained in:
Scott Kiener 2023-12-01 08:46:50 -05:00
parent 496afe17d8
commit b4792236d8

View file

@ -532,7 +532,7 @@ export default {
}
cartItems.forEach((item) => {
if (item.name !== null) {
if (item.name !== null && item.category != "promos") {
lineItems.push(`${item.name}|${(item.salesTax + item.subTotal).toFixed(2)}|1`);
}
});