Post by yulili » Mon Sep 03, 2012 10:07 am

opencart从其他页面跳转到search页面,用的是common里的js,
$('.searchbtn').bind('click', function() {

url = 'index.php?route=product/search';

var filter_name = $('input[name=\'filter_name\']').attr('value')

if (filter_name) {

url += '&filter_name=' + encodeURIComponent(filter_name);

}

location = url;

});
url怎么做伪静态

Newbie

Posts

Joined
Mon Sep 03, 2012 9:46 am

Post by phpstudio » Mon Feb 24, 2014 3:59 pm

改这里是没有用的,要改.htaccess和search对应的PHP代码

PHP网站建设 opencart网站设计 opencart开发与服务


User avatar
Newbie

Posts

Joined
Thu Feb 20, 2014 3:18 pm

Who is online

Users browsing this forum: No registered users and 8 guests