Skip to content

Commit

Permalink
Unit price
Browse files Browse the repository at this point in the history
  • Loading branch information
sbarbat authored Aug 6, 2019
1 parent c94822f commit baae50d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/TagManager/CheckoutStep.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ private function createProduct(OrderItemInterface $item): array
'quantity' => $item->getQuantity(),
'variant' => $item->getVariant()->getName() ?? $item->getVariant()->getCode(),
'category' => $item->getProduct()->getMainTaxon() ? $item->getProduct()->getMainTaxon()->getName() : '',
'price' => $item->getTotal() / 100,
'price' => $item->getUnitPrice() / 100,
];
}
}

0 comments on commit baae50d

Please sign in to comment.