{{-- Single product page wrapper. Mirrors the structure of WC's own `single-product.php` so the standard hooks fire in the order WC, plugins, and SEO/schema extensions expect: woocommerce_before_main_content → breadcrumb + our .container.wc-wrap opener while have_posts → wc_get_template_part('content', 'single-product') → fires woocommerce_before_single_product → renders gallery, summary, tabs, related (each through their own hooks) woocommerce_after_main_content → our .container.wc-wrap closer This is intentionally not a catch-all `woocommerce.blade.php` — see the comment in woocommerce/single-product.php for why. --}} @extends('layouts.app') @section('content') @php(do_action('woocommerce_before_main_content')) @while (have_posts()) @php(the_post()) @php(wc_get_template_part('content', 'single-product')) @endwhile @php(do_action('woocommerce_after_main_content')) @endsection