@foreach ($product_details->attributes as $attributes)
@php
$attribute_ids = explode(',', $attributes['ids']);
$attribute_values = explode(',', $attributes['value']);
@endphp
{{ $attributes['name'] }}:
@endforeach
{{-- @dd($product_details->attributes); --}}
@php
$variant_id = $product_details->id;
$variant_price = $product_details->special_price;
@endphp
{{-- {{ dd($product_details)}} --}}
total_allowed_quantity == 0 ? '' : "data-max=' $product_details->total_allowed_quantity '" }}
data-step='{{ $product_details->quantity_step_size }}'
data-min='{{ $product_details->minimum_order_quantity }}'
data-stock-type='{{ $product_details->stock_type }}'
data-store-id='{{ $product_details->store_id }}'
data-variant-price="{{ $variant_price }}">
{{ labels('front_messages.add_to_cart', 'Add to cart') }}
total_allowed_quantity == 0 ? '' : "data-max=' $product_details->total_allowed_quantity '" }}
data-step='{{ $product_details->quantity_step_size }}'
data-min='{{ $product_details->minimum_order_quantity }}'
data-store-id='{{ $product_details->store_id }}'
data-variant-price="{{ $variant_price }}">
{{ labels('front_messages.buy_it_now', 'Buy it now') }}
@if ($product_details->product_type == 'digital_product')
{{ labels('front_messages.digital_product', 'Digital Product') }}
@else
@if (!empty($product_details->guarantee_period))
{{ $product_details->guarantee_period }}
@else
{{ labels('front_messages.no_guarantee', 'No Guarantee') }}
@endif
@if (!empty($product_details->warranty_period))
{{ $product_details->warranty_period }}
@else
{{ labels('front_messages.no_warranty', 'No Warranty') }}
@endif
{{ $product_details->is_returnable == 1 ? 'Returnable' : 'Non Returnable' }}
{{ $product_details->cod_allowed == 1 ? 'Cash on Delivery available' : 'Cash on Delivery Not available' }}
@if ($product_details->is_cancelable == 1)
{{ labels('front_messages.cancel_till', 'Cancel Till') }}
{{ $product_details->cancelable_till }}
@else
{{ labels('front_messages.non_cancelable', 'Non Cancelable') }}
@endif
@if ($product_details->stock_type != '')
{{ labels('front_messages.availability', 'Availability') }}:
@if ($product_details->availability >= 1)
{{ labels('front_messages.in_stock', 'In stock') }}:
@else
{{ labels('front_messages.out_of_stock', 'Out of Stock') }}:
@endif
@endif
@endif
{{-- @dd($product_details) --}}
|{{ $product_details->seller_rating }}
@if ($product_details->product_type != 'digital_product')
@if ($deliverabilitySettings != false)
{{ labels('front_messages.check_product_deliverability', 'Check Product Deliverability') }}
@if ($deliverabilitySettings[0]->product_deliverability_type == 'city_wise_deliverability')
{{ labels('front_messages.city', 'City') }}
*
@else
{{ labels('front_messages.pincode', 'Pincode') }} *
@endif
{{ labels('front_messages.check', 'Check') }}
@if ($deliverabilitySettings[0]->product_deliverability_type == 'city_wise_deliverability')
{{ labels('front_messages.city_not_on_list', 'If your city is not on the list') }}
{{ labels('front_messages.cannot_deliver', 'we cannot deliver the product there') }}.
@endif
@endif
@endif