【发布时间】:2016-01-20 11:30:04
【问题描述】:
当我请求这个网址时, https://localhost/index.php?route=product/search/ajax&keyword=brocco
opencart 返回一个产品对象,如
[
{
"name":"Broccoli (Broccoli)",
"href":"https:\/\/localhost\/broccoli?keyword=brocco",
"image":"https:\/\/localhost\/image\/cache\/catalog\/product\/broccoli_new-47x47.jpg"
}
]
但我找不到产品/搜索/ajax 方法。
ajax 函数不在
catalog/controller/product/product.php (class ControllerProductProduct) 或 catalog/controller/product/search.php (class ControllerProductSearch)
【问题讨论】:
-
你搜索过
VQMOD吗? -
vqmod目录中有2个xml文件但不相关
-
什么是opencart版本?
标签: opencart opencart2.x