CSR-1857 | Exclude promos from lineItems sent to safelite-hop
This commit is contained in:
parent
496afe17d8
commit
b4792236d8
1 changed files with 1 additions and 1 deletions
|
|
@ -532,7 +532,7 @@ export default {
|
||||||
}
|
}
|
||||||
|
|
||||||
cartItems.forEach((item) => {
|
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`);
|
lineItems.push(`${item.name}|${(item.salesTax + item.subTotal).toFixed(2)}|1`);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue