<commit_before><div class="product-list clearfix">
    <!--@if($grid_view)-->
    <!--@foreach($products as $product)-->
    <div id="product_{$product->product_srl}" class="product {$product->product_type}">
        <a href="{getUrl('vid', $mid, 'act', 'dispShopProduct', 'product_srl', $product->product_srl, 'category_srl', $category_srl)}" class="product-link">
                        <span class="product-image-container">
                            <img src="{$product->getPrimaryImage()->getThumbnailPath(170)}" />
                        </span>
            <h4>
                <!--@if(strlen($product->title)>22)-->
                {substr($product->title, 0, 22)}...
                <!--@else-->
                {$product->title}
                <!--@end-->
            </h4>
        </a>
        <include target="add_to_cart"/>
    </div>
    <!--@end-->
    <!--@else-->
    <!--@foreach($products as $product)-->
    <div id="product_{$product->product_srl}" class="product list-view {$product->product_type}">
        <a href="{getUrl('vid', $mid, 'act', 'dispShopProduct', 'product_srl', $product->product_srl, 'category_srl', $category_srl)}" class="product-link list-view">
                            <span class="product-image-container list-view">
                                <img src="{$product->getPrimaryImage()->getThumbnailPath(130)}" />
                            </span>
        </a>
        <h2>{$product->title}</h2>
        <div class="f-right product-actions a-right">
            <form action="./" method="post" cond="isset($product->available) ? $product->available : $product->isAvailable()">
                <input type="hidden" name="act" value="procShopToolCartAddProduct" />
                <p>
                    <span class="quantity"><label>Quantity:</label><input type="text" name="quantity" value="1" /></span>
                </p>
                <!--@if($product->isSimple())-->
                <input type="hidden" id="product_srl" name="product_srl" value="{$product->product_srl}" />
                <!--@elseif($product->isConfigurable())-->
                <include target="product_variants" />
                <!--@end-->
                <p>
                    {ShopDisplay::priceFormat($product->price, $shop->getCurrencySymbol())}
                </p>
                <p>
                    <input class="add-to-cart" type="submit" value="Add to cart" />
                </p>
            </form>
        </div>
        <!--@if($product->description != '')-->
        {$product->description}
        <!--@else-->
        {$lang->no_description}
        <!--@end-->
    </div>
    <!--@end-->
    <!--@end-->
</div><commit_msg>Added links to titles in list view - products_list.html<commit_after><div class="product-list clearfix" xmlns="http://www.w3.org/1999/html">
    <!--@if($grid_view)-->
    <!--@foreach($products as $product)-->
    <div id="product_{$product->product_srl}" class="product {$product->product_type}">
        <a href="{getUrl('vid', $mid, 'act', 'dispShopProduct', 'product_srl', $product->product_srl, 'category_srl', $category_srl)}" class="product-link">
                        <span class="product-image-container">
                            <img src="{$product->getPrimaryImage()->getThumbnailPath(170)}" />
                        </span>
            <h4>
                <!--@if(strlen($product->title)>22)-->
                {substr($product->title, 0, 22)}...
                <!--@else-->
                {$product->title}
                <!--@end-->
            </h4>
        </a>
        <include target="add_to_cart"/>
    </div>
    <!--@end-->
    <!--@else-->
    <!--@foreach($products as $product)-->
    <div id="product_{$product->product_srl}" class="product list-view {$product->product_type}">
        <a href="{getUrl('vid', $mid, 'act', 'dispShopProduct', 'product_srl', $product->product_srl, 'category_srl', $category_srl)}" class="product-link list-view">
            <span class="product-image-container list-view">
                <img src="{$product->getPrimaryImage()->getThumbnailPath(130)}" />
            </span>
        </a>
        <h2><a href="{getUrl('vid', $mid, 'act', 'dispShopProduct', 'product_srl', $product->product_srl, 'category_srl', $category_srl)}">{$product->title}</a></h2>
        <div class="f-right product-actions a-right">
            <form action="./" method="post" cond="isset($product->available) ? $product->available : $product->isAvailable()">
                <input type="hidden" name="act" value="procShopToolCartAddProduct" />
                <p>
                    <span class="quantity"><label>Quantity:</label><input type="text" name="quantity" value="1" /></span>
                </p>
                <!--@if($product->isSimple())-->
                <input type="hidden" id="product_srl" name="product_srl" value="{$product->product_srl}" />
                <!--@elseif($product->isConfigurable())-->
                <include target="product_variants" />
                <!--@end-->
                <p>
                    {ShopDisplay::priceFormat($product->price, $shop->getCurrencySymbol())}
                </p>
                <p>
                    <input class="add-to-cart" type="submit" value="Add to cart" />
                </p>
            </form>
        </div>
        <!--@if($product->description != '')-->
        {$product->description}
        <!--@else-->
        {$lang->no_description}
        <!--@end-->
    </div>
    <!--@end-->
    <!--@end-->
</div>
{'fraction_non_alphanumeric': 0.20870193175663476, 'fraction_numerical': 0.00667990612023831, 'mean_word_length': 1.925026399155227, 'pattern_counts': {'":': 0, '<': 117, '<?xml version=': 0, '>': 170, 'https://': 0, 'lorem ipsum': 0, 'www.': 1, 'xml': 1}, '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': '4418553', 'n_tokens_mistral': 1639, 'n_tokens_neox': 1563, 'n_words': 261}