forked from crowetic/commerce
Change action buttons for /cart
This commit is contained in:
@@ -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>
|
||||||
|
Reference in New Issue
Block a user