@extends('layouts.main') @section('title', $product->name) @section('meta_description', strip_tags($product->description)) @section('meta_keywords', $product->name . ', ' . ($product->category ? $product->category->name : 'ürün') . ', Serap Gerebiç, Kilis, geleneksel lezzetler') @section('og_title', $product->name) @section('og_description', strip_tags($product->description)) @section('og_type', 'product') @if($product->images->count() > 0) @section('og_image', asset('storage/' . $product->images->first()->image_path)) @section('twitter_image', asset('storage/' . $product->images->first()->image_path)) @endif @push('styles') @endpush @section('content')
@foreach($product->images as $image)
{{ $product->name }}
@endforeach
@foreach($product->images as $image)
{{ $product->name }}
@endforeach

{{ $product->name }}

@if($product->description)
{!! $product->description !!}
@endif @if($product->sub_description)
{!! $product->sub_description !!}
@endif
₺{{ number_format($product->price, 2) }} / kg
@if($product->activeWeights->count() > 0) @foreach($product->activeWeights as $weightOption) @endforeach @else @endif
@if($product->allergens->count() > 0)
@foreach($product->allergens as $allergen) {{ $allergen->name }} @endforeach
@endif
@include('partials.add-to-cart-button', [ 'product' => $product, 'buttonClass' => 'w-full bg-[#2C5530] text-white py-4 rounded-lg font-medium hover:bg-[#234226] transition-colors flex items-center justify-center gap-2', 'iconClass' => 'h-6 w-6', 'textClass' => 'text-base font-medium', 'showQuantitySelector' => true, 'fullWidth' => true ]) Sepete Git
@endsection @push('scripts') @endpush