{{--
The Template for displaying all single products

This template can be overridden by copying it to yourtheme/woocommerce/single-product.php.

HOWEVER, on occasion WooCommerce will need to update template files and you
(the theme developer) will need to copy the new files to your theme to
maintain compatibility. We try to do this as little as possible, but it does
happen. When this occurs the version of the template file will be bumped and
the readme will list any important changes.

@see         https://docs.woocommerce.com/document/template-structure/
@package     WooCommerce\Templates
@version     1.6.4
--}}

@extends('layouts.app')

@section('content')

    <div class="page-wrapper woocommerce-shop">

        {{-- Back to Shop Button --}}
        {{-- <div class="container back-to-shop">
            <a href="{{ home_url('/shop') }}" class="btn btn-link">
                <i class="bx bx-chevron-left"></i> Back to Shop
            </a>
        </div> --}}
        
        {{-- Shop Page Header (Static) --}}
        {{-- @include('partials.page-header-shop') --}}

        {{-- Page Content --}}
        @php
            do_action('get_header', 'shop');
            do_action('woocommerce_before_main_content');
        @endphp

        <div class="container single-product-page">

    
            <div class="shop-main">

                @while (have_posts())
                    @php
                        the_post();
                        wc_get_template_part('content', 'single-product');
                    @endphp
                @endwhile

            </div>

        </div>

        @php
            do_action('woocommerce_after_main_content');
            do_action('get_sidebar', 'shop');
            do_action('get_footer', 'shop');
        @endphp
        
        @if(get_field('bildeinpassung') == true ) {
            <style>
                .single-product-page .product .wp-post-image {
                    object-fit: contain;
                }
            </style>
        @endif
        }

    </div>

@endsection

{{-- @section('sidebar')
    @include('sections.sidebar')
@endsection --}}
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="https://www.regionalis.shop/wp-sitemap-index.xsl" ?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"><sitemap><loc>https://www.regionalis.shop/wp-sitemap-posts-post-1.xml</loc></sitemap><sitemap><loc>https://www.regionalis.shop/wp-sitemap-posts-page-1.xml</loc></sitemap><sitemap><loc>https://www.regionalis.shop/wp-sitemap-posts-product-1.xml</loc></sitemap><sitemap><loc>https://www.regionalis.shop/wp-sitemap-posts-product-2.xml</loc></sitemap><sitemap><loc>https://www.regionalis.shop/wp-sitemap-posts-product-3.xml</loc></sitemap><sitemap><loc>https://www.regionalis.shop/wp-sitemap-posts-product-4.xml</loc></sitemap><sitemap><loc>https://www.regionalis.shop/wp-sitemap-posts-product-5.xml</loc></sitemap><sitemap><loc>https://www.regionalis.shop/wp-sitemap-posts-mailpoet_page-1.xml</loc></sitemap><sitemap><loc>https://www.regionalis.shop/wp-sitemap-taxonomies-category-1.xml</loc></sitemap><sitemap><loc>https://www.regionalis.shop/wp-sitemap-taxonomies-producer-1.xml</loc></sitemap><sitemap><loc>https://www.regionalis.shop/wp-sitemap-taxonomies-region-1.xml</loc></sitemap><sitemap><loc>https://www.regionalis.shop/wp-sitemap-taxonomies-product_brand-1.xml</loc></sitemap><sitemap><loc>https://www.regionalis.shop/wp-sitemap-taxonomies-product_cat-1.xml</loc></sitemap><sitemap><loc>https://www.regionalis.shop/wp-sitemap-taxonomies-product_tag-1.xml</loc></sitemap></sitemapindex>
