@php $seoDescription = trim(strip_tags($product->product_description ?? ($product->name . ' — wholesale ordering'))); $seoCanonical = url()->current(); $seoImage = $product->image_url ?? ($settings->storefront_banner_image_url ?? null); $currency = config('constants.currency_symbol', '₹'); @endphp @extends('b2bportal::storefront.layouts.app', [ 'seoDescription' => $seoDescription, 'seoCanonical' => $seoCanonical, 'seoImage' => $seoImage, ]) @section('title', $product->name . ' — ' . ($business->name ?? 'B2B Portal')) @push('head') @endpush @section('content')
@if(count($productView['gallery'] ?? []) > 1)
@foreach($productView['gallery'] as $img) @endforeach
@endif @if(!empty($productView['colorImages']))
Available colours
@foreach($productView['colorImages'] as $colorName => $img) @endforeach
@endif

{{ $product->name }}

SKU: {{ $product->sku }}

@if(!empty($product->product_description))
{!! nl2br(e(strip_tags($product->product_description))) !!}
@endif

@include('b2bportal::storefront.components.product-matrix', $productView + ['tiers' => $tiers]) @endsection