all cart
This commit is contained in:
@ -7,8 +7,10 @@ import CartSummary from "@/components/CartSummary";
|
||||
import CartRecommended from "../components/CartRecommended";
|
||||
import CatalogSubscribe from "@/components/CatalogSubscribe";
|
||||
import MobileMenuBottomSection from "@/components/MobileMenuBottomSection";
|
||||
import React, { useState } from "react";
|
||||
|
||||
export default function CartPage() {
|
||||
const [step, setStep] = useState(1);
|
||||
|
||||
return (
|
||||
<><Head>
|
||||
@ -26,8 +28,8 @@ export default function CartPage() {
|
||||
<div className="w-layout-blockcontainer container w-container">
|
||||
<div className="w-layout-vflex cart-list">
|
||||
<div className="w-layout-hflex core-product-card">
|
||||
<CartList />
|
||||
<CartSummary />
|
||||
<CartList isSummaryStep={step === 2} />
|
||||
<CartSummary step={step} setStep={setStep} />
|
||||
</div>
|
||||
<CartRecommended />
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user