@extends('front.layouts.master') @section('content')
@foreach ($product->galleries as $image) @endforeach
@foreach ($product->galleries as $image)
{{ $product?->getTranslatedAttribute('title') }}
@endforeach

{{ $product->getTranslatedAttribute('title') }}

{{ $product->code }}
{{ $product?->category?->getTranslatedAttribute('title') }}
@if($product->isvariant() && $product->main_product) @endif @if($product->variants()->count() > 0)
@foreach ($product->variants as $variant) {{ $variant?->getTranslatedAttribute('title') }}

{{ $variant?->getTranslatedAttribute('title') }}

@endforeach
@endif
{!! $product->getTranslatedAttribute('body') !!}
@endsection