@php use Botble\Base\Facades\BaseHelper; use Botble\Ecommerce\Facades\EcommerceHelper; use Botble\Theme\Facades\Theme; $isOutOfStock = $isOutOfStock ?? (method_exists($product, 'isOutOfStock') ? $product->isOutOfStock() : false); $isPreOrder = $isPreOrder ?? (bool) ($product->is_pre_order ?? false); $hasCustomerNote = $hasCustomerNote ?? (bool) ($product->customer_note_enabled ?? false); $hasVolumeDiscount = $hasVolumeDiscount ?? (bool) ($product->enable_volume_discount ?? false); $hasBuyXGetY = $hasBuyXGetY ?? (bool) ($product->enable_buy_x_get_y ?? false); $hasBundleTogether = $hasBundleTogether ?? (bool) ($product->frequently_bought_together ?? false); $flashSale = $flashSale ?? null; $selectedAttrs = $selectedAttrs ?? []; // Quick-view variant: inline social share row replaces the modal-trigger, // and the nested #share modal isn't rendered (Bootstrap doesn't stack modals reliably). $isQuickView = $isQuickView ?? false; $isAffiliate = (bool) ($product->is_affiliate ?? false); $affiliateUrl = $product->external_url ?? null; $stockProgress = (int) ($product->stock_progress ?? 0); @endphp
@foreach ($product->categories as $category) {{ $category->name }}{{ ! $loop->last ? ', ' : '' }} @endforeach
@endif{{ __('Quantity:') }}