{"id":59092,"date":"2025-04-23T11:02:04","date_gmt":"2025-04-23T03:02:04","guid":{"rendered":"https:\/\/fwq.ai\/blog\/59092\/"},"modified":"2025-04-23T11:02:04","modified_gmt":"2025-04-23T03:02:04","slug":"%e5%9c%a8ecshop%e5%95%86%e5%93%81%e8%af%a6%e6%83%85%e9%a1%b5%e6%98%be%e7%a4%ba%e5%93%81%e7%89%8clogo","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/59092\/","title":{"rendered":"\u5728ECSHOP\u5546\u54c1\u8be6\u60c5\u9875\u663e\u793a\u54c1\u724cLOGO"},"content":{"rendered":"<p>\u95ee\uff1a<br \/> ecshop\u5546\u54c1\u8be6\u7ec6\u9875\u9762\u7684\u5546\u54c1\u54c1\u724c\u9ed8\u8ba4\u662f\u4ee5\u6587\u5b57\u5f62\u5f0f\u663e\u793a\u7684\uff0c\u80fd\u5426\u6539\u6210\u4ee5LOGO\u5f62\u5f0f\u663e\u793a\u3002<\/p>\n<p> \u7b54\uff1a<\/p>\n<p> \u5f53\u7136\u53ef\u4ee5\uff0c\u4e0b\u9762\u770b\u6559\u7a0b\u3002\u6ce8\uff1a\u672c\u6559\u7a0b\u4ee5 ECSHOP2.7.2 + \u5b98\u65b9\u9ed8\u8ba4\u6a21\u677f \u4e3a\u4f8b\u3002<\/p>\n<p> 1\uff09\u3001\u9996\u5148\u9700\u8981\u4fee\u6539 \/includes\/lib_goods.php \uff0c<br \/> \u7528EditPlus\u6216Dreamweaver\u6253\u5f00\u8be5\u6587\u4ef6\uff0c<\/p>\n<p> \u627e\u5230 <\/p>\n<table cellspacing=\"0\" cellpadding=\"5\" style=\"border-right: #cccccc 1px solid;border-top: #cccccc 1px solid;background: #f7f7f7;border-left: #cccccc 1px solid;width: 90%;border-bottom: #cccccc 1px solid\">\n<tbody>\n<tr>\n<td><span style=\"color: #ff0000\">$sql = &#8216;SELECT g.*, c.measure_unit, b.brand_id, b.brand_name AS goods_brand, m.type_money AS bonus_money, &#8216; .<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p> \u4fee\u6539\u4e3a <\/p>\n<table cellspacing=\"0\" cellpadding=\"5\" style=\"border-right: #cccccc 1px solid;border-top: #cccccc 1px solid;background: #f7f7f7;border-left: #cccccc 1px solid;width: 90%;border-bottom: #cccccc 1px solid\">\n<tbody>\n<tr>\n<td><span style=\"color: #ff0000\">$sql = &#8216;SELECT g.*, c.measure_unit, b.brand_id,b.brand_logo, b.brand_name AS goods_brand, m.type_money AS bonus_money, &#8216; .<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p> 2\uff09\u3001<br \/>\n<br \/> \u63a5\u7740\u4fee\u6539 \/themes\/default\/goods.dwt<\/p>\n<p> \u5c06<br \/>\n<br \/> {$goods.goods_brand}<\/p>\n<p> \u4fee\u6539\u4e3a<br \/>\n<br \/> {if&nbsp; $goods.brand_logo}&lt;img src=\/data\/brandlogo\/{$goods.brand_logo}&gt;{else}{$goods.goods_brand}{\/if}<\/p>\n<p> &nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u95ee\uff1a ecshop\u5546\u54c1\u8be6\u7ec6\u9875\u9762\u7684\u5546\u54c1\u54c1\u724c\u9ed8\u8ba4\u662f\u4ee5\u6587\u5b57\u5f62\u5f0f\u663e\u793a\u7684\uff0c\u80fd\u5426\u6539\u6210\u4ee5LOGO\u5f62\u5f0f\u663e\u793a\u3002 \u7b54\uff1a \u5f53\u7136\u53ef\u4ee5\uff0c\u4e0b\u9762\u770b\u6559\u7a0b\u3002\u6ce8\uff1a\u672c\u6559\u7a0b\u4ee5 ECSHOP2.7.2 + \u5b98\u65b9\u9ed8\u8ba4\u6a21\u677f \u4e3a\u4f8b\u3002 1\uff09\u3001\u9996\u5148\u9700\u8981\u4fee\u6539 \/includes\/lib_goods.php \uff0c \u7528EditPlus\u6216Dreamweaver\u6253\u5f00\u8be5\u6587\u4ef6\uff0c \u627e\u5230 $sql = &#8216;SELECT g.*, c.measure_unit, b.brand_id, b.brand_name AS goods_brand, m.type_money AS bonus_money, &#8216; . \u4fee\u6539\u4e3a $sql = &#8216;SELECT g.*, c.measure_unit, b.brand_id,b.brand_logo, b.brand_name AS goods_brand, m.type_money AS bonus_money, &#8216; . 2\uff09\u3001 \u63a5\u7740\u4fee\u6539 \/themes\/default\/goods.dwt \u5c06 {$goods.goods_brand} \u4fee\u6539\u4e3a {if&nbsp; $goods.brand_logo}&lt;img src=\/data\/brandlogo\/{$goods.brand_logo}&gt;{else}{$goods.goods_brand}{\/if} &nbsp;<\/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-59092","post","type-post","status-publish","format-standard","hentry","category-16"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/59092","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=59092"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/59092\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=59092"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=59092"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=59092"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}