如何在X-Cart中切割404页面?

时间:2017-10-23 11:34:09

标签: x-cart

我一直在寻找相当一段时间并试图弄清楚如何自定义xcart的默认404页面。我需要404页面继续我的网站的自定义主题和布局(如菜单,最近查看的产品部分,页脚等)而不是默认主题。有什么方法可以做到吗?如果有人能提出一些好的解决方案,那将会很有帮助。

我使用的xcart版本是x-cart 4.7.5(白金版)

1 个答案:

答案 0 :(得分:0)

首先,有两种类型的X-Cart - X-Cart 4和X-Cart 5.它们的代码库非常不同。我建议你提一下你的X-Cart版本。

反正: 在X-Cart 4中https://help.x-cart.com/index.php?title=X-Cart:404_Error_Page 在X-Cart 5中 - 两种方式:直接编辑404页面模板,如http://devs.x-cart.com/en/webinars_and_video_tutorials/editing_templates_on_the_example_of_adding_market_price_to_products_list_in_x-%D1%81art_5_tutorial_by_mike_white.html所述或使用所谓的"网站管理员模式" http://devs.x-cart.com/en/webinars_and_video_tutorials/using_webmaster_mode_in_x-cart_5.html