{"id":60930,"date":"2025-04-26T12:02:32","date_gmt":"2025-04-26T04:02:32","guid":{"rendered":"https:\/\/fwq.ai\/blog\/60930\/"},"modified":"2025-04-26T12:02:32","modified_gmt":"2025-04-26T04:02:32","slug":"%e6%9b%b4%e6%8d%a2zencart%e6%a8%a1%e7%89%88%e6%96%b9%e6%b3%95","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/60930\/","title":{"rendered":"\u66f4\u6362ZenCart\u6a21\u7248\u65b9\u6cd5"},"content":{"rendered":"<p>ZenCart\u5982\u4f55\u66f4\u6362\u6a21\u7248<br \/>\n<br \/> \u4ece\u6362ZenCart\u6a21\u7248\u5f00\u59cb\uff1a<br \/>\n<br \/> \u4e00\u3001\u51c6\u5907\u5de5\u4f5c&nbsp;1.\u4e0b\u8f7d &nbsp;2.\u5907\u4efd\u597d\u7f51\u5e97\u6570\u636e\u5e93\u548c\u539f\u6765\u7684\u6a21\u677f\u6587\u4ef6\u4e2a\u6027\u5316\u7f51\u9875\uff01<br \/>\n<br \/> \u4e8c\u3001\u5b89\u88c5zencart\u6a21\u677f&nbsp;1.\u5c06\u4e0b\u8f7d\u540e\u7684\u6a21\u677f\u5305\u7528winrar\u62167zip\u89e3\u538b\u7f29\u3002&nbsp;2.\u5c06\u6a21\u677f\u76ee\u5f55\u6574\u4e2a\u590d\u5236\u5230 includes\/templates\/ \u4e0b\u3002 <\/p>\n<p> \u4e09\u3001\u9009\u62e9\u65b0\u5b89\u88c5\u7684\u6a21\u677f&nbsp;1.\u8fdb\u5165zencart\u540e\u53f0\u7ba1\u7406\uff0c\u5de5\u5177(Tools)\u2013\u6a21\u677f\u9009\u62e9(Template Selection)\uff0c\u53ef\u4ee5\u770b\u5230\u53f3\u8fb9\u5df2\u5b89\u88c5\u6a21\u677f\u6709\u6a21\u677f\u540d\uff1aBruce&nbsp;2.\u9009\u62e9\u8981\u66ff\u6362\u54ea\u4e2a\u73b0\u6709\u6a21\u677f\uff08\u8fd9\u91cc\u9009\u7684\u662fZCDemo Chinese\uff09\uff0c\u7136\u540e\u70b9\u51fb\u53f3\u8fb9\u7684\u7f16\u8f91\u6309\u94ae\uff0c\u4ece\u73b0\u5b89\u88c5\u6a21\u677f\u7684\u4e0b\u62c9\u83dc\u5355\u4e2d\u9009\u62e9\u65b0\u6a21\u677f\uff0c\u6700\u540e\u70b9\u51fb\u66f4\u65b0\u6309\u94ae\u3002&nbsp;3.\u6b64\u65f6Default(All)\u8bed\u8a00\u4f7f\u7528\u4e86Bruce\u8fd9\u4e2a\u65b0\u6a21\u677f\u3002\u4f46\u662f\u8fd8\u6ca1\u6709\u751f\u6548\u3002<br \/>\n<br \/> \u56db\u3001\u6b63\u5f0f\u542f\u7528\u521a\u9009\u62e9\u7684\u6a21\u677f\u3002&nbsp;1.\u8f6c\u5230\u5de5\u5177(Tools)\u2013\u5916\u89c2\u8bbe\u7f6e(Layout Boxes Controller),&nbsp;2. \u5728\u5c4f\u5e55\u6700\u4e0b\u9762\uff0c\u9009\u62e9\u201c\u91cd\u7f6e\u201d\u6309\u94ae\u3002<br \/>\n<br \/> \u4e3b\u8981\u6587\u4ef6\u8def\u5f84\uff1a<br \/>\n<br \/> index.php&nbsp;\u4e3b\u6587\u4ef6<br \/>\n<br \/> includes\/templates\/[custom template folder]\/common\/html_header.php&nbsp;\u9875\u9762\u7684head\u90e8\u5206<br \/>\n<br \/> includes\/templates\/[custom template folder]\/common\/tpl_main_page.php&nbsp;\u9875\u9762\u7684body\u90e8\u5206<br \/>\n<br \/> includes\/templates\/[custom template folder]\/common\/tpl_header.php&nbsp;\u6240\u6709\u9875\u9762\u7684\u9875\u7709<br \/>\n<br \/> (column left)<br \/>\n<br \/> includes\/templates\/[custom template folder]\/common\/main_template_vars.php&nbsp;\u51b3\u5b9a\u9875\u9762\u7684\u5185\u5bb9\u90e8\u5206\uff0c\u7f3a\u7701\u4e3a \u2018tmp_index_default.php\u2019<br \/>\n<br \/> \u9996\u9875 \u2013 \u7f3a\u7701<br \/>\n<br \/> includes\/templates\/[custom template folder]\/templates\/tmp_index_default.php&nbsp;\u9996\u9875\u6a21\u677f\u6587\u4ef6<br \/>\n<br \/> \u9996\u9875 \u2013 \u663e\u793a\u5206\u7c7b<br \/>\n<br \/> includes\/templates\/[custom template folder]\/templates\/tpl_index_categories.php&nbsp;\u9996\u9875\u4e0a\u663e\u793a\u5206\u7c7b\u65f6\u7684\u6a21\u677f\u6587\u4ef6<br \/>\n<br \/> includes\/modules\/[custom template folder]\/pages\/index\/category_row.php&nbsp;\u9009\u62e9\u8981\u663e\u793a\u7684\u5206\u7c7b<br \/>\n<br \/> includes\/templates\/[custom template folder]\/templates\/tpl_index_category_row.php&nbsp;\u663e\u793a\u5206\u7c7b<br \/>\n<br \/> \u9996\u9875 \u2013 \u663e\u793a\u6307\u5b9a\u5206\u7c7b<br \/>\n<br \/> includes\/templates\/[custom template folder]\/templates\/tpl_index_product_list.php&nbsp;\u9996\u9875\u4e0a\u663e\u793a\u6307\u5b9a\u7684\u5206\u7c7b\u65f6\u91c7\u7528\u7684\u6a21\u677f\u6587\u4ef6<br \/>\n<br \/> includes\/modules\/[custom template folder]\/product_listing.php&nbsp;\u5c06\u5546\u54c1\u6570\u636e\u6dfb\u52a0\u5230\u6570\u7ec4<br \/>\n<br \/> includes\/templates\/[custom template folder]\/templates\/tpl_modules_product_listing.php&nbsp;\u663e\u793a\u5546\u54c1\u6570\u91cf\u548c\u5546\u54c1\u5bfc\u822a\u83dc\u5355<br \/>\n<br \/> includes\/templates\/[custom template folder]\/common\/tpl_list_box_content.php&nbsp;\u663e\u793a\u5546\u54c1\u6570\u7ec4<br \/>\n<br \/> \u5546\u54c1\u4fe1\u606f\u9875\u9762<br \/>\n<br \/> includes\/templates\/[custom template folder]\/templates\/tpl_product_info_display.php&nbsp;\u663e\u793a\u5355\u4ef6\u5546\u54c1\u4fe1\u606f<br \/>\n<br \/> \u8d2d\u7269\u8f66\u9875\u9762<br \/>\n<br \/> includes\/templates\/[custom template folder]\/templates\/tpl_shopping_cart_default.php&nbsp;\u8d2d\u7269\u8f66\u9875\u9762<br \/>\n<br \/> (column right)<br \/>\n<br \/> includes\/templates\/[custom template folder]\/common\/tpl_footer.php&nbsp;\u6240\u6709\u9875\u9762\u7684\u9875\u811a<\/p>\n","protected":false},"excerpt":{"rendered":"<p>ZenCart\u5982\u4f55\u66f4\u6362\u6a21\u7248 \u4ece\u6362ZenCart\u6a21\u7248\u5f00\u59cb\uff1a \u4e00\u3001\u51c6\u5907\u5de5\u4f5c&nbsp;1.\u4e0b\u8f7d &nbsp;2.\u5907\u4efd\u597d\u7f51\u5e97\u6570\u636e\u5e93\u548c\u539f\u6765\u7684\u6a21\u677f\u6587\u4ef6\u4e2a\u6027\u5316\u7f51\u9875\uff01 \u4e8c\u3001\u5b89\u88c5zencart\u6a21\u677f&nbsp;1.\u5c06\u4e0b\u8f7d\u540e\u7684\u6a21\u677f\u5305\u7528winrar\u62167zip\u89e3\u538b\u7f29\u3002&nbsp;2.\u5c06\u6a21\u677f\u76ee\u5f55\u6574\u4e2a\u590d\u5236\u5230 includes\/templates\/ \u4e0b\u3002 \u4e09\u3001\u9009\u62e9\u65b0\u5b89\u88c5\u7684\u6a21\u677f&nbsp;1.\u8fdb\u5165zencart\u540e\u53f0\u7ba1\u7406\uff0c\u5de5\u5177(Tools)\u2013\u6a21\u677f\u9009\u62e9(Template Selection)\uff0c\u53ef\u4ee5\u770b\u5230\u53f3\u8fb9\u5df2\u5b89\u88c5\u6a21\u677f\u6709\u6a21\u677f\u540d\uff1aBruce&nbsp;2.\u9009\u62e9\u8981\u66ff\u6362\u54ea\u4e2a\u73b0\u6709\u6a21\u677f\uff08\u8fd9\u91cc\u9009\u7684\u662fZCDemo Chinese\uff09\uff0c\u7136\u540e\u70b9\u51fb\u53f3\u8fb9\u7684\u7f16\u8f91\u6309\u94ae\uff0c\u4ece\u73b0\u5b89\u88c5\u6a21\u677f\u7684\u4e0b\u62c9\u83dc\u5355\u4e2d\u9009\u62e9\u65b0\u6a21\u677f\uff0c\u6700\u540e\u70b9\u51fb\u66f4\u65b0\u6309\u94ae\u3002&nbsp;3.\u6b64\u65f6Default(All)\u8bed\u8a00\u4f7f\u7528\u4e86Bruce\u8fd9\u4e2a\u65b0\u6a21\u677f\u3002\u4f46\u662f\u8fd8\u6ca1\u6709\u751f\u6548\u3002 \u56db\u3001\u6b63\u5f0f\u542f\u7528\u521a\u9009\u62e9\u7684\u6a21\u677f\u3002&nbsp;1.\u8f6c\u5230\u5de5\u5177(Tools)\u2013\u5916\u89c2\u8bbe\u7f6e(Layout Boxes Controller),&nbsp;2. \u5728\u5c4f\u5e55\u6700\u4e0b\u9762\uff0c\u9009\u62e9\u201c\u91cd\u7f6e\u201d\u6309\u94ae\u3002 \u4e3b\u8981\u6587\u4ef6\u8def\u5f84\uff1a index.php&nbsp;\u4e3b\u6587\u4ef6 includes\/templates\/[custom template folder]\/common\/html_header.php&nbsp;\u9875\u9762\u7684head\u90e8\u5206 includes\/templates\/[custom template folder]\/common\/tpl_main_page.php&nbsp;\u9875\u9762\u7684body\u90e8\u5206 includes\/templates\/[custom template folder]\/common\/tpl_header.php&nbsp;\u6240\u6709\u9875\u9762\u7684\u9875\u7709 (column left) includes\/templates\/[custom template folder]\/common\/main_template_vars.php&nbsp;\u51b3\u5b9a\u9875\u9762\u7684\u5185\u5bb9\u90e8\u5206\uff0c\u7f3a\u7701\u4e3a \u2018tmp_index_default.php\u2019 \u9996\u9875 \u2013 \u7f3a\u7701 includes\/templates\/[custom template folder]\/templates\/tmp_index_default.php&nbsp;\u9996\u9875\u6a21\u677f\u6587\u4ef6 \u9996\u9875 \u2013 \u663e\u793a\u5206\u7c7b includes\/templates\/[custom template folder]\/templates\/tpl_index_categories.php&nbsp;\u9996\u9875\u4e0a\u663e\u793a\u5206\u7c7b\u65f6\u7684\u6a21\u677f\u6587\u4ef6 includes\/modules\/[custom template folder]\/pages\/index\/category_row.php&nbsp;\u9009\u62e9\u8981\u663e\u793a\u7684\u5206\u7c7b includes\/templates\/[custom template folder]\/templates\/tpl_index_category_row.php&nbsp;\u663e\u793a\u5206\u7c7b \u9996\u9875 \u2013 \u663e\u793a\u6307\u5b9a\u5206\u7c7b includes\/templates\/[custom template folder]\/templates\/tpl_index_product_list.php&nbsp;\u9996\u9875\u4e0a\u663e\u793a\u6307\u5b9a\u7684\u5206\u7c7b\u65f6\u91c7\u7528\u7684\u6a21\u677f\u6587\u4ef6 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[],"class_list":["post-60930","post","type-post","status-publish","format-standard","hentry","category-16"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/60930","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/comments?post=60930"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/60930\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=60930"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=60930"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=60930"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}