@if (is_array($gallery))
@foreach ($gallery as $key => $values)
@endforeach
@endif
{!! Str::limit(clean($product->description, 'clean_all'), 200, '...') !!}
{!! \Bio::price($product->price, $bio->id) !!}
@if (!empty($product->comparePrice))
{!! \Bio::price($product->comparePrice, $bio->id) !!}
@endif
@if (!$variant->isEmpty())
{{ __('Options') }}
{{ __('Choose a product option to continue.') }}
@foreach ($variant as $item)
@endforeach
@endif
- {{ $product->productType ? __('Downloadable Product') : __('Normal Product') }}
{{ $product->name }}
{!! clean($product->description) !!}
@if (ao($product->stock_settings, 'enable'))
@if (!empty(ao($product->stock_settings, 'sku')))
{{ __('SKU') }}:{{ ao($product->stock_settings, 'sku') }}
@endif
{{ __('Stock') }}:{{ ao($product->stock) }}
@endif
@if ($has_order && $product->productType == 1)
@if (is_array($product->files))
{{ __('Unlocked.') }}
{{ __('Download your unlocked files.') }}
@foreach ($product->files as $key => $value)
@endforeach
@else
{{ __('Downloadables has not been set by this page.') }}
@endif
@endif
@if ($has_order)
@else
{{ __('Purchase this product to leave a review.') }}
@endif
@if ($has_order)
@if (is_array($user_orders))
@foreach ($user_orders as $item)
{!! \Bio::price($item->price, $bio->id) !!}
{{ \Sandy\Blocks\shop\Helper\Shop::order_status($item->status) }}
{{ \Carbon\Carbon::parse($item->created_at)->toFormattedDateString() }}
@endforeach
@endif
@endif