{"id":60791,"date":"2025-04-26T08:04:56","date_gmt":"2025-04-26T00:04:56","guid":{"rendered":"https:\/\/fwq.ai\/blog\/60791\/"},"modified":"2025-04-26T08:04:56","modified_gmt":"2025-04-26T00:04:56","slug":"zencart%e7%94%a8sql%e5%b0%86%e6%9f%90%e4%b8%aa%e4%ba%a7%e5%93%81%e5%b1%9e%e6%80%a7%e5%80%bc%e8%ae%be%e4%b8%ba%e5%8f%aa%e8%af%bb%e5%92%8c%e9%bb%98%e8%ae%a4","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/60791\/","title":{"rendered":"zencart\u7528sql\u5c06\u67d0\u4e2a\u4ea7\u54c1\u5c5e\u6027\u503c\u8bbe\u4e3a\u53ea\u8bfb\u548c\u9ed8\u8ba4"},"content":{"rendered":"<p> zencart\u7528sql\u5c06\u67d0\u4e2a\u4ea7\u54c1\u5c5e\u6027\u503c\u8bbe\u4e3a\u53ea\u8bfb\u548c\u9ed8\u8ba4<\/p>\n<pre>\r\nUPDATE `products_attributes` SET `attributes_display_only` = '1',\r\n`attributes_default` = '1' WHERE `options_values_id` =7;<\/pre>\n<p> \u6ce8\uff1a\u7ea2\u8272\u6570\u5b577\u4e3a\u5c5e\u6027\u503c\u5bf9\u5e94\u7684ID\u3002<\/p>\n<p> \u5047\u8bbe\u8981\u5c06\u5c5e\u6027\u503c-Select Size-\u8bbe\u4e3a\u9ed8\u8ba4\u663e\u793a\u4e0e\u53ea\u8bfb\uff0c\u5728\u540e\u53f0Option Value Manager\u4e2d\u627e\u5230\u5176\u5bf9\u5e94\u7684ID\uff0c\u5c06\u4ee5\u4e0a\u8bed\u53e5\u4e2d\u6570\u5b577\u66ff\u6362\u4e3a-Select Size-\u5bf9\u5e94\u7684ID\u5373\u53ef\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>zencart\u7528sql\u5c06\u67d0\u4e2a\u4ea7\u54c1\u5c5e\u6027\u503c\u8bbe\u4e3a\u53ea\u8bfb\u548c\u9ed8\u8ba4 UPDATE `products_attributes` SET `attributes_display_only` = &#8216;1&#8217;, `attributes_default` = &#8216;1&#8217; WHERE `options_values_id` =7; \u6ce8\uff1a\u7ea2\u8272\u6570\u5b577\u4e3a\u5c5e\u6027\u503c\u5bf9\u5e94\u7684ID\u3002 \u5047\u8bbe\u8981\u5c06\u5c5e\u6027\u503c-Select Size-\u8bbe\u4e3a\u9ed8\u8ba4\u663e\u793a\u4e0e\u53ea\u8bfb\uff0c\u5728\u540e\u53f0Option Value Manager\u4e2d\u627e\u5230\u5176\u5bf9\u5e94\u7684ID\uff0c\u5c06\u4ee5\u4e0a\u8bed\u53e5\u4e2d\u6570\u5b577\u66ff\u6362\u4e3a-Select Size-\u5bf9\u5e94\u7684ID\u5373\u53ef\u3002<\/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-60791","post","type-post","status-publish","format-standard","hentry","category-16"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/60791","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=60791"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/60791\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=60791"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=60791"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=60791"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}