Vopata Posted November 30, 2012 Share Posted November 30, 2012 Hello I have a problem with scrolling in products such as here: when I am looking for manufacturer does not scroll, the products do not change: http://sgsport.cz/obchod_jb/cs/8-helly-hansen?&p=5 I do not understand why there is the question mark? ?&p=x in search by search: http://sgsport.cz/obchod_jb/cs/vyhledavani?orderby=position&orderway=desc&search_query=p%C3%A1nsk%C3%A1+zimn%C3%AD+bunda&p=3 již otazník před &p=x already a question mark &p=x and not everything works. I use Prestashop 1.5.2 does anyone know how to solve the problem? I found little guidance On the File classes > Link.php I changed the bellow code... public function goPage($url, $p, $noP = NULL)[/color] [color=#323D4F]{ if (!$noP) return $url.($p == 1 ? '' : (!strstr($url, '?') ? '?' : '&').'p='.(int)($p)); else header("Location: ". $url); } and, in the themedir > pagination.tpl I included: {if $nb_products < Configuration::get('PS_PRODUCTS_PER_PAGE')} {$link->goPage(0, 0, 1)}[/color] [color=#323D4F]{/if} right before: <div id="pagination" class="pagination"> Unfortunately he does not work and I do not know what to do. Thank you very much for your help. Regards Martin Opatrny Link to comment Share on other sites More sharing options...
Recommended Posts