开发者

Magento - Back link to catalog page or filtered by category from product details page

Need to add the "ba开发者_Python百科ck link" to the catalog page from the product details page.

If the user has filtered product, the filter settings should be preserved.


you can do this with javascript

<a href="javascript: history.go(-1)">Go Back like never before</a>


In very general terms, look at the HTTP_REFERER header. Just be aware that some folken (like myself) don't use it.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜