File tree Expand file tree Collapse file tree 4 files changed +2
-85
lines changed
common/components/line-item-price
components/payment-details Expand file tree Collapse file tree 4 files changed +2
-85
lines changed Original file line number Diff line number Diff line change @@ -19,8 +19,6 @@ const LineItemPrice = ({
19
19
( item . variant as CalculatedVariant ) . original_price * item . quantity
20
20
const hasReducedPrice = ( item . total || 0 ) < originalPrice
21
21
22
- console . log ( item )
23
-
24
22
return (
25
23
< div className = "flex flex-col text-gray-700 text-right" >
26
24
< span
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -3,7 +3,6 @@ import Help from "@modules/order/components/help"
3
3
import Items from "@modules/order/components/items"
4
4
import OrderDetails from "@modules/order/components/order-details"
5
5
import OrderSummary from "@modules/order/components/order-summary"
6
- import PaymentDetails from "@modules/order/components/payment-details"
7
6
import ShippingDetails from "@modules/order/components/shipping-details"
8
7
import React from "react"
9
8
@@ -25,18 +24,14 @@ const OrderCompletedTemplate: React.FC<OrderCompletedTemplateProps> = ({
25
24
cartId = { order . cart_id }
26
25
/>
27
26
< div className = "grid grid-cols-1 lg:grid-cols-2 gap-4 p-10 border-b border-gray-200" >
28
- < PaymentDetails
29
- payments = { order . payments }
30
- paymentStatus = { order . payment_status }
31
- />
32
27
< ShippingDetails
33
28
shippingMethods = { order . shipping_methods }
34
29
address = { order . shipping_address }
35
30
/>
31
+ < OrderSummary order = { order } />
36
32
</ div >
37
33
< div className = "grid grid-cols-1 lg:grid-cols-2 gap-4 p-10" >
38
34
< Help />
39
- < OrderSummary order = { order } />
40
35
</ div >
41
36
</ div >
42
37
</ div >
Original file line number Diff line number Diff line change @@ -3,7 +3,6 @@ import Help from "@modules/order/components/help"
3
3
import Items from "@modules/order/components/items"
4
4
import OrderDetails from "@modules/order/components/order-details"
5
5
import OrderSummary from "@modules/order/components/order-summary"
6
- import PaymentDetails from "@modules/order/components/payment-details"
7
6
import ShippingDetails from "@modules/order/components/shipping-details"
8
7
import React from "react"
9
8
@@ -25,18 +24,14 @@ const OrderDetailsTemplate: React.FC<OrderDetailsTemplateProps> = ({
25
24
cartId = { order . cart_id }
26
25
/>
27
26
< div className = "grid grid-cols-1 lg:grid-cols-2 gap-4 p-10 border-b border-gray-200" >
28
- < PaymentDetails
29
- payments = { order . payments }
30
- paymentStatus = { order . payment_status }
31
- />
32
27
< ShippingDetails
33
28
shippingMethods = { order . shipping_methods }
34
29
address = { order . shipping_address }
35
30
/>
31
+ < OrderSummary order = { order } />
36
32
</ div >
37
33
< div className = "grid grid-cols-1 lg:grid-cols-2 gap-4 p-10" >
38
34
< Help />
39
- < OrderSummary order = { order } />
40
35
</ div >
41
36
</ div >
42
37
</ div >
You can’t perform that action at this time.
0 commit comments