4
0
forked from crowetic/commerce

Change action buttons for /cart

This commit is contained in:
Luis Alvarez 2020-10-27 00:54:34 -05:00
parent 7f7795ec87
commit 4772878234

View File

@ -120,9 +120,15 @@ export default function Cart() {
</div>
<div className="flex flex-row justify-end">
<div className="w-full lg:w-72">
<Button href="/checkout" Component="a" width="100%">
Confirm Purchase
</Button>
{isEmpty ? (
<Button href="/" Component="a" width="100%">
Continue Shopping
</Button>
) : (
<Button href="/checkout" Component="a" width="100%">
Proceed to Checkout
</Button>
)}
</div>
</div>
</div>