{{ translate('Special Offer') }}
{{ translate('Black') }}
{{ translate('Fridays') }}
{{ translate('Fridays') }}
{{ translate('You May Also Like') }}
@php
use App\Models\Product;
$products = Product::where('published', 1)->latest()->take(6)->get();
$currency = session('currency_id',1);
$countryPrice = 0;
@endphp
@foreach ($products as $product)
@php
if ($country = countryIp($product)) {
$countryPrice = $country->price;
}
$price = $product->unit_price + $countryPrice;
$originPrice = $price * 1.2;
$price = number_format($price * getCurrency($currency)->exchange_rate, 2);
@endphp
{{getCurrency($currency)->symbol}}{{ number_format($product->unit_price + $product->discount, 2) }}
@endif
{{translate('QUICK VIEW')}}
@endforeach
{{getCurrency($currency)->symbol}}{{ $price }}
@if ($product->discount > 0)