@if(!empty($product->gallery))
@php
$product_gllery_images = !empty( $product->gallery) ? explode('|', $product->gallery) : [];
@endphp
@foreach($product_gllery_images as $gl_img)
{!! render_image_markup_by_attachment_id($gl_img,'','large') !!}
@endforeach
@foreach($product_gllery_images as $gl_img)
{!! render_image_markup_by_attachment_id($gl_img,'','thumb') !!}
@endforeach
@else
{!! render_image_markup_by_attachment_id($product->image,'','large') !!}
@endif
@if(count($product->ratings) > 0)
({{count($product->ratings)}})
@endif
@if(!get_static_option('display_price_only_for_logged_user'))
{{$product->sale_price == 0 ? __('Free') : amount_with_currency_symbol($product->sale_price)}}
@if(!empty($product->regular_price))
{{amount_with_currency_symbol($product->regular_price)}}
@endif
@endif
{{$product->short_description}}
@if($product->stock_status == 'out_stock')
{{__('Out Of Stock')}}
@else
@if(!empty($product->variant))
@foreach(json_decode($product->variant) as $id => $terms)
@php
$variant = get_product_variant_list_by_id($id);
@endphp
@if(!empty($variant))
{{$variant->title}}
@php
$prices = json_decode($variant->price);
@endphp
@foreach($terms as $term)
@php
$v_term_index = array_search($term,json_decode($variant->terms,true));
@endphp
-
{{$term}}
@if(isset($prices[$v_term_index]) && !empty($prices[$v_term_index]))
+ {{amount_with_currency_symbol($prices[$v_term_index])}}
@endif
@endforeach
@endif
@endforeach
@endif
@endif
@if($product->is_downloadable === 'on' && $product->direct_download === 1)
@elseif($product->stock_status === 'in_stock')
@endif
{{get_static_option('product_single_'.$user_select_lang_slug.'_category_text')}}
{!! get_product_category_by_id($product->category_id,'link') !!}
{{get_static_option('product_single_'.$user_select_lang_slug.'_subcategory_text')}}
{!! get_product_subcategory_by_id($product->subcategory_id,'link') !!}
@if(!empty($product->sku))
{{get_static_option('product_single_'.$user_select_lang_slug.'_sku_text')}}
{{$product->sku}}
@endif
- {{__('Share')}}:
{!! single_post_share(route('frontend.blog.single',$product->slug),$product->title,$post_img) !!}