{!!$tabname->description!!}
@if (session()->has('success_message'))
@endif
@php
$images = json_decode($product->images, true) ?? [];
@endphp
@if ($product->quantity > 0)
@endif
{{ session()->get('success_message') }}
@endif
@if(count($errors) > 0)
-
@foreach ($errors->all() as $error)
- {{ $error }} @endforeach
Offer Price:
{{ number_format($product->price)}}
MRP:
{{ number_format($product->manufacturing_cost) }}
@php
$savings = 0;
if ($product->manufacturing_cost > 0) {
$savings = round((($product->manufacturing_cost - $product->price) / $product->manufacturing_cost) * 100);
}
@endphp
You Save {{ abs($savings) }}%
{!! $product->description !!}
{{ $product->details }}
@foreach ($tab->all() as $tabname)
@endforeach