{"id":60912,"date":"2025-04-26T09:52:50","date_gmt":"2025-04-26T01:52:50","guid":{"rendered":"https:\/\/fwq.ai\/blog\/60912\/"},"modified":"2025-04-26T09:52:50","modified_gmt":"2025-04-26T01:52:50","slug":"%e4%bf%ae%e6%94%b9zencart%e5%95%86%e5%93%81%e9%a1%b5%e9%9d%a2%e4%b8%8a%e4%b8%80%e4%b8%aa%e4%b8%8b%e4%b8%80%e4%b8%aa","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/60912\/","title":{"rendered":"\u4fee\u6539ZenCart\u5546\u54c1\u9875\u9762\u4e0a\u4e00\u4e2a\u4e0b\u4e00\u4e2a"},"content":{"rendered":"<p> ZenCart\u4ea7\u54c1\u8be6\u7ec6\u9875\u9762\u6709\u81ea\u5e26\u4e0a\u4e00\u4e2a\u4e0b\u4e00\u4e2a\u4ea7\u54c1\u7684\u94fe\u63a5\uff0c\u8fd9\u6837\u5bf9\u4e8e\u7f51\u9875\u4e4b\u95f4\u7684\u5185\u94fe\u8fd8\u662f\u6bd4\u8f83\u597d\u7684\uff0c\u4e0d\u8fc7\u5b83\u663e\u793a\u7684\u65b9\u5f0f\u662f\u4ee5\u6309\u94ae\u663e\u793a\u7684\uff0c\u4e0d\u7f8e\u89c2\uff0c\u4f53\u9a8c\u53c8\u5dee\u3002\u628a\u6309\u94ae\u4fee\u6539\u4e3a\u951a\u6587\u672c\u662f\u4e2a\u4e0d\u9519\u7684\u9009\u62e9\u3002<\/p>\n<p> \u627e\u5230\u6587\u4ef6includes\\modules\\product_prev_next.php\uff0c\u641c\u7d22\uff1a<\/p>\n<p>   &nbsp;  <\/p>\n<ol>\n<li> $previous_button&nbsp;=&nbsp;zen_image_button(BUTTON_IMAGE_PREVIOUS,&nbsp;BUTTON_PREVIOUS_ALT); &nbsp;&nbsp;<\/li>\n<li> $next_item_button&nbsp;=&nbsp;zen_image_button(BUTTON_IMAGE_NEXT,&nbsp;BUTTON_NEXT_ALT);&nbsp;&nbsp;<\/li>\n<\/ol>\n<p> \u5c06\u4e0a\u9762\u4ee3\u7801\u4e2d\u7684\u7b2c\u4e00\u884c\u4fee\u6539\u4e3a\uff1a<\/p>\n<p>   &nbsp;  <\/p>\n<ol>\n<li> $previous_button&nbsp;=&nbsp;zen_get_products_name($previous);&nbsp;&nbsp;<\/li>\n<\/ol>\n<p> \u5c06\u7b2c\u4e8c\u884c\u4fee\u6539\u4e3a\uff1a<\/p>\n<p>   &nbsp;  <\/p>\n<ol>\n<li> $next_item_button&nbsp;=&nbsp;zen_get_products_name($next_item);&nbsp;&nbsp;&nbsp;&nbsp;<\/li>\n<\/ol>\n<p> \u7136\u540e\u518d\u53bbincludes\\templates\\template_default\\templates\\tpl_products_next_previous.php \u5c06\u4e0b\u9762\u8fd9\u6bb5\u4ee3\u7801\u6ce8\u91ca\u6389\u5373\u53ef\u3002<\/p>\n<p>   &nbsp;  <\/p>\n<ol>\n<li> &lt;div&nbsp;class=&#8221;navNextPrevList&#8221;&gt;&lt;a&nbsp;href=&#8221;&lt;?php&nbsp;echo&nbsp;zen_href_link(FILENAME_DEFAULT,&nbsp;&#8220;cPath=$cPath&#8221;);&nbsp;?&gt;&#8221;&gt;&lt;?php&nbsp;echo&nbsp;zen_image_button(BUTTON_IMAGE_RETURN_TO_PROD_LIST,&nbsp;BUTTON_RETURN_TO_PROD_LIST_ALT);&nbsp;?&gt;&lt;\/a&gt;&lt;\/div&gt;&nbsp;&nbsp;<\/li>\n<\/ol>\n<p> \u8fd9\u6837\u5c31\u53ef\u4ee5\u5b9e\u73b0\u4e0a\u4e00\u4e2a\u4e0b\u4e00\u4e2a\u6210\u4e86\u951a\u6587\u672c\u4e86\uff0c\u53d1\u4e00\u5f20\u6548\u679c\u56fe\uff08\u70b9\u51fb\u53ef\u653e\u5927\u663e\u793a\uff09\uff1a<\/p>\n<p> &nbsp;<\/p>\n<p> \u53e6\u5916\uff0c\u628a\u4e0a\u4e00\u4e2a\u4e0b\u4e00\u4e2a\u6309\u94ae\u6539\u6210\u4ea7\u54c1\u56fe\u7247\u663e\u793a\u4e5f\u662f\u53ef\u4ee5\u7684\uff0c\u5443\uff0c\u597d\u5427\uff0c\u5176\u5b9e\u8fd9\u4e2a\u4e0d\u7528\u6539\uff0c\u540e\u53f0\u5c31\u53ef\u4ee5\u8bbe\u7f6e\uff0c\u4f4d\u7f6e\u5728\uff1a<\/p>\n<p> \u540e\u53f0&#8212;Configuration&#8212;Product Info&#8212;<\/p>\n<p> Previous Next &#8211; Button and Image Status \u6539\u4e3a1<\/p>\n<p> Previous Next &#8211; Button and Image Settings \uff080\u662f\u53ea\u663e\u793a\u6309\u94ae\uff0c\u6309\u94ae\u6309\u7167\u4e0a\u9762\u7684\u505a\u6cd5\u6539\u6210\u540d\u5b57\u4e86\uff0c1\u662f\u56fe\u7247\u548c\u6309\u94ae\u90fd\u663e\u793a\uff0c3\u662f\u53ea\u663e\u793a\u56fe\u7247\uff09\u53ef\u6309\u81ea\u5df1\u7684\u9700\u8981\u53bb\u8bbe\u5b9a\u3002&lt;a data-cke-saved-href=&#8221;http:\/\/www.daxiongblog.com\/wp-content\/uploads\/2013\/05\/1.jpg&#8221; href=&#8221;http:\/\/www.daxiongblog.com\/wp-content\/uploads\/2013\/05\/1.jpg&#8221; rel=&#8221;example4&#8243; 121&#8243;=&#8221;&#8221;&gt;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>ZenCart\u4ea7\u54c1\u8be6\u7ec6\u9875\u9762\u6709\u81ea\u5e26\u4e0a\u4e00\u4e2a\u4e0b\u4e00\u4e2a\u4ea7\u54c1\u7684\u94fe\u63a5\uff0c\u8fd9\u6837\u5bf9\u4e8e\u7f51\u9875\u4e4b\u95f4\u7684\u5185\u94fe\u8fd8\u662f\u6bd4\u8f83\u597d\u7684\uff0c\u4e0d\u8fc7\u5b83\u663e\u793a\u7684\u65b9\u5f0f\u662f\u4ee5\u6309\u94ae\u663e\u793a\u7684\uff0c\u4e0d\u7f8e\u89c2\uff0c\u4f53\u9a8c\u53c8\u5dee\u3002\u628a\u6309\u94ae\u4fee\u6539\u4e3a\u951a\u6587\u672c\u662f\u4e2a\u4e0d\u9519\u7684\u9009\u62e9\u3002 \u627e\u5230\u6587\u4ef6includes\\modules\\product_prev_next.php\uff0c\u641c\u7d22\uff1a &nbsp; $previous_button&nbsp;=&nbsp;zen_image_button(BUTTON_IMAGE_PREVIOUS,&nbsp;BUTTON_PREVIOUS_ALT); &nbsp;&nbsp; $next_item_button&nbsp;=&nbsp;zen_image_button(BUTTON_IMAGE_NEXT,&nbsp;BUTTON_NEXT_ALT);&nbsp;&nbsp; \u5c06\u4e0a\u9762\u4ee3\u7801\u4e2d\u7684\u7b2c\u4e00\u884c\u4fee\u6539\u4e3a\uff1a &nbsp; $previous_button&nbsp;=&nbsp;zen_get_products_name($previous);&nbsp;&nbsp; \u5c06\u7b2c\u4e8c\u884c\u4fee\u6539\u4e3a\uff1a &nbsp; $next_item_button&nbsp;=&nbsp;zen_get_products_name($next_item);&nbsp;&nbsp;&nbsp;&nbsp; \u7136\u540e\u518d\u53bbincludes\\templates\\template_default\\templates\\tpl_products_next_previous.php \u5c06\u4e0b\u9762\u8fd9\u6bb5\u4ee3\u7801\u6ce8\u91ca\u6389\u5373\u53ef\u3002 &nbsp; &lt;div&nbsp;class=&#8221;navNextPrevList&#8221;&gt;&lt;a&nbsp;href=&#8221;&lt;?php&nbsp;echo&nbsp;zen_href_link(FILENAME_DEFAULT,&nbsp;&#8220;cPath=$cPath&#8221;);&nbsp;?&gt;&#8221;&gt;&lt;?php&nbsp;echo&nbsp;zen_image_button(BUTTON_IMAGE_RETURN_TO_PROD_LIST,&nbsp;BUTTON_RETURN_TO_PROD_LIST_ALT);&nbsp;?&gt;&lt;\/a&gt;&lt;\/div&gt;&nbsp;&nbsp; \u8fd9\u6837\u5c31\u53ef\u4ee5\u5b9e\u73b0\u4e0a\u4e00\u4e2a\u4e0b\u4e00\u4e2a\u6210\u4e86\u951a\u6587\u672c\u4e86\uff0c\u53d1\u4e00\u5f20\u6548\u679c\u56fe\uff08\u70b9\u51fb\u53ef\u653e\u5927\u663e\u793a\uff09\uff1a &nbsp; \u53e6\u5916\uff0c\u628a\u4e0a\u4e00\u4e2a\u4e0b\u4e00\u4e2a\u6309\u94ae\u6539\u6210\u4ea7\u54c1\u56fe\u7247\u663e\u793a\u4e5f\u662f\u53ef\u4ee5\u7684\uff0c\u5443\uff0c\u597d\u5427\uff0c\u5176\u5b9e\u8fd9\u4e2a\u4e0d\u7528\u6539\uff0c\u540e\u53f0\u5c31\u53ef\u4ee5\u8bbe\u7f6e\uff0c\u4f4d\u7f6e\u5728\uff1a \u540e\u53f0&#8212;Configuration&#8212;Product Info&#8212; Previous Next &#8211; Button and Image Status \u6539\u4e3a1 Previous Next &#8211; Button and Image Settings \uff080\u662f\u53ea\u663e\u793a\u6309\u94ae\uff0c\u6309\u94ae\u6309\u7167\u4e0a\u9762\u7684\u505a\u6cd5\u6539\u6210\u540d\u5b57\u4e86\uff0c1\u662f\u56fe\u7247\u548c\u6309\u94ae\u90fd\u663e\u793a\uff0c3\u662f\u53ea\u663e\u793a\u56fe\u7247\uff09\u53ef\u6309\u81ea\u5df1\u7684\u9700\u8981\u53bb\u8bbe\u5b9a\u3002&lt;a data-cke-saved-href=&#8221;http:\/\/www.daxiongblog.com\/wp-content\/uploads\/2013\/05\/1.jpg&#8221; href=&#8221;http:\/\/www.daxiongblog.com\/wp-content\/uploads\/2013\/05\/1.jpg&#8221; rel=&#8221;example4&#8243; 121&#8243;=&#8221;&#8221;&gt;<\/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-60912","post","type-post","status-publish","format-standard","hentry","category-16"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/60912","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=60912"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/60912\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=60912"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=60912"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=60912"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}