Aaaa
Aaaa
Aaaa
27:-min=after 15,18:21
26:-variation color,size
@php
$total=$total+($val['price']+'45');
@endphp
$cart=session()->get('cart');
if($cart!='')
{
`
}
$promocode=promocode::where([['co_code'],['status',0]])->first();
if($promocode!='')
{
if($promocode->u_id==0 || (session()->has('user') &&
$promocode->u_id==$uid) )
{
// echo "Valid Promocode";
if($total>=$promocode->min_order)
{
}
}
else
{
echo "Invalid Promocodes";
}
else
{
echo "Invalid Promocode";
}
}
else
{
echo "Your Cart Is Empty";
}