From 4a6748014908c75e2f33edbb6396333e3ac37dbe Mon Sep 17 00:00:00 2001 From: mahdi Date: Mon, 13 Jun 2022 10:51:15 +0430 Subject: [PATCH] update src/views/ShoppingCart/index.js --- src/views/ShoppingCart/index.js | 201 ++++++++++++++++---------------- 1 file changed, 103 insertions(+), 98 deletions(-) diff --git a/src/views/ShoppingCart/index.js b/src/views/ShoppingCart/index.js index 3bb6888..92d01c0 100644 --- a/src/views/ShoppingCart/index.js +++ b/src/views/ShoppingCart/index.js @@ -274,111 +274,116 @@ function ShoppingCart({ }`} >
{layouts[phase]}
- {phase !== "address" && ( -
-
- - - -
-
- - جمع کل سبد خرید - -

- {separate(productsLength ? factorInfo?.payPrice : "")} - - تومان - -

-
- {phase === "products" && ( + {console.log(list)} + {list?.length + ? phase !== "address" && (
- -

- هزینه ارسال کالا پس از تعیین محل آدرس مشخص می‌شود -

-
- )} - {null && phase === "deliveryForm" && ( -
- - انتخاب شیوه پرداخت - -
+ )} +

+ )}
- )} -
-
- - )} - - )} + ) + : null} ); }