HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/SBogers10/topswtw.komma.pro/app/storage/views/f0f5a8f14f6dfe4ffa2aea74b3d49af3
<?php $__env->startSection('content'); ?>

    <?php echo $__env->make('google/product-snipped', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>

    <div class="product-detail-page mobile-page">

        <div class="return-button">

            <?php if(isset($brand)): ?>
                <a href="/<?php echo $brand->route; ?>">
                    <?php echo $brand->name; ?>

                </a>
            <?php else: ?>
                <a href="/<?php echo $shop->getPageService()->page('brands')->route; ?>">
                    <?php echo \Illuminate\Support\Facades\Lang::get('mobile.back_to_brands_overview'); ?>
                </a>
            <?php endif; ?>

        </div>

        <article class="product-detail product-block" ng-controller="productOverviewItemController">

            <figure class="komma-image-changer image-holder product-detail-image column fluid-50">
                <?php if( $product->images && is_file($_SERVER['DOCUMENT_ROOT'] . $product->images[0]->medium_image_url )): ?>
                    <img src="<?php echo $product->images[0]->medium_image_url; ?>"
                         alt="<?php echo $product->brand_name; ?> <?php echo $product->name; ?>" class="main-image"/>
                <?php else: ?>
                    <img src="/images/structure/noImageLarge.jpg" alt="No image found" class="main-image"/>
                <?php endif; ?>
                <?php /*<?php if( count($product->images) > 1 ): ?>*/ ?>
                    <?php /*<div class="clear"></div>*/ ?>
                    <?php /*<ul class="thumbs">*/ ?>
                        <?php /*<?php foreach($product->images as $image): ?>*/ ?>
                            <?php /*<li>*/ ?>
                                <?php /*<a href="<?php echo $image->medium_image_url; ?>">*/ ?>
                                    <?php /*<img src="<?php echo $image->thumb_image_url; ?>"*/ ?>
                                         <?php /*alt="<?php echo $product->brand_name; ?> <?php echo $product->name; ?>"/>*/ ?>
                                <?php /*</a>*/ ?>
                            <?php /*</li>*/ ?>
                        <?php /*<?php endforeach; ?>*/ ?>
                    <?php /*</ul>*/ ?>
                <?php /*<?php endif; ?>*/ ?>
            </figure>

            <div class="product-info">

                <?php /*The Json of the product Discounts*/ ?>
                <script type="application/json" json-data ng-model="discountData">
                    <?php echo $product->discounts; ?>

                </script>

                <?php /*Product Title*/ ?>
                <h2 class="product-title">
                    <?php echo $__env->make('mobile.partials.products.title', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
                </h2>

                <?php /*Article number*/ ?>
                <p class="article-number">
                    <strong><?php echo Lang::get('pages/products.article_number'); ?></strong>

                    <?php if($product->article_number and $product->article_number != '-'): ?>
                        <span><?php echo $product->supplier_name; ?>

                            :</span> <?php echo str_replace('+', '+<wbr>', $product->article_number); ?><br/>
                    <?php endif; ?>

                    <span>TOPS:</span> <?php echo $product->internal_article_number; ?>

                </p>

                <?php /*Pricing Detail page*/ ?>
                <?php echo $__env->make('partials.products.pricesBlock', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>

                <?php /*In Stock*/ ?>
                <div class="stock dt-<?php echo $product->delivery_time; ?>">
                    <span></span> <?php echo Lang::get('pages/products.' . $product->delivery_time); ?>

                </div>
            </div>


            <?php /* Specifications holder */ ?>
            <?php if(is_array($product->composition) && count($product->composition) || $product->special_2): ?>
                <div class="specs-holder">
                    <?php if(is_array($product->composition) && count($product->composition)): ?>
                        <h3><?php echo Lang::get('pages/products.you_will_receive'); ?></h3>
                        <?php echo $__env->make('mobile.partials.composition',['composition' => $product->composition], array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
                    <?php endif; ?>
                    <?php if($product->special_2): ?>
                        <?php echo $__env->make('partials.products.warning', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
                    <?php endif; ?>
                </div>
            <?php endif; ?>

            <?php /* Order bar */ ?>
            <div class="mobile-order">
                <form action="/<?php echo $shop->getPageService()->page('cart')->route; ?>/addProductById/<?php echo $product->id; ?>"
                      method="get"
                      data-ecommerce-add-to-cart-data='<?php echo json_encode($product->addToCartEcommerceData); ?>'
                >
                    <div class="quantity-holder">
                        <input type="number" name="quantity" ng-value="1" ng-model="quantity"/>

                        <?php /*<div class="quantity-btns">*/ ?>
                        <?php /*<div class="quantity-btn add" ng-click="addToQuantity(1)"></div>*/ ?>
                        <?php /*<div class="quantity-btn remove" ng-click="addToQuantity(-1)"></div>*/ ?>
                        <?php /*</div>*/ ?>
                    </div>
                    <div class="btn-holder">
                        <?php echo $__env->make('partials.buttons.input',[
                                    'input' => Form::submit(''),
                                    'text' => Lang::get('pages/products.add_to_cart'),
                                    'class' => 'green-btn'
                                ], array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
                    </div>
                </form>
                <?php echo $__env->make('partials/products/discountBar', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
            </div>

            <div class="selling-points-mobile">
                <?php echo $__env->make('mobile.partials.benefits', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
            </div>

            <?php if(empty($products)): ?>
                <div class="text-block">
                    <h2><?php echo \Illuminate\Support\Facades\Lang::get('pages/products.description'); ?></h2>
                    <p>
                        <?php echo $product->description; ?>

                    </p>
                </div>
            <?php endif; ?>

            <?php if(isset($product->download_1) || isset($product->download_2) || isset($product->download_3)): ?>
                <div class="downloads">
                    <h3><?php echo ucfirst(Lang::get('pages/products.downloads')); ?></h3>
                    <?php if(isset($product->download_1)): ?> <a class="btn  download-button" target="_blank" href="<?php echo $product->download_1->url; ?>"><?php echo $product->download_1_name ? $product->download_1_name : 'Download 1'; ?></a> <?php endif; ?>
                    <?php if(isset($product->download_2)): ?> <br><br><a class="btn  download-button" target="_blank" href="<?php echo $product->download_2->url; ?>"><?php echo $product->download_2_name ? $product->download_2_name : 'Download 2'; ?></a> <?php endif; ?>
                    <?php if(isset($product->download_3)): ?> <br><br><a class="btn  download-button" target="_blank" href="<?php echo $product->download_3->url; ?>"><?php echo $product->download_3_name ? $product->download_3_name : 'Download 3'; ?></a> <?php endif; ?>
                </div>
            <?php endif; ?>

            <div class="quick-order">

                <h3><?php echo \Illuminate\Support\Facades\Lang::get('mobile.yesThisProduct'); ?></h3>

                <figure class="komma-image-changer image-holder product-detail-image column fluid-50">
                    <?php if( $product->images && is_file($_SERVER['DOCUMENT_ROOT'] . $product->images[0]->medium_image_url )): ?>
                        <img src="<?php echo $product->images[0]->medium_image_url; ?>"
                             alt="<?php echo $product->brand_name; ?> <?php echo $product->name; ?>" class="main-image"/>
                    <?php else: ?>
                        <img src="/images/structure/noImageLarge.jpg" alt="No image found" class="main-image"/>
                    <?php endif; ?>
                    <?php /*<?php if( count($product->images) > 1 ): ?>*/ ?>
                        <?php /*<div class="clear"></div>*/ ?>
                        <?php /*<ul class="thumbs">*/ ?>
                            <?php /*<?php foreach($product->images as $image): ?>*/ ?>
                                <?php /*<li>*/ ?>
                                    <?php /*<a href="<?php echo $image->medium_image_url; ?>">*/ ?>
                                        <?php /*<img src="<?php echo $image->thumb_image_url; ?>"*/ ?>
                                             <?php /*alt="<?php echo $product->brand_name; ?> <?php echo $product->name; ?>"/>*/ ?>
                                    <?php /*</a>*/ ?>
                                <?php /*</li>*/ ?>
                            <?php /*<?php endforeach; ?>*/ ?>
                        <?php /*</ul>*/ ?>
                    <?php /*<?php endif; ?>*/ ?>
                </figure>

                <div class="product-info">

                    <?php /*The Json of the product Discounts*/ ?>
                    <script type="application/json" json-data ng-model="discountData">
                        <?php echo $product->discounts; ?>

                    </script>

                    <?php /*Product Title*/ ?>
                    <h2 class="product-title">
                        <?php echo $__env->make('mobile.partials.products.title', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
                    </h2>

                    <?php /*Pricing Detail page*/ ?>
                    <?php echo $__env->make('partials.products.pricesBlock', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>

                    <?php /*In Stock*/ ?>
                    <div class="stock dt-<?php echo $product->delivery_time; ?>">
                        <span></span> <?php echo Lang::get('pages/products.' . $product->delivery_time); ?>

                    </div>
                </div>

                <?php /* Order bar */ ?>
                <div class="mobile-order">
                    <form action="/<?php echo $shop->getPageService()->page('cart')->route; ?>/addProductById/<?php echo $product->id; ?>"
                          method="get">
                        <div class="quantity-holder">
                            <input type="number" name="quantity" ng-value="1" ng-model="quantity"/>
                        </div>
                        <div class="btn-holder">
                            <?php echo $__env->make('partials.buttons.input',[
                                        'input' => Form::submit(''),
                                        'text' => Lang::get('pages/products.add_to_cart'),
                                        'class' => 'green-btn'
                                    ], array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
                        </div>
                    </form>
                </div>

            </div>


        </article>


    </div>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('mobile.master', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>