Merge pull request #1605 from Safelite/feature/skiener/CSR-1857
CSR-1857 | Exclude promos from lineItems sent to safelite-hop
This commit is contained in:
commit
f0bc62e3b2
1 changed files with 1 additions and 1 deletions
|
|
@ -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`);
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue