Skip to content

Commit

Permalink
fix: quick order to quote issues
Browse files Browse the repository at this point in the history
  • Loading branch information
b3aton committed Mar 20, 2023
1 parent 82304f4 commit a5b3616
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -333,12 +333,14 @@ const QuickOrderFooter = (props: QuickOrderFooterProps) => {
productsWithSku.forEach((product: ListItemProps) => {
const {
node: {
basePrice,
optionList,
variantSku,
productId,
productName,
quantity,
variantId,
tax,
},
} = product

Expand All @@ -359,8 +361,8 @@ const QuickOrderFooter = (props: QuickOrderFooterProps) => {
quantity: +quantity || 1,
optionList: JSON.stringify(optionsList),
productId,
basePrice: variantItem.bc_calculated_price.as_entered,
tax: variantItem.bc_calculated_price.tax_inclusive - variantItem.bc_calculated_price.tax_exclusive,
basePrice,
tax,
},
}

Expand Down

0 comments on commit a5b3616

Please sign in to comment.