<commit_before><div class="callout cart-item">
    <div class="row">
        
        <div class="small-12 large-4 columns cart-item__section">
            <div class="row">
                <div class="small-12 medium-4 large-12 columns">
                    <strong class="cart-item__section-title">Product</strong>
                </div>
                <div class="small-12 medium-8 large-12 columns">
                    <ul class="no-bullet">
                        <li class="lead">{{ cartItem.name }} - <strong>{{ cartItem.unitGrossPrice | money }}</strong></li>
                        <li class="__secondary"><small>{{ 'cart.item.sku' | trans }} {{cartItem.sku}}</small></li>
                        {% set imageSet = cartItem.imageSets | first %}
                            {% if imageSet is not empty  %}
                                {% set productImage = imageSet.productImages | first %}
                                {% if productImage is not empty  %}
                                    <li>
                                        <img class="thumbnail cart-item__image" src="{{ productImage.externalUrlLarge }}" />
                                    </li>
                                {% endif %}
                            {% endif %}
                        <li>
                            <a href="/cart/remove/{{cartItem.sku}}/{{cartItem.groupKey}}">
                                &times; <small>remove</small>
                            </a>
                        </li>
                    </ul>
                </div>
            </div>
        </div>
    
        <div class="small-12 large-8 columns">
            <div class="row">
    
                {% if bundleItems is defined %}
                    <div class="small-12 large-6 columns cart-item__section">
                        <div class="row">
                            <div class="small-12 medium-4 large-12 columns">
                                <strong class="cart-item__section-title">{{ 'cart.item.bundle.description' | trans }}</strong>
                            </div>
                            <div class="small-12 medium-8 large-12 columns">
                                <ul class="no-bullet">
                                    {% for bundleItem in bundleItems %}
                                        <li> - {{ bundleItem.quantity }} x {{ bundleItem.name }}  </li>
                                    {% endfor %}
                                </ul>
                            </div>
                        </div>
                    </div>
                {% else %}

                    {% set itemAttributes = attribute(attributes, cartItem.sku) %}
                    {% set itemSuperAttributes = attribute(itemAttributes, 'attributes') %}



                    <div class="small-12 large-6 columns cart-item__section">
                        <div class="row">
                            <div class="small-12 medium-4 large-12 columns">
                                <strong class="cart-item__section-title">Product variants</strong>
                            </div>
                            {% for attributeName, attributeOptions in itemSuperAttributes %}
                                <p class="small-12 medium-8 large-12 columns">
                                    {{ attributeName }}:
                                </p>
                                <p class="small-12 medium-8 large-12 columns">
                                    <select>
                                        {% for option, selected in attributeOptions %}
                                            <option value="{{ option }}" {% if selected %}selected{% endif %}>
                                                {{ option }}
                                            </option>
                                        {% endfor %}
                                    </select>
                                </p>
                            {% endfor %}
                        </div>
                    </div>
                {% endif %}
    
                <div class="small-12 large-6 columns cart-item__section">
                    <div class="row">
                        <div class="small-12 medium-4 large-12 columns">
                            <strong class="cart-item__section-title">{{ 'cart.item.option.description' | trans }}</strong>
                        </div>
                        <div class="small-12 medium-8 large-12 columns">

                            {% if cartItem.productOptions|length > 0 %}
                                <ul class="no-bullet">
                                    {% for productOption in cartItem.productOptions %}
                                        <li> + {{ productOption.value | trans }} <strong>{{ productOption.unitGrossPrice | money }}</strong> </li>
                                    {% endfor %}
                                </ul>
                            {% endif %}
                        </div>
                    </div>
                </div>
    
                <div class="small-12 large-6 columns cart-item__section">
                    <div class="row">
                        <div class="small-12 medium-4 large-12 columns">
                            <strong class="cart-item__section-title">{{ 'cart.item_quantity' | trans }}</strong>
                        </div>
                        <div class="small-12 medium-8 large-12 columns">
                            <form method="POST" action="{{ path('cart/change/quantity', {'sku': cartItem.sku }) }}">
                                <div class="input-group">
                                    <input class="input-group-field" type="number" value="{{cartItem.quantity}}" name="quantity">
                                    <div class="input-group-button">
                                        <button type="submit" class="button expanded __no-margin-bottom"><i class="fa fa-refresh"></i></button>
                                    </div>
                                </div>
                                <input type="hidden" value="{{cartItem.groupKey}}" name="groupKey">
                            </form>
                        </div>
                    </div>
                </div>
    
                <div class="small-12 large-6 columns cart-item__section">
                    <div class="row">
                        <div class="small-12 medium-4 large-12 columns">
                            <strong class="cart-item__section-title">Total price</strong>
                        </div>
                        <div class="small-12 medium-8 large-12 columns">
                            <h3><strong>&euro;{{ cartItem.sumGrossPrice }} | money</strong></h3>
                        </div>
                    </div><commit_msg>CORE-1198- updated a twig bug<commit_after><div class="callout cart-item">
    <div class="row">
        
        <div class="small-12 large-4 columns cart-item__section">
            <div class="row">
                <div class="small-12 medium-4 large-12 columns">
                    <strong class="cart-item__section-title">Product</strong>
                </div>
                <div class="small-12 medium-8 large-12 columns">
                    <ul class="no-bullet">
                        <li class="lead">{{ cartItem.name }} - <strong>{{ cartItem.unitGrossPrice | money }}</strong></li>
                        <li class="__secondary"><small>{{ 'cart.item.sku' | trans }} {{cartItem.sku}}</small></li>
                        {% set imageSet = cartItem.imageSets | first %}
                            {% if imageSet is not empty  %}
                                {% set productImage = imageSet.productImages | first %}
                                {% if productImage is not empty  %}
                                    <li>
                                        <img class="thumbnail cart-item__image" src="{{ productImage.externalUrlLarge }}" />
                                    </li>
                                {% endif %}
                            {% endif %}
                        <li>
                            <a href="/cart/remove/{{cartItem.sku}}/{{cartItem.groupKey}}">
                                &times; <small>remove</small>
                            </a>
                        </li>
                    </ul>
                </div>
            </div>
        </div>
    
        <div class="small-12 large-8 columns">
            <div class="row">
    
                {% if bundleItems is defined %}
                    <div class="small-12 large-6 columns cart-item__section">
                        <div class="row">
                            <div class="small-12 medium-4 large-12 columns">
                                <strong class="cart-item__section-title">{{ 'cart.item.bundle.description' | trans }}</strong>
                            </div>
                            <div class="small-12 medium-8 large-12 columns">
                                <ul class="no-bullet">
                                    {% for bundleItem in bundleItems %}
                                        <li> - {{ bundleItem.quantity }} x {{ bundleItem.name }}  </li>
                                    {% endfor %}
                                </ul>
                            </div>
                        </div>
                    </div>
                {% else %}

                    {% set itemAttributes = attribute(attributes, cartItem.sku) %}
                    {% set itemSuperAttributes = attribute(itemAttributes, 'attributes') %}



                    <div class="small-12 large-6 columns cart-item__section">
                        <div class="row">
                            <div class="small-12 medium-4 large-12 columns">
                                <strong class="cart-item__section-title">Product variants</strong>
                            </div>
                            {% for attributeName, attributeOptions in itemSuperAttributes %}
                                <p class="small-12 medium-8 large-12 columns">
                                    {{ attributeName }}:
                                </p>
                                <p class="small-12 medium-8 large-12 columns">
                                    <select>
                                        {% for option, selected in attributeOptions %}
                                            <option value="{{ option }}" {% if selected %}selected{% endif %}>
                                                {{ option }}
                                            </option>
                                        {% endfor %}
                                    </select>
                                </p>
                            {% endfor %}
                        </div>
                    </div>
                {% endif %}
    
                <div class="small-12 large-6 columns cart-item__section">
                    <div class="row">
                        <div class="small-12 medium-4 large-12 columns">
                            <strong class="cart-item__section-title">{{ 'cart.item.option.description' | trans }}</strong>
                        </div>
                        <div class="small-12 medium-8 large-12 columns">

                            {% if cartItem.productOptions|length > 0 %}
                                <ul class="no-bullet">
                                    {% for productOption in cartItem.productOptions %}
                                        <li> + {{ productOption.value | trans }} <strong>{{ productOption.unitGrossPrice | money }}</strong> </li>
                                    {% endfor %}
                                </ul>
                            {% endif %}
                        </div>
                    </div>
                </div>
    
                <div class="small-12 large-6 columns cart-item__section">
                    <div class="row">
                        <div class="small-12 medium-4 large-12 columns">
                            <strong class="cart-item__section-title">{{ 'cart.item_quantity' | trans }}</strong>
                        </div>
                        <div class="small-12 medium-8 large-12 columns">
                            <form method="POST" action="{{ path('cart/change/quantity', {'sku': cartItem.sku }) }}">
                                <div class="input-group">
                                    <input class="input-group-field" type="number" value="{{cartItem.quantity}}" name="quantity">
                                    <div class="input-group-button">
                                        <button type="submit" class="button expanded __no-margin-bottom"><i class="fa fa-refresh"></i></button>
                                    </div>
                                </div>
                                <input type="hidden" value="{{cartItem.groupKey}}" name="groupKey">
                            </form>
                        </div>
                    </div>
                </div>
    
                <div class="small-12 large-6 columns cart-item__section">
                    <div class="row">
                        <div class="small-12 medium-4 large-12 columns">
                            <strong class="cart-item__section-title">Total price</strong>
                        </div>
                        <div class="small-12 medium-8 large-12 columns">
                            <h3><strong>{{ cartItem.sumGrossPrice | money }} </strong></h3>
                        </div>
                    </div>
{'fraction_non_alphanumeric': 0.1175955006938865, 'fraction_numerical': 0.01329340442626543, 'mean_word_length': 0.9080267558528428, 'pattern_counts': {'":': 0, '<': 231, '<?xml version=': 0, '>': 233, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 76, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '933961', 'n_tokens_mistral': 3220, 'n_tokens_neox': 2864, 'n_words': 638}