<commit_before><li class="dropdown">
    <a href="{{ path('front.cart.index') }}" class="dropdown-toggle cartQty" data-toggle="dropdown" role="button" aria-expanded="false">
        Cart<span class="cart-qty">{{ cart.products.count() }}</span>
    </a>
    <ul class="dropdown-menu" role="menu">
        {% for item in cart.products %}
            {% set product = item.product %}
            <li>
                <table>
                    <tbody>
                    <tr>
                        <td>
                            <a href="{{ path('front.cart.delete',{"id": item.id }) }}" class="delete">
                                <img src="{{ asset('themes/wellcommerce/assets/img/delete-ico.png') }}"/>
                            </a>
                        </td>
                        <td>
                            <a href="#">{{ product.translate().name }}</a>
                        </td>
                        <td>
                            <input type="text" value="{{ item.quantity|number_format(0) }}" class="text-center"/>
                        </td>
                        <td class="text-right">
                            {{ format_price(product.sellPrice.amount, product.sellPrice.currency) }}
                        </td>
                    </tr>
                    </tbody>
                </table>
            </li>
            <li class="divider"></li>
        {% endfor %}

        <li class="clearfix">
            <a href="{{ path('front.cart.index') }}">
                Checkout <img src="{{ asset('themes/wellcommerce/assets/img/arrow-right-ico.png') }}"/>
            </a>
            <span class="pull-right">$798,00</span>
        </li>
    </ul>
</li>
<commit_msg>Cart preview tpl<commit_after><li class="dropdown">
    <a href="{{ path('front.cart.index') }}" class="dropdown-toggle cartQty" data-toggle="dropdown" role="button" aria-expanded="false">
        Cart<span class="cart-qty">{{ cart.products.total }}</span>
    </a>
    <ul class="dropdown-menu" role="menu">
        {% for item in cart.products.rows %}
            <li>
                <table>
                    <tbody>
                    <tr>
                        <td>
                            <a href="{{ path('front.cart.delete',{"id": item.id }) }}" class="delete">
                                <img src="{{ asset('themes/wellcommerce/assets/img/delete-ico.png') }}"/>
                            </a>
                        </td>
                        <td>
                            <a href="#">{{ item.name }}</a>
                        </td>
                        <td>
                            <input type="text" value="{{ item.quantity|number_format(0) }}" class="text-center"/>
                        </td>
                        <td class="text-right">
                            {{ format_price(item.price, item.currency) }}
                        </td>
                    </tr>
                    </tbody>
                </table>
            </li>
            <li class="divider"></li>
        {% endfor %}

        <li class="clearfix">
            <a href="{{ path('front.cart.index') }}">
                Checkout <img src="{{ asset('themes/wellcommerce/assets/img/arrow-right-ico.png') }}"/>
            </a>
            <span class="pull-right">{{ format_price(cart.summary.price) }}</span>
        </li>
    </ul>
</li>

{'fraction_non_alphanumeric': 0.17237308146399055, 'fraction_numerical': 0.002066115702479339, 'mean_word_length': 1.1668797953964194, 'pattern_counts': {'":': 2, '<': 81, '<?xml version=': 0, '>': 81, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '21779', 'n_tokens_mistral': 930, 'n_tokens_neox': 872, 'n_words': 161}