Merge pull request #2172 from Safelite/rlsmerge/12.12toDev
Rlsmerge/12.12to dev
This commit is contained in:
commit
d4367fbc9c
1 changed files with 4 additions and 1 deletions
|
|
@ -604,7 +604,10 @@ export default {
|
||||||
|
|
||||||
cartItems.forEach((item) => {
|
cartItems.forEach((item) => {
|
||||||
if (item.name !== null && item.category != "promos") {
|
if (item.name !== null && item.category != "promos") {
|
||||||
lineItems.push(`${item.name}|${(item.salesTax + item.subTotal).toFixed(2)}|1`);
|
const total = (item.salesTax + item.subTotal).toFixed(2);
|
||||||
|
if (total > 0) {
|
||||||
|
lineItems.push(`${item.name}|${(item.salesTax + item.subTotal).toFixed(2)}|1`);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue