add: links to cart, address and checkout page
This commit is contained in:
@@ -5,6 +5,7 @@ import { useReceiptStore } from '@/zustand/receiptStore';
|
||||
import { motion } from 'framer-motion';
|
||||
import { ArrowLeft, Trash } from 'iconsax-react';
|
||||
import { PlusIcon, MinusIcon } from 'lucide-react';
|
||||
import Link from 'next/link';
|
||||
import { useRouter } from 'next/navigation';
|
||||
import React from 'react'
|
||||
import { useTranslation } from 'react-i18next';
|
||||
@@ -114,9 +115,12 @@ const CartIndex = ({ }: Props) => {
|
||||
<div className='text-xs'>{t('SumOfItemsLabel')}</div>
|
||||
<div className="text-sm font-medium">{t('SumOfItemsValue').replace('{price}', '560.000')}</div>
|
||||
</div>
|
||||
<Button>
|
||||
{t('ButtonCheckout')}
|
||||
</Button>
|
||||
<Link
|
||||
href={'order/checkout/0'}>
|
||||
<Button>
|
||||
{t('ButtonCheckout')}
|
||||
</Button>
|
||||
</Link>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user