Prestashop产品详细信息页面转到错误的URL

时间:2017-10-13 10:25:40

标签: prestashop prestashop-1.6

我在prestashop构建中找到了我的产品详细信息页面网址,首先附加了产品ID。

来自Docs。 http://doc.prestashop.com/pages/viewpage.action?pageId=20578464

我发现我的prestashop产品id_product = 27变成27-ipod-nano-green

但在我的prestashop配置中,它会重定向到另一个网址。

根据此文档正确创建链接。但是,当我点击它打开产品详细信息页面时,它会重定向到另一个网址(我认为会找到具有相同ID的类别网址)并最终找到404未找到错误,而某些产品则会在类别页面上登录。

我正在使用prestashop版本1.6.1.12

请建议我如何解决我的问题或哪些文件与此更改有关。

以下是我目前的配置:

Schema of URLs:

Route to products : {id}{manufacturer}-{rewrite}
 Route to category : {id}-{rewrite}
 Route to category which has the "selected_filter" attribute for the "Layered Navigation" (blocklayered) module : {id}-{rewrite}{/:selected_filters}
 Route to supplier : {id}__{rewrite}
 Route to manufacturer : {id}_{rewrite}
 Route to CMS page : content/{id}-{rewrite}
 Route to CMS category : content/category/{id}-{rewrite}
 Route to modules : module/{module}{/:controller}
 Route to CMS page : content/{id}-{rewrite}
 Route to CMS category : content/category/{id}-{rewrite}
 Route to modules : module/{module}{/:controller}

1 个答案:

答案 0 :(得分:0)

尝试:

{category:/}{id}{-:id_product_attribute}-{rewrite}{-:manufacturer}.html

致谢

相关问题