Prestashop

Prestashop: Remove Manufacturer List Scroll

Posted on

theme folder -> manufacturer-list.tpl To remove top scrool, around line 70, delete the following: <div class="top-pagination-content clearfix bottom-line"> {include file="$tpl_dir./pagination.tpl" no_follow=1} </div>   For the bottom one,    Delete around line 153   <div class="content_sortPagiBar"> <div class="bottom-pagination-content clearfix"> {include file="$tpl_dir./pagination.tpl" no_follow=1 paginationId='bottom'} </div> </div>     To disable Sortibar Delete around line 51:   <div […]

Prestashop

Prestashop: Manufacturer Page Slow

Posted on

-> Classes-> Manufacturer.php   /* $results = Db::getInstance(_PS_USE_SQL_SLAVE_)->executeS(' SELECT p.`id_manufacturer`, COUNT(DISTINCT p.`id_product`) as nb_products FROM `'._DB_PREFIX_.'product` p USE INDEX (product_manufacturer) '.Shop::addSqlAssociation('product', 'p').' LEFT JOIN `'._DB_PREFIX_.'manufacturer` as m ON (m.`id_manufacturer`= p.`id_manufacturer`) WHERE p.`id_manufacturer` != 0 AND product_shop.`visibility` NOT IN ("none") '.($active ? ' AND product_shop.`active` = 1 ' : '').' '.(Group::isFeatureActive() && $all_group ? '' : […]

Prestashop

Prestashop: Remove undefined from Product List

Posted on

When you switch the view from Manufacturer's Product List you get an undefined Character.  To remove this go to  /var/www/html/XXXXXXX/themes/default-bootstrap/js/global.js: Comment the following lines: Line 284: html += '<h5 itemprop="name">'+ $(element).find('h5').html() + '</h5>';   Line 324: html += '<h5 itemprop="name">'+ $(element).find('h5').html() + '</h5>';