@extends('front.layout.app') @section('title', 'Our Store') @section('content')
image

{{ $store->content['banner_heading'] ?? '' }} {{ $store->content['banner_heading_imp'] ?? '' }}

{{ $store->content['banner_description'] ?? '' }}

{{--

Shop Our Products!

@if (isset($findSlug)) @forelse ($findSlug->products as $item) @empty

no data found

@endforelse @endif
--}}
@if (isset($findSlug) && $findSlug->slug == 'clothing-&-accessories')
{{-- @dd($products['result']) --}} @if (!empty($products['result'])) @foreach ($products['result'] as $product) @php $productDetails = \App\Services\PrintfulService::fetchOne($product['id']); $productPrices = \App\Services\PrintfulService::getTopAndBottomPrices($productDetails); @endphp
{{ $product['name'] }}

{{ $product['name'] }}

{{ $product['description'] ?? '' }}

@if (isset($productPrices['topPrice'])) {{--
${{ $product['variants'][0]['retail_price'] }} @if (isset($product['variants'][0]['original_price'])) - ${{ $product['variants'][0]['original_price'] }} @endif
--}}
${{ number_format($productPrices['bottomPrice'] * 1.2, 2) }} - ${{ number_format($productPrices['topPrice'] * 1.2, 2) }}
@else
No price available
@endif View Product
@endforeach @else

Comming Soon!

@endif
@else

Comming Soon!

@endif
{{-- @include('front.include.stories') --}} @endsection