@extends('ecommerce::frontend.layout.main') @section('title') {{ $ecommerce_setting->site_title ?? '' }} @endsection @section('description') @endsection @push('css') @endpush @section('content')
{{trans('file.product')}} | {{trans('file.Price')}} |
---|---|
delete
@if($product->image!==null)
@php
$images = explode(',', $product->image);
$product->image = $images[0];
@endphp
{{ $product->name }}
@if(isset($product->unit))
({{ $product->unit->unit_name }})
@endif
@if(($product->promotion == 1) && (($product->last_date > date('Y-m-d')) || !isset($product->last_date)))
{{$currency->symbol ?? $currency->code}}{{ $product->promotion_price }}
{{$currency->symbol ?? $currency->code}}{{ $product->price }}
@else
{{$currency->symbol ?? $currency->code}}{{ $product->price }}
@endif
@if($product->in_stock == 1)
@if(is_null($product->is_variant))
@else
@endif
@else
{{trans('file.Out of stock')}}
@endif
|
@if(($product->promotion == 1) && (($product->last_date > date('Y-m-d')) || !isset($product->last_date))) {{$currency->symbol ?? $currency->code}}{{ $product->promotion_price }} {{$currency->symbol ?? $currency->code}}{{ $product->price }} @else {{$currency->symbol ?? $currency->code}}{{ $product->price }} @endif @if($product->in_stock == 1) @if(is_null($product->is_variant)) @else @endif @else {{trans('file.Out of stock')}} @endif |