@if($allproducts->cutted_price !=null)
@php
$cuttedprice_featured = $allproducts->cutted_price;
$productprice_featured = $allproducts->product_price;
$percentage_featured =
(($cuttedprice_featured - $productprice_featured) /
$cuttedprice_featured) *
100;
@endphp
{{ floor($percentage_featured) }}%
@else
@endif
@if(Auth::check())
@php
$user=Auth::user();
$productexists=App\Models\Wishlist::where('user_id',$user->id)->where('product_id',$allproducts->id)->exists();
@endphp
@if($productexists)
@else
@endif
@else
@endif