@extends('frontend.frontend-page-master') @section('site-title') {{$product->title}} @endsection @section('style') @endsection @section('page-title') {{$product->title}} @endsection @section('page-meta-data') @endsection @php $post_img = null; $blog_image = get_attachment_image_by_id($product->image,"full",false); $post_img = !empty($blog_image) ? $blog_image['img_url'] : ''; @endphp @section('og-meta') {!! render_og_meta_image_by_attachment_id($product->image) !!} @endsection @section('edit_link')
  • {{__('Edit Product')}}
  • @endsection @section('breadcrumb')
  • {{get_product_category_by_id($product->category_id)}}
  • {{$product->title}}
  • @endsection @section('content')
    @include('backend.partials.message')
    @if(!empty($product->gallery)) @php $product_gllery_images = !empty( $product->gallery) ? explode('|', $product->gallery) : []; @endphp @else
    {!! render_image_markup_by_attachment_id($product->image,'','large') !!}
    @endif
    @if(count($product->ratings) > 0)

    ({{count($product->ratings)}})

    @endif
    {{amount_with_currency_symbol($product->sale_price)}} @if(!empty($product->regular_price)) {{amount_with_currency_symbol($product->regular_price)}}@endif

    {{$product->short_description}}

    @if($product->stock_status == 'out_stock')
    {{__('Out Of Stock')}}
    @else
    @csrf
    @endif
    {{get_static_option('product_single_'.$user_select_lang_slug.'_category_text')}} {!! get_product_category_by_id($product->category_id,'link') !!}
    @if(!empty($product->sku))
    {{get_static_option('product_single_'.$user_select_lang_slug.'_sku_text')}} {{$product->sku}}
    @endif
    @if(!empty($product->description)) @endif @if(!empty($product->attributes_title)) @endif
    @if(count($related_products) > 0)
    @endif
    @endsection @section('scripts') @endsection