{"id":61019,"date":"2025-04-26T12:51:56","date_gmt":"2025-04-26T04:51:56","guid":{"rendered":"https:\/\/fwq.ai\/blog\/61019\/"},"modified":"2025-04-26T12:51:56","modified_gmt":"2025-04-26T04:51:56","slug":"zen-cart%e5%85%b3%e9%97%adtell-a-friend%e9%98%b2%e6%ad%a2%e5%9e%83%e5%9c%be%e9%82%ae%e4%bb%b6%e6%bb%a5%e7%94%a8","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/61019\/","title":{"rendered":"Zen Cart\u5173\u95edtell a friend\u9632\u6b62\u5783\u573e\u90ae\u4ef6\u6ee5\u7528"},"content":{"rendered":"<p>\u4e3a\u4ec0\u4e48\u8981\u5173\u95ed tell a friend \u529f\u80fd\uff0c\u76ee\u7684\u5c31\u662f\u9632\u6b62\u88ab\u4eba\u7528\u6765\u53d1\u5783\u573e\u90ae\u4ef6 Spam\uff0c\u5bfc\u81f4\u670d\u52a1\u5668\u88ab\u6295\u8bc9\uff0c\u8f7b\u5219\u88ab\u670d\u52a1\u5668\u63d0\u4f9b\u5546\u8b66\u544a\uff0c\u4e25\u91cd\u7684\u5c31\u4f1a\u88ab\u670d\u52a1\u5668\u63d0\u4f9b\u5546\u5173\u95ed\u8d26\u53f7\u4e86\uff0c\u6709\u6392\u540d\u7684\u7ad9\u5982\u679c\u7ecf\u6b64\u6298\u817e\uff0c\u5c06\u5bfc\u81f4\u635f\u5931\u60e8\u91cd\u3002   &nbsp;   Zen Cart V1.5 \u5df2\u7ecf\u53bb\u6389\u4e86 Tell a Friend \u529f\u80fd\uff0c\u56e0\u6b64\u4e0d\u7528\u8bbe\u7f6e\u3002   &nbsp;   \u4ee5\u4e0b\u8bbe\u7f6e\u53ea\u9488\u5bf9 Zen Cart V1.3.x \u7684\u7248\u672c\u3002   &nbsp;   \u7b2c\u4e00\u6b65\uff1a\u6253\u5f00 Tools \u2013&gt; Install SQL Patch \u6267\u884c\u4ee5\u4e0b\u8bed\u53e5   &nbsp;   UPDATE product_type_layout&nbsp;   &nbsp; &nbsp; SET configuration_value=&#8221;0&#8243;   &nbsp; &nbsp; WHERE configuration_key=&#8221;SHOW_PRODUCT_INFO_TELL_A_FRIEND&#8221;;   &nbsp;   UPDATE product_type_layout&nbsp;   &nbsp; &nbsp; SET configuration_value=&#8221;0&#8243;   &nbsp; &nbsp; WHERE configuration_key=&#8221;SHOW_PRODUCT_MUSIC_INFO_TELL_A_FRIEND&#8221;;   &nbsp;   UPDATE product_type_layout&nbsp;   &nbsp; &nbsp; SET configuration_value=&#8221;0&#8243;   &nbsp; &nbsp; WHERE configuration_key=&#8221;SHOW_DOCUMENT_GENERAL_INFO_TELL_A_FRIEND&#8221;;   &nbsp;   UPDATE product_type_layout&nbsp;   &nbsp; &nbsp; SET configuration_value=&#8221;0&#8243;   &nbsp; &nbsp; WHERE configuration_key=&#8221;SHOW_DOCUMENT_PRODUCT_INFO_TELL_A_FRIEND&#8221;;   &nbsp;   UPDATE product_type_layout&nbsp;   &nbsp; &nbsp; SET configuration_value=&#8221;0&#8243;   &nbsp; &nbsp; WHERE configuration_key=&#8221;SHOW_PRODUCT_FREE_SHIPPING_INFO_TELL_A_FRIEND&#8221;;   &nbsp;   UPDATE layout_boxes&nbsp;   &nbsp; &nbsp; SET layout_box_status=&#8221;0&#8243;   &nbsp; &nbsp; WHERE layout_box_name=&#8221;tell_a_friend.php&#8221;;   \u53cb\u60c5\u63d0\u793a\uff1aSQL\u8bed\u53e5\u91cc\u7684\u8868\u540d\u5982\u679c\u4f60\u5b89\u88c5\u7684\u65f6\u5019\u8bbe\u7f6e\u4e86\u8868\u524d\u7f00\u7684\uff0c\u8bb0\u5f97\u4fee\u6539\u8868\u524d\u7f00\uff0c\u5426\u5219\u4f1a\u6267\u884c\u5931\u8d25\u7684\u3002   &nbsp;   \u7b2c\u4e8c\u6b65\uff1a \u521b\u5efa\u4e00\u4e2a\u540d\u4e3a deny_tell_a_friend.php \u7684\u6587\u4ef6\uff0c\u4fdd\u5b58\u5230\u76ee\u5f55 includesfunctionsextra_functions \u91cc\uff0c\u6587\u4ef6\u5185\u5bb9\u5982\u4e0b   &nbsp;   &nbsp;   &lt;?php   if ($_GET[&#8220;main_page&#8221;] == FILENAME_TELL_A_FRIEND) {   &nbsp; &nbsp; zen_redirect(zen_href_link(FILENAME_DEFAULT));   }   ?&gt;   \u7a0b\u5e8f\u529f\u80fd\u8bf4\u660e\uff1a\u5f53\u5783\u573e\u7a0b\u5e8f\u8c03\u7528\u7f51\u7ad9\u7684 tell a friend \u529f\u80fd\u7684\u65f6\u5019\uff0c\u5c31\u81ea\u52a8\u8df3\u8f6c\u5230\u7f51\u7ad9\u9996\u9875\uff0c\u4f7f\u5176\u65e0\u6cd5\u5f97\u901e\u3002   \u4e0a\u4f20 deny_tell_a_friend.php \u5230Zen Cart \u5b89\u88c5\u76ee\u5f55\u7684 includesfunctionsextra_functions \u91cc\u3002   &nbsp;   \u6536\u5de5\u3002  <\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4e3a\u4ec0\u4e48\u8981\u5173\u95ed tell a friend \u529f\u80fd\uff0c\u76ee\u7684\u5c31\u662f\u9632\u6b62\u88ab\u4eba\u7528\u6765\u53d1\u5783\u573e\u90ae\u4ef6 Spam\uff0c\u5bfc\u81f4\u670d\u52a1\u5668\u88ab\u6295\u8bc9\uff0c\u8f7b\u5219\u88ab\u670d\u52a1\u5668\u63d0\u4f9b\u5546\u8b66\u544a\uff0c\u4e25\u91cd\u7684\u5c31\u4f1a\u88ab\u670d\u52a1\u5668\u63d0\u4f9b\u5546\u5173\u95ed\u8d26\u53f7\u4e86\uff0c\u6709\u6392\u540d\u7684\u7ad9\u5982\u679c\u7ecf\u6b64\u6298\u817e\uff0c\u5c06\u5bfc\u81f4\u635f\u5931\u60e8\u91cd\u3002 &nbsp; Zen Cart V1.5 \u5df2\u7ecf\u53bb\u6389\u4e86 Tell a Friend \u529f\u80fd\uff0c\u56e0\u6b64\u4e0d\u7528\u8bbe\u7f6e\u3002 &nbsp; \u4ee5\u4e0b\u8bbe\u7f6e\u53ea\u9488\u5bf9 Zen Cart V1.3.x \u7684\u7248\u672c\u3002 &nbsp; \u7b2c\u4e00\u6b65\uff1a\u6253\u5f00 Tools \u2013&gt; Install SQL Patch \u6267\u884c\u4ee5\u4e0b\u8bed\u53e5 &nbsp; UPDATE product_type_layout&nbsp; &nbsp; &nbsp; SET configuration_value=&#8221;0&#8243; &nbsp; &nbsp; WHERE configuration_key=&#8221;SHOW_PRODUCT_INFO_TELL_A_FRIEND&#8221;; &nbsp; UPDATE product_type_layout&nbsp; &nbsp; &nbsp; SET configuration_value=&#8221;0&#8243; &nbsp; &nbsp; WHERE configuration_key=&#8221;SHOW_PRODUCT_MUSIC_INFO_TELL_A_FRIEND&#8221;; &nbsp; UPDATE product_type_layout&nbsp; &nbsp; [&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-61019","post","type-post","status-publish","format-standard","hentry","category-16"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/61019","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=61019"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/61019\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=61019"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=61019"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=61019"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}