Loading…
Loading…
Single product display page with add-to-cart options
The single product display page at /product/[slug].
app/product/[slug]/page.tsx # or app/(main)/product/[slug]/page.tsx
ShopProduct (server) - Fetches product data by slugProductProvider - Client-side product state and contextProductImage - Product image galleryCartOptions (server) - Renders the appropriate add-to-cart component based on product type:
SimpleCartOptions - Simple productsVariableCartOptions - Variable products with attribute selectorsGroupedCartOptions - Grouped products (when grouped product type enabled)ExternalCartOptions - External/affiliate products (when external product type enabled)BundleCartOptions - Bundle products (when bundle product type enabled)CompositeCartOptions - Composite products (when composite product type enabled)ProductReviews (server) - Customer reviews sectionReviewForm - Review submission formThis page is always generated. The add-to-cart components vary based on the productTypes configuration.