{{!-- Comentado 17/11/2016 por Josep Jarque , en la versión escritorio no sale el ICONO
{{#if mobile_promotion_media}}
      <img width="137" height="32" src="{{MEDIA_CONTENT_URL}}{{mobile_promotion_media}}" alt="{{long_promotion_text}}" class="promotion_image">
{{/if}}
--}}

<article>
    <div class="product_data">

        {{#if promotionsImage}}
            {{#each promotionsImage}}
               <img class="promotion_image" src="{{MEDIA_CONTENT_URL}}/resize_66x20{{this}}">
            {{/each}}
        {{/if}}

        {{#if promotion_text}}
            <span class="promo_text">{{promotion_text}}</span>
        {{/if}}


        {{#if friendlyURL}}
            <a id="item_description_{{catalog_ref_id}}" class="product_name" title="{{description}}" href="{{STORE_CONTEXT_ROOT}}{{friendlyURL}}">{{description}}</a>
        {{else}}
            <span id="item_description_{{catalog_ref_id}}" class="product_name">{{description}}</span>
        {{/if}}


        {{#if pum_weight}}
              <span class="weight"><span class="variable">{{i18n "product.variable.weight"}}</span>{{pum_weight}}</span>
        {{else}}
              {{#if pum}}
                    <span class="weight">{{pum}}</span>
              {{else}}
                    <span class="weight">&nbsp;</span>
              {{/if}}
        {{/if}}

        <!-- unit price -->
            {{#if sale_price_apply}}
                <p class="product_prices">
                    <span class="discount" id="list_price_{{catalog_ref_id}}"></span>
                    <span id="sale_price_{{catalog_ref_id}}" class="sale_price"> </span>{{i18n "mobile.commons.euro_symbol"}}

                    <span class="price">
                            <span id="total_price_{{catalog_ref_id}}"></span>{{i18n "mobile.commons.euro_symbol"}}
                            <script>
                                formatNumber('{{sale_price}}','sale_price_{{catalog_ref_id}}');
                                formatNumberWithCurrency('{{list_price}}','{{i18n "mobile.commons.euro_symbol"}}','list_price_{{catalog_ref_id}}');
                                formatNumber('{{amount}}','total_price_{{catalog_ref_id}}');
                            </script>

                    </span>
                </p>
            {{else}}
                <p class="product_prices">
                    <span id="list_price_{{catalog_ref_id}}" class="sale_price"></span>{{i18n "mobile.commons.euro_symbol"}}

                    <span class="price">
                            <span id="total_price_{{catalog_ref_id}}"></span>{{i18n "mobile.commons.euro_symbol"}}

                            <script>
                                formatNumber('{{list_price}}','list_price_{{catalog_ref_id}}');
                                formatNumber('{{amount}}','total_price_{{catalog_ref_id}}');
                            </script>

                    </span>
                </p>

            {{/if}}



            {{#if promotionDiscount }}
                <p class="product_savings">{{i18n "cartSummaryTemplate.teEstasAhorrando"}} <span id="total_discount_{{catalog_ref_id}}"></span></p>
                <script>
                    formatNumberWithCurrency('{{promotionDiscount}}','{{i18n "mobile.commons.euro_symbol"}}','total_discount_{{catalog_ref_id}}');
                </script>
            {{else}}
                <span class="item_block saving"></span>
            {{/if}}




        {{#eq catalog_ref_id tarifa_plana_id}}
                <div class="unit_container">
                    <label>
                        {{#if quantity}}
                            <span class="quantity_container" id="item_quantity_{{catalog_ref_id}}" data-product="{{product_id}}"/>{{quantity}}</span>
                        {{else}}
                            <span class="quantity_container" id="item_quantity_{{catalog_ref_id}}" data-product="{{product_id}}">0</span>
                        {{/if}}
                    </label>
                </div>
            {{else}}
                <div class="unit_container">
                    <a class="substract_button visible" title="{{i18n "shoppingCartTemplate.menos"}}" href="javascript:decrementItemCart('{{catalog_ref_id}}')"></a>
                    <label class="quantity_container" id="item_quantity_{{catalog_ref_id}}" data-product="{{product_id}}">
                        {{#if quantity}}
                            {{quantity}}
                        {{else}}
                            0
                        {{/if}}
                    </label>
                    <a class="add_button" title="{{i18n "shoppingCartTemplate.mas"}}" href="javascript:incrementItemCart('{{catalog_ref_id}}')"></a>
                    <a class="added_tick" title="Cambiar unidades" href="javascript:void(0);"></a>
                </div>

           {{/eq}}




        <a class="delete_button" title="{{i18n "mobile.shoppingCartMainTemplate.price.quitarProductoCesta"}}" href="javascript:showAlertDeleteItemForCart('{{catalog_ref_id}}');"></a>
    </div>
    <img class="product_image" alt="{{description}}" src="{{MEDIA_CONTENT_URL}}/resize_210x210{{product_large_image}}">
</article>







