<input id="product_id" type="hidden" value="{{product_id}}">
<span class="breadcrumbs">{{i18n "wine.breadcrumb"}} {{section_description}} &gt; <a class="breadcrumb_link" title="{{family_description}}" href="{{familyFriendlyURL}}">{{family_description}}</a> &gt; {{additionalProductInfo.WINE_CONDIS_DESCRIPTION}}</span>
<a class="back_button" title="Volver" href="javascript:history.back();">volver</a>

{{#if quantity}}
    <div class="product_container wine added">
{{else}}
    <div class="product_container wine">
{{/if}}
        {{#if large_promotion_media}}
            <img width="160" height="156" src="{{MEDIA_CONTENT_URL}}{{large_promotion_media}}" alt="{{long_promotion_text}}" class="promotion_image">
            {{#if productIconTooltipKey}}
                <a class="more_info" title="{{productIconTooltipKey}}" href="javascript:void(0);">
                    <span class="tooltip">{{productIconTooltipKey}}</span>
                </a>
            {{/if}}
        {{/if}}

        <div class="product_image_container">
            <div class="product_image">
                <img id="product_image" class="image" alt="{{product_description}}" src="{{MEDIA_CONTENT_URL}}/resize_395x416{{product_large_image}}"  data-zoom="{{MEDIA_CONTENT_URL}}/resize_1280x1347{{product_large_image}}" itemprop="image" width="395" height="416">
            </div>
            <p class="text_image">{{i18n "wine.image"}}</p>
        </div>
        <div class="product_data_container">
            <p class="brand_name">{{additionalProductInfo.WINE_DESCRIPTION}}</p>
            <h1 class="product_name" itemprop="name">{{additionalProductInfo.WINE_CONDIS_DESCRIPTION}}</h1>
            <p class="bottle_quantity">{{additionalProductInfo.WINE_FORMAT}}</p>
            <div class="product_data" itemprop="description">
                {{#if additionalProductInfo.WINERY}}
                    <span class="data_text">{{i18n "wine.winery"}} <span>{{additionalProductInfo.WINERY}}</span></span>
                {{/if}}

                {{#if additionalProductInfo.WINE_ZONE}}
                    <span class="data_text">{{i18n "wine.zone"}} <span>{{additionalProductInfo.WINE_ZONE}}</span></span>
                {{/if}}

                {{#if additionalProductInfo.WINE_ALCOHOL}}
                    <span class="data_text">{{i18n "wine.alcohol"}} <span>{{additionalProductInfo.WINE_ALCOHOL}}</span></span>
                {{/if}}

                {{#if additionalProductInfo.WINE_TEMPERATURE}}
                    <span class="data_text">{{i18n "wine.temperature"}} <span>{{additionalProductInfo.WINE_TEMPERATURE}}</span></span>
                {{/if}}

                {{#if additionalProductInfo.WINE_GRAPES}}
                    <span class="data_text">{{i18n "wine.grapes"}} <span>{{additionalProductInfo.WINE_GRAPES}}</span></span>
                {{/if}}

                {{#if additionalProductInfo.WINE_MONTHS_BARREL}}
                    <span class="data_text">{{i18n "wine.months.barrel"}} <span>{{additionalProductInfo.WINE_MONTHS_BARREL}}</span></span>
                {{/if}}

                {{#if additionalProductInfo.WINE_MONTHS_BOTTLE}}
                    <span class="data_text">{{i18n "wine.months.bottle"}} <span>{{additionalProductInfo.WINE_MONTHS_BOTTLE}}</span></span>
                {{/if}}

                {{#if additionalProductInfo.WINE_PUNCTUATION}}
                    <span class="data_text">{{i18n "wine.punctuation"}} <span>{{additionalProductInfo.WINE_PUNCTUATION}}</span></span>
                {{/if}}

                {{#if additionalProductInfo.WINE_ZONE_IMAGE}}
                    <img class="do_image" alt="{{additionalProductInfo.WINE_ZONE}}" src="{{MEDIA_CONTENT_URL}}/resize_144x46{{additionalProductInfo.WINE_ZONE_IMAGE}}" width="144" height="46">
                {{/if}}

                {{#if additionalProductInfo.WINE_CUP}}
                    <div class="wine_pairing">
                        <img alt="{{additionalProductInfo.WINE_CUP.MEAL_HINT}}" src="{{MEDIA_CONTENT_URL}}/resize_37x35{{additionalProductInfo.WINE_CUP.MEAL_IMAGE}}" width="37" height="35">
                    </div>
                {{/if}}

                {{#if additionalProductInfo.WINE_MEALS}}
                    {{#each additionalProductInfo.WINE_MEALS}}
                        <div class="wine_pairing">
                            <img alt="{{MEAL_HINT}}" src="{{MEDIA_CONTENT_URL}}/resize_37x35{{MEAL_IMAGE}}" width="37" height="35">
                        </div>
                    {{/each}}
                {{/if}}
            </div>

            <div class="bottom_container" itemprop="offers" itemscope itemtype="http://schema.org/Offer">
                {{#if pum}}
                    <div class="wine_pum">
                        <span class="price_per_litre">{{pum}}</span>
                    </div>
                {{/if}}

                <!-- Price -->
                {{#if on_sale_price}}
                    <span class="offer">{{i18n "product.before"}} <span id="list_price_{{product_id}}"></span>{{i18n "commons.euro_symbol"}}</span>
                    <span class="article_price" itemprop="price"><span id="sale_price_{{product_id}}"></span></span><span class="currency">{{i18n "commons.euro_symbol"}}</span>
                    <script>
                        formatNumber('{{price}}', 'list_price_{{product_id}}');
                        formatNumber('{{on_sale_price}}', 'sale_price_{{product_id}}');
                    </script>
                {{else}}
                    {{#if promotion_text}}
                        <span class="promotion">{{long_promotion_text}}</span>
                    {{/if}}
                    <span class="article_price" itemprop="price"><span id="list_price_{{product_id}}"></span></span><span class="currency">{{i18n "commons.euro_symbol"}}</span>
                    <script>
                        formatNumber('{{price}}', 'list_price_{{product_id}}');
                    </script>
                {{/if}}

                <meta itemprop="priceCurrency" content="EUR">
                <div class="unit_container">
                    <a class="add_button" title="{{i18n "productTemplate.mas"}}" href="javascript:void(0);">+</a>
                    <a class="added_tick" title="{{i18n "product.changeUnits"}}" href="javascript:void(0);"></a>

                    <label class="quantity_container">
                        {{#if quantity}}
                            <input class="input_quantity_product" id="item_quantity_{{product_id}}" type="number" data-product="{{product_id}}" value="{{quantity}}" min="1" max="999" required autocomplete="off">
                        {{else}}
                            {{#if ingredientUnits}}
                                <input class="input_quantity_product" id="item_quantity_{{product_id}}" type="number" data-product="{{product_id}}" value="{{ingredientUnits}}" min="1" max="999" required autocomplete="off">
                            {{else}}
                                <input class="input_quantity_product" id="item_quantity_{{product_id}}" type="number" data-product="{{product_id}}" value="" min="1" max="999" required autocomplete="off">
                            {{/if}}
                        {{/if}}
                    </label>

                    <a class="substract_button" title="{{i18n "productTemplate.menos"}}" href="javascript:void(0);">-</a>
                </div>

              <div class="button_container">
                    {{#if available_for_view}}
                        <a data-product-id="{{product_id}}" class="orange_button btn_add2cart" title="{{i18n "productTemplate.anadirCarrito"}}" onClick="dataLayer.push({event:'event_gtm', category:'acciones usuario', action:'a�adir producto desde la ficha'});" href="javascript:addToCartFromItemList('{{product_id}}', 'PDP')">{{i18n "commons.addCart_btn"}} &gt;</a>
                    {{else}}
                        <a class="white_button" title="{{i18n "productTemplate.anadirCarrito"}}" href="javascript:condisAlert('{{i18n "product.not.availalable"}}')">{{i18n "commons.addCart_btn"}} &gt;</a>
                    {{/if}}

                    <span class="added_button">En carrito</span>
                    <a class="white_button" title="{{i18n "productTemplate.anadirMiLista"}}" href="javascript:addToListFromItemList('{{product_id}}')" onClick="dataLayer.push({event: 'event_gtm',category:'acciones usuario', action:'a�adir producto a lista'});">{{i18n "commons.addlist"}}</a>
              </div>
        </div>
    </div>



    {{#if additionalProductInfo.WINE_INFO}}
        <div class="info_container">
            <div class="tabs_container">
                <span class="tab selected details">{{i18n "wine.details"}}</span>
            </div>
            <div class="info_content_container">
                <div class="info_content">
                    {{#if additionalProductInfo.WINE_ELABORATION}}
                        <p class="info_text elaboration">
                            <span class="image"></span>
                            <span class="info_title">{{i18n "wine.elaboration"}}</span>
                            {{additionalProductInfo.WINE_ELABORATION}}
                        </p>
                    {{/if}}
                    {{#if additionalProductInfo.TASTING_NOTES}}
                        <p class="info_text tasting">
                            <span class="image"></span>
                            <span class="info_title">{{i18n "wine.tastingNotes"}}</span>
                            {{additionalProductInfo.TASTING_NOTES}}
                        </p>
                    {{/if}}
                </div>
            </div>
        </div>
    {{/if}}

    {{#if PLEASE_PLUGIN_ENABLED}}
        <div class="related_products">
            <h2>{{i18n "product.relatedproducts"}}</h2>
            <div id="pdp_recommendations" class="recommendations"></div>
        </div>
    {{/if}}

</div>




<p class="social_pdp">{{i18n "wine.share"}}
    <a class="social_button fb" title="{{i18n "wine.facebook"}}" href="javascript:void(0)" onClick="javascript:fb_compartir('{{STORE_URL}}{{STORE_CONTEXT_ROOT}}{{friendlyURL}}');"></a>
    <a class="social_button tw" target="_blank" title="{{i18n "twitter.share"}} {{additionalProductInfo.WINE_DESCRIPTION}} {{additionalProductInfo.WINE_CONDIS_DESCRIPTION}}" href="https://twitter.com/intent/tweet?via=condislife&url={{STORE_URL}}{{STORE_CONTEXT_ROOT}}{{friendlyURL}}&text={{i18n "twitter.like"}} {{additionalProductInfo.WINE_DESCRIPTION}} {{additionalProductInfo.WINE_CONDIS_DESCRIPTION}} #Condisline"></a>
</p>

