{if $MENU != ''} <!-- Menu --> <div id="block_top_menu" class="sf-contener clearfix"> <div class="cat-title">{l s="Categories" mod="blocktopmenu"}</div> <ul class="sf-menu clearfix menu-content"> {$MENU} {if $MENU_SEARCH} <li class="sf-search noBack" style="float:right"> <form id="searchbox" action="{$link->getPageLink('search')|escape:'html':'UTF-8'}" method="get"> <p> <input type="hidden" name="controller" value="search" /> <input type="hidden" value="position" name="orderby"/> <input type="hidden" value="desc" name="orderway"/> <input type="text" name="search_query" value="{if isset($smarty.get.search_query)}{$smarty.get.search_query|escape:'html':'UTF-8'}{/if}" /> </p> </form> </li> {/if} </ul> </div> <!--/ Menu --> <script type="text/javascript"> $(document).ready(function() { $('.menu-content li:has(ul)').addClass('hasSub'); });$(document).ready(function(){ var thisUrl = window.location.href; var thisPath = 'prices-drop'; $('#block_top_menu ul li').each(function() { ourLink1 = $(this).children('a').attr('href'); if (/prices-drop/i.test(ourLink1)) { $(this).addClass('sale-link'); } }) if (/prices-drop/i.test(thisUrl)) { $('#block_top_menu ul li').each(function() { ourLink = $(this).children('a').attr('href'); if (/prices-drop/i.test(ourLink)) { $(this).addClass('sfHoverForce') } }); }}) </script>{/if}
script в шаблоне не должен бытьИз-за этого может быть ошибка.Js скрипты полключают отдельно или в literal.
В коде ничего исправлять ненужно, у вас же url формируется правильно. Причина не в коде.Проверьте лог ошибок, протестируйте с разными комбинациями фильтров. При тестировании отключите кеширование и склейку файлов css и js.
"25 Nov 2016 16:40:39","C:\wamp\www\classes\Media.php: 289","(Warning) filemtime() [<a href='function.filemtime'>function.filemtime</a>]: stat failed for C:\wamp\www\themes/theme990/css/grid_prestashop.css""25 Nov 2016 16:40:39","C:\wamp\www\classes\controller\FrontController.php: 1307","(Warning) filemtime() [<a href='function.filemtime'>function.filemtime</a>]: stat failed for C:\wamp\www/themes/theme990/css/modules/blocksocial/blocksocial.css""25 Nov 2016 16:40:39","C:\wamp\www\classes\Media.php: 289","(Warning) filemtime() [<a href='function.filemtime'>function.filemtime</a>]: stat failed for C:\wamp\www\modules/blocksocial/blocksocial.css""25 Nov 2016 16:40:39","C:\wamp\www\modules\blocklayered\blocklayered.php: 2365","(Notice) Undefined index: manufacturer""25 Nov 2016 16:40:39","C:\wamp\www\modules\blocklayered\blocklayered.php: 2363","(Notice) Undefined index: id_feature""25 Nov 2016 16:40:39","C:\wamp\www\modules\blocklayered\blocklayered.php: 2363","(Notice) Undefined index: id_feature""25 Nov 2016 16:40:39","C:\wamp\www\modules\blocklayered\blocklayered.php: 2363","(Notice) Undefined index: id_feature""25 Nov 2016 16:40:39","C:\wamp\www\modules\blocklayered\blocklayered.php: 2365","(Notice) Undefined index: condition""25 Nov 2016 16:40:39","C:\wamp\www\modules\blocklayered\blocklayered.php: 2363","(Notice) Undefined index: id_feature""25 Nov 2016 16:40:39","C:\wamp\www\modules\blocklayered\blocklayered.php: 2363","(Notice) Undefined index: id_feature""25 Nov 2016 16:40:39","C:\wamp\www\modules\blocklayered\blocklayered.php: 2363","(Notice) Undefined index: id_feature""25 Nov 2016 16:40:39","C:\wamp\www\modules\blocklayered\blocklayered.php: 2365","(Notice) Undefined index: condition""25 Nov 2016 16:40:39","C:\wamp\www\modules\blocklayered\blocklayered.php: 2365","(Notice) Undefined index: manufacturer""25 Nov 2016 16:40:39","C:\wamp\www\modules\blocklayered\blocklayered.php: 2363","(Notice) Undefined index: id_feature""25 Nov 2016 16:40:39","C:\wamp\www\modules\blocklayered\blocklayered.php: 2363","(Notice) Undefined index: id_feature""25 Nov 2016 16:40:39","C:\wamp\www\modules\blocklayered\blocklayered.php: 2365","(Notice) Undefined index: condition""25 Nov 2016 16:40:39","C:\wamp\www\modules\blocklayered\blocklayered.php: 2365","(Notice) Undefined index: manufacturer""25 Nov 2016 16:40:39","C:\wamp\www\modules\blocklayered\blocklayered.php: 2363","(Notice) Undefined index: id_feature""25 Nov 2016 16:40:39","C:\wamp\www\modules\blocklayered\blocklayered.php: 2363","(Notice) Undefined index: id_feature""25 Nov 2016 16:40:39","C:\wamp\www\modules\blocklayered\blocklayered.php: 2365","(Notice) Undefined index: condition""25 Nov 2016 16:40:39","C:\wamp\www\modules\blocklayered\blocklayered.php: 2365","(Notice) Undefined index: manufacturer""25 Nov 2016 16:40:39","C:\wamp\www\modules\blocklayered\blocklayered.php: 2363","(Notice) Undefined index: id_feature""25 Nov 2016 16:40:39","C:\wamp\www\modules\blocklayered\blocklayered.php: 2363","(Notice) Undefined index: id_feature""25 Nov 2016 16:40:39","C:\wamp\www\classes\Media.php: 289","(Warning) filemtime() [<a href='function.filemtime'>function.filemtime</a>]: stat failed for C:\wamp\www\js/jquery/jquery-ui-1.8.10.custom.min.js""25 Nov 2016 16:40:39","C:\wamp\www\classes\Media.php: 289","(Warning) filemtime() [<a href='function.filemtime'>function.filemtime</a>]: stat failed for C:\wamp\www\css/jquery-ui-1.8.10.custom.css""25 Nov 2016 16:40:39","C:\wamp\www\classes\controller\FrontController.php: 1307","(Warning) filemtime() [<a href='function.filemtime'>function.filemtime</a>]: stat failed for C:\wamp\www/themes/theme990/css/modules/blockcms/blockcms.css""25 Nov 2016 16:40:39","C:\wamp\www\classes\Media.php: 289","(Warning) filemtime() [<a href='function.filemtime'>function.filemtime</a>]: stat failed for C:\wamp\www\modules/blockcms/blockcms.css""25 Nov 2016 16:40:39","C:\wamp\www\classes\controller\FrontController.php: 1307","(Warning) filemtime() [<a href='function.filemtime'>function.filemtime</a>]: stat failed for C:\wamp\www/themes/theme990/css/modules/blockcontactinfos/blockcontactinfos.css""25 Nov 2016 16:40:39","C:\wamp\www\classes\Media.php: 289","(Warning) filemtime() [<a href='function.filemtime'>function.filemtime</a>]: stat failed for C:\wamp\www\modules/blockcontactinfos/blockcontactinfos.css""25 Nov 2016 16:40:39","C:\wamp\www\classes\controller\FrontController.php: 1307","(Warning) filemtime() [<a href='function.filemtime'>function.filemtime</a>]: stat failed for C:\wamp\www/themes/theme990/css/modules/blockmanufacturer/blockmanufacturer.css""25 Nov 2016 16:40:39","C:\wamp\www\classes\Media.php: 289","(Warning) filemtime() [<a href='function.filemtime'>function.filemtime</a>]: stat failed for C:\wamp\www\modules/blockmanufacturer/blockmanufacturer.css""25 Nov 2016 16:40:39","C:\wamp\www\classes\controller\FrontController.php: 1307","(Warning) filemtime() [<a href='function.filemtime'>function.filemtime</a>]: stat failed for C:\wamp\www/themes/theme990/css/modules/blockmyaccount/blockmyaccount.css""25 Nov 2016 16:40:39","C:\wamp\www\classes\Media.php: 289","(Warning) filemtime() [<a href='function.filemtime'>function.filemtime</a>]: stat failed for C:\wamp\www\modules/blockmyaccount/blockmyaccount.css""25 Nov 2016 16:40:39","C:\wamp\www\classes\controller\FrontController.php: 1307","(Warning) filemtime() [<a href='function.filemtime'>function.filemtime</a>]: stat failed for C:\wamp\www/themes/theme990/css/modules/blockpaymentlogo/blockpaymentlogo.css""25 Nov 2016 16:40:39","C:\wamp\www\classes\Media.php: 289","(Warning) filemtime() [<a href='function.filemtime'>function.filemtime</a>]: stat failed for C:\wamp\www\modules/blockpaymentlogo/blockpaymentlogo.css""25 Nov 2016 16:40:39","C:\wamp\www\classes\controller\FrontController.php: 1307","(Warning) filemtime() [<a href='function.filemtime'>function.filemtime</a>]: stat failed for C:\wamp\www/themes/theme990/css/modules/blockstore/blockstore.css""25 Nov 2016 16:40:39","C:\wamp\www\classes\Media.php: 289","(Warning) filemtime() [<a href='function.filemtime'>function.filemtime</a>]: stat failed for C:\wamp\www\modules/blockstore/blockstore.css""25 Nov 2016 16:40:39","C:\wamp\www\classes\controller\FrontController.php: 1307","(Warning) filemtime() [<a href='function.filemtime'>function.filemtime</a>]: stat failed for C:\wamp\www/themes/theme990/css/modules/blocksupplier/blocksupplier.css""25 Nov 2016 16:40:39","C:\wamp\www\classes\Media.php: 289","(Warning) filemtime() [<a href='function.filemtime'>function.filemtime</a>]: stat failed for C:\wamp\www\modules/blocksupplier/blocksupplier.css""25 Nov 2016 16:40:39","C:\wamp\www\classes\controller\FrontController.php: 1307","(Warning) filemtime() [<a href='function.filemtime'>function.filemtime</a>]: stat failed for C:\wamp\www/themes/theme990/css/modules/homefeatured/css/homefeatured.css""25 Nov 2016 16:40:39","C:\wamp\www\classes\controller\FrontController.php: 1307","(Warning) filemtime() [<a href='function.filemtime'>function.filemtime</a>]: stat failed for C:\wamp\www/themes/theme990/css/modules/productpaymentlogos/productpaymentlogos.css""25 Nov 2016 16:40:39","C:\wamp\www\classes\Media.php: 289","(Warning) filemtime() [<a href='function.filemtime'>function.filemtime</a>]: stat failed for C:\wamp\www\modules/productpaymentlogos/productpaymentlogos.css""25 Nov 2016 16:40:39","C:\wamp\www\tools\smarty\sysplugins\smarty_internal_cacheresource_file.php: 64","(Warning) filemtime() [<a href='function.filemtime'>function.filemtime</a>]: stat failed for C:\wamp\www/cache/smarty/cache\blocktopmenu\1\1\1\216\category\1011\70\3a\2f\703a2ff47b408cbf04865223578e6be2ee6b69f2.blocktopmenu.tpl.php""25 Nov 2016 16:40:39","C:\wamp\www\tools\smarty\sysplugins\smarty_internal_cacheresource_file.php: 64","(Warning) filemtime() [<a href='function.filemtime'>function.filemtime</a>]: stat failed for C:\wamp\www/cache/smarty/cache\blockcategories\1\1\1\216\2\1011\1\1f\3e\12\1f3e1251cb106743ac350956a5b2e5fec57d856b.blockcategories.tpl.php""25 Nov 2016 16:40:39","C:\wamp\www\tools\smarty\sysplugins\smarty_internal_cacheresource_file.php: 64","(Warning) filemtime() [<a href='function.filemtime'>function.filemtime</a>]: stat failed for C:\wamp\www/cache/smarty/cache\blockmanufacturer\1\1\1\216\cf\c6\d4\cfc6d49275a729bca91e4520bfce39858748136f.blockmanufacturer.tpl.php""25 Nov 2016 16:40:39","C:\wamp\www\tools\smarty\sysplugins\smarty_internal_cacheresource_file.php: 64","(Warning) filemtime() [<a href='function.filemtime'>function.filemtime</a>]: stat failed for C:\wamp\www/cache/smarty/cache\productlist_colors\105049\1\1\05\ba\d5\05bad5f08f3d0b9ed349aa51c088e8a51713b5ec.product-list-colors.tpl.php""25 Nov 2016 16:40:39","C:\wamp\www\tools\smarty\sysplugins\smarty_internal_cacheresource_file.php: 64","(Warning) filemtime() [<a href='function.filemtime'>function.filemtime</a>]: stat failed for C:\wamp\www/cache/smarty/cache\productlist_colors\112047\1\1\05\ba\d5\05bad5f08f3d0b9ed349aa51c088e8a51713b5ec.product-list-colors.tpl.php""25 Nov 2016 16:40:39","C:\wamp\www\tools\smarty\sysplugins\smarty_internal_cacheresource_file.php: 64","(Warning) filemtime() [<a href='function.filemtime'>function.filemtime</a>]: stat failed for C:\wamp\www/cache/smarty/cache\productlist_colors\121247\1\1\05\ba\d5\05bad5f08f3d0b9ed349aa51c088e8a51713b5ec.product-list-colors.tpl.php""25 Nov 2016 16:40:39","C:\wamp\www\tools\smarty\sysplugins\smarty_internal_cacheresource_file.php: 64","(Warning) filemtime() [<a href='function.filemtime'>function.filemtime</a>]: stat failed for C:\wamp\www/cache/smarty/cache\productlist_colors\121346\1\1\05\ba\d5\05bad5f08f3d0b9ed349aa51c088e8a51713b5ec.product-list-colors.tpl.php""25 Nov 2016 16:40:39","C:\wamp\www\tools\smarty\sysplugins\smarty_internal_cacheresource_file.php: 64","(Warning) filemtime() [<a href='function.filemtime'>function.filemtime</a>]: stat failed for C:\wamp\www/cache/smarty/cache\productlist_colors\132243\1\1\05\ba\d5\05bad5f08f3d0b9ed349aa51c088e8a51713b5ec.product-list-colors.tpl.php""25 Nov 2016 16:40:39","C:\wamp\www\tools\smarty\sysplugins\smarty_internal_cacheresource_file.php: 64","(Warning) filemtime() [<a href='function.filemtime'>function.filemtime</a>]: stat failed for C:\wamp\www/cache/smarty/cache\productlist_colors\133349\1\1\05\ba\d5\05bad5f08f3d0b9ed349aa51c088e8a51713b5ec.product-list-colors.tpl.php""25 Nov 2016 16:40:39","C:\wamp\www\tools\smarty\sysplugins\smarty_internal_cacheresource_file.php: 64","(Warning) filemtime() [<a href='function.filemtime'>function.filemtime</a>]: stat failed for C:\wamp\www/cache/smarty/cache\productlist_colors\134346\1\1\05\ba\d5\05bad5f08f3d0b9ed349aa51c088e8a51713b5ec.product-list-colors.tpl.php""25 Nov 2016 16:40:39","C:\wamp\www\tools\smarty\sysplugins\smarty_internal_cacheresource_file.php: 64","(Warning) filemtime() [<a href='function.filemtime'>function.filemtime</a>]: stat failed for C:\wamp\www/cache/smarty/cache\productlist_colors\641519\1\1\05\ba\d5\05bad5f08f3d0b9ed349aa51c088e8a51713b5ec.product-list-colors.tpl.php""25 Nov 2016 16:40:39","C:\wamp\www\tools\smarty\sysplugins\smarty_internal_cacheresource_file.php: 64","(Warning) filemtime() [<a href='function.filemtime'>function.filemtime</a>]: stat failed for C:\wamp\www/cache/smarty/cache\productlist_colors\641527\1\1\05\ba\d5\05bad5f08f3d0b9ed349aa51c088e8a51713b5ec.product-list-colors.tpl.php""25 Nov 2016 16:40:39","C:\wamp\www\tools\smarty\sysplugins\smarty_internal_cacheresource_file.php: 64","(Warning) filemtime() [<a href='function.filemtime'>function.filemtime</a>]: stat failed for C:\wamp\www/cache/smarty/cache\productlist_colors\641532\1\1\05\ba\d5\05bad5f08f3d0b9ed349aa51c088e8a51713b5ec.product-list-colors.tpl.php""25 Nov 2016 16:40:39","C:\wamp\www\tools\smarty\sysplugins\smarty_internal_cacheresource_file.php: 64","(Warning) filemtime() [<a href='function.filemtime'>function.filemtime</a>]: stat failed for C:\wamp\www/cache/smarty/cache\productlist_colors\641414\1\1\05\ba\d5\05bad5f08f3d0b9ed349aa51c088e8a51713b5ec.product-list-colors.tpl.php""25 Nov 2016 16:40:39","C:\wamp\www\tools\smarty\sysplugins\smarty_internal_cacheresource_file.php: 64","(Warning) filemtime() [<a href='function.filemtime'>function.filemtime</a>]: stat failed for C:\wamp\www/cache/smarty/cache\productlist_colors\645301\1\1\05\ba\d5\05bad5f08f3d0b9ed349aa51c088e8a51713b5ec.product-list-colors.tpl.php""25 Nov 2016 16:40:39","C:\wamp\www\tools\smarty\sysplugins\smarty_internal_cacheresource_file.php: 64","(Warning) filemtime() [<a href='function.filemtime'>function.filemtime</a>]: stat failed for C:\wamp\www/cache/smarty/cache\blockcms\2\1\1\1\216\7e\cf\54\7ecf54dbf1a553cb111d02eba4f434a297bdfb98.blockcms.tpl.php""25 Nov 2016 16:40:39","C:\wamp\www\tools\smarty\sysplugins\smarty_internal_cacheresource_file.php: 64","(Warning) filemtime() [<a href='function.filemtime'>function.filemtime</a>]: stat failed for C:\wamp\www/cache/smarty/cache\blocksocial\1\1\1\216\98\fb\1d\98fb1d5db85f5db933e8bc38156a547acf44fb39.blocksocial.tpl.php""25 Nov 2016 16:40:39","C:\wamp\www\tools\smarty\sysplugins\smarty_internal_cacheresource_file.php: 64","(Warning) filemtime() [<a href='function.filemtime'>function.filemtime</a>]: stat failed for C:\wamp\www/cache/smarty/cache\blockcategories\1\1\1\216\1011\1\12\88\28\128828eaa4162e25edf11343a0855952805e2502.blockcategories_footer.tpl.php""25 Nov 2016 16:40:40","C:\wamp\www\tools\smarty\sysplugins\smarty_internal_cacheresource_file.php: 64","(Warning) filemtime() [<a href='function.filemtime'>function.filemtime</a>]: stat failed for C:\wamp\www/cache/smarty/cache\blocksearch_top\1\1\1\216\4e\38\ad\4e38ad7ec661ae751456206f97c90faa164a46c2.blocksearch-top.tpl.php""25 Nov 2016 16:40:40","C:\wamp\www\tools\smarty\sysplugins\smarty_internal_cacheresource_file.php: 64","(Warning) filemtime() [<a href='function.filemtime'>function.filemtime</a>]: stat failed for C:\wamp\www/cache/smarty/cache\blockcontact\1\1\1\216\2d\ab\e0\2dabe0205cec747146a9c1fb197f619bac9e713b.blockcontactinsearch.tpl.php"
Warning, Notice не ошибки. С этим сайт должен работать. Включите показ ошибок в prestashop.