forked from crowetic/commerce
Change action buttons for /cart
This commit is contained in:
parent
7f7795ec87
commit
4772878234
@ -120,9 +120,15 @@ export default function Cart() {
|
|||||||
</div>
|
</div>
|
||||||
<div className="flex flex-row justify-end">
|
<div className="flex flex-row justify-end">
|
||||||
<div className="w-full lg:w-72">
|
<div className="w-full lg:w-72">
|
||||||
<Button href="/checkout" Component="a" width="100%">
|
{isEmpty ? (
|
||||||
Confirm Purchase
|
<Button href="/" Component="a" width="100%">
|
||||||
</Button>
|
Continue Shopping
|
||||||
|
</Button>
|
||||||
|
) : (
|
||||||
|
<Button href="/checkout" Component="a" width="100%">
|
||||||
|
Proceed to Checkout
|
||||||
|
</Button>
|
||||||
|
)}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user