<commit_before><div class="table-responsive">
    <table class="table products-table mbt60">
        <thead>
        <tr>
            <th class="text-center" colspan="2">{% trans %}cart.table.heading.product{% endtrans %}</th>
            <th class="text-center">{% trans %}cart.table.heading.price{% endtrans %}</th>
            <th class="text-center">{% trans %}cart.table.heading.quantity{% endtrans %}</th>
            <th class="text-center">{% trans %}cart.table.heading.value{% endtrans %}</th>
            <th></th>
        </tr>
        </thead>

        <tbody>
        {% for item in cartProducts.rows %}
            <tr>
                <td><img src="{{ image(item.photo, 'small') }}" alt="{{ item.name }}"/></td>
                <td><a href="{{ path(item.route) }}">{{ item.name }}</a></td>
                <td class="text-center">
										<span class="price">
										    {{ format_price(item.price, item.currency) }}
										</span>
                </td>
                <td class="text-center">
                    <input type="text" class="form-control" value="{{ item.quantity|number_format(0) }}"/>
                </td>
                <td class="text-center">
				    <span class="price">
					    <strong>{{ format_price(item.quantityPrice, item.currency) }}</strong>
					</span>
                </td>
                <td class="text-center">
                    <a href="{{ path('front.cart.delete',{"id": item.id }) }}" class="btn btn-link light btn-remove"><img src="{{ asset('themes/wellcommerce/assets/img/ico-remove.png') }}"/></a>
                </td>
            </tr>
        {% endfor %}
        </tbody>
    </table>
</div>
<commit_msg>Fixed prices in main cart table<commit_after><div class="table-responsive">
    <table class="table products-table mbt60">
        <thead>
        <tr>
            <th class="text-center" colspan="2">{% trans %}cart.table.heading.product{% endtrans %}</th>
            <th class="text-center">{% trans %}cart.table.heading.price{% endtrans %}</th>
            <th class="text-center">{% trans %}cart.table.heading.quantity{% endtrans %}</th>
            <th class="text-center">{% trans %}cart.table.heading.value{% endtrans %}</th>
            <th></th>
        </tr>
        </thead>

        <tbody>
        {% for item in cartProducts.rows %}
            <tr>
                <td><img src="{{ image(item.photo, 'small') }}" alt="{{ item.name }}"/></td>
                <td><a href="{{ path(item.route) }}">{{ item.name }}</a></td>
                <td class="text-center">
                    {% if item.isDiscountValid == 1 %}
                        <span class="price promo">
					        <small class="block">{{ format_price(item.price, item.currency, null, item.tax) }}</small>
                            {{ format_price(item.discountedPrice, item.currency, null, item.tax) }}
					    </span>
                    {% else %}
                        <span class="price">
						    {{ format_price(item.price, item.currency, null, item.tax) }}
						</span>
                    {% endif %}
                </td>
                <td class="text-center">
                    <input type="text" class="form-control" value="{{ item.quantity|number_format(0) }}"/>
                </td>
                <td class="text-center">
                    {% if item.isDiscountValid == 1 %}
                        <span class="price promo">
					        <small class="block">{{ format_price(item.quantityPrice, item.currency, null, item.tax) }}</small>
                            {{ format_price(item.quantityDiscountedPrice, item.currency, null, item.tax) }}
					    </span>
                    {% else %}
                        <span class="price">
						    {{ format_price(item.quantityPrice, item.currency, null, item.tax) }}
						</span>
                    {% endif %}
                </td>
                <td class="text-center">
                    <a href="{{ path('front.cart.delete',{"id": item.id }) }}" class="btn btn-link light btn-remove"><img
                                src="{{ asset('themes/wellcommerce/assets/img/ico-remove.png') }}"/></a>
                </td>
            </tr>
        {% endfor %}
        </tbody>
    </table>
</div>

{'fraction_non_alphanumeric': 0.1855694411695355, 'fraction_numerical': 0.002357934449422306, 'mean_word_length': 1.6595611285266458, 'pattern_counts': {'":': 2, '<': 103, '<?xml version=': 0, '>': 103, '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': '1798602', 'n_tokens_mistral': 1361, 'n_tokens_neox': 1170, 'n_words': 245}