fix: price after discounts
This commit is contained in:
1 parent
6e6669dee8
commit
0ed6b4a6a0
1 file changed
+1
-1
@@ -126,7 +126,7 @@ class SegmentService extends BaseService {
|
|||||||
return {
|
return {
|
||||||
name,
|
name,
|
||||||
variant,
|
variant,
|
||||||
price: unit_price / 100,
|
price: line_total / 100 / item.quantity,
|
||||||
reporting_revenue: revenue,
|
reporting_revenue: revenue,
|
||||||
product_id: item.variant.product_id,
|
product_id: item.variant.product_id,
|
||||||
sku,
|
sku,
|
||||||
|
|||||||
Reference in new issue
Block a user