Loading...
@if (count($product) >= 1)
@php $main_image = dynamic_image($product[0]->image, 800); @endphp
{{ $product[0]->name }}
@if (count($product[0]->other_images) >= 1) @foreach ($product[0]->other_images as $key => $images) @php $images = dynamic_image($images, 800); @endphp
{{ $product[0]->name }}
@endforeach @endif
@php $main_image = dynamic_image($product[0]->image, 200); @endphp {{ $product[0]->name }}
@if (count($product[0]->other_images) >= 1) @foreach ($product[0]->other_images as $key => $images) @php $images = dynamic_image($images, 200); @endphp
{{ $product[0]->name }}
@endforeach @endif
{{-- @dd($product[0]->slug) --}}
{{ labels('front_messages.view_more_details', 'View More Details') }}
@if (count($product[0]->tags) >= 1)
@foreach ($product[0]->tags as $tag) {!! $tag !!} @endforeach
@endif

{{ $product[0]->name }}

{{ $product[0]->no_of_ratings }} {{ labels('front_messages.reviews', 'Reviews') }}
@if ($product[0]->type == 'combo-product') {{ currentCurrencyPrice($product[0]->special_price, true) }} @else {{ $product[0]->type != 'variable_product' ? currentCurrencyPrice($product[0]->variants[0]->special_price, true) : currentCurrencyPrice($product[0]->min_max_price['max_price'], true) . '-' . currentCurrencyPrice($product[0]->min_max_price['special_min_price'], true) }} @endif
@php if ($this->product_type != 'combo-product') { $category = fetchDetails( 'categories', ['id' => $product[0]->category_id], 'slug', ); } @endphp @if ($product[0]->product_type == 'digital_product')

{{ labels('front_messages.digital_product', 'Digital Product') }}

@endif @if ($this->product_type != 'combo-product') @if (!empty($product[0]->brand_name)) {!! $product[0]->brand_name !!} @endif {!! $product[0]->category_name !!} @endif
{{ $product[0]->short_description }}

@if ($this->product_type == 'combo-product')

{{ labels('front_messages.products_included_in_combo', 'Products Included In Combo') }}

@foreach ($product[0]->product_details as $item) @php $item_image = dynamic_image($item['image'], 200); @endphp @endforeach
{{ $item['name'] }}
{{ $item['name'] }}
@endif
@foreach ($product[0]->attributes as $attributes) @php $attribute_ids = explode(',', $attributes['ids']); $attribute_values = explode(',', $attributes['value']); @endphp
    @foreach ($attribute_values as $key => $val)
  • {{ $val }}
  • @endforeach
@endforeach
@if ($this->product_type != 'combo-product') @foreach ($product[0]->variants as $variant) @endforeach @endif
total_allowed_quantity }}' step='{{ $product[0]->quantity_step_size }}' min='{{ $product[0]->minimum_order_quantity }}' />
@php if ($this->product_type != 'combo-product') { if (count($product[0]->variants) <= 1) { $variant_id = $product[0]->variants[0]->id; } else { $variant_id = ''; } } else { $variant_id = $product[0]->id; } @endphp
Share :
@endif