{"id":199480,"date":"2025-05-03T11:25:36","date_gmt":"2025-05-03T03:25:36","guid":{"rendered":"https:\/\/server.hk\/cnblog\/199480\/"},"modified":"2025-05-03T11:25:36","modified_gmt":"2025-05-03T03:25:36","slug":"ecshop%e6%a0%87%e7%ad%begoods-goods_name%e4%b8%8egoods-goods_style_name","status":"publish","type":"post","link":"https:\/\/server.hk\/cnblog\/199480\/","title":{"rendered":"ecshop\u6807\u7b7e{$goods.goods_name}\u4e0e{$goods.goods_style_name}"},"content":{"rendered":"<p>ecshop\u4e2d\u7684{$goods.goods_name}\u4e0e{$goods.goods_style_name}\u8fd9\u4e24\u4e2a\u6807\u7b7e\uff0c\u5176\u5b9e\u4ee3\u8868\u7684\u542b\u4e49\u90fd\u662f\u76f8\u540c\u7684\uff0c\u90fd\u662f\u8f93\u51fa\u5546\u54c1\u540d\u79f0\u3002   \u5728ecshop\u7684\u9ed8\u8ba4\u6a21\u677f\u5e93\u6587\u4ef6goods_list.lbi\u4e2d\u6709\uff1a   &lt;!&#8211; {if $goods.goods_style_name} &#8211;&gt;   {$goods.goods_style_name}&lt;br \/&gt;   &lt;!&#8211; {else} &#8211;&gt;   {$goods.goods_name}&lt;br \/&gt;   &lt;!&#8211; {\/if} &#8211;&gt;   \u8fd9\u91cc\u5f88\u660e\u663e\uff0c\u4ed6\u7684\u610f\u601d\u8bf4\u7684\u5f88\u660e\u767d\u4e86\uff0c&lt;!&#8211; {if $goods.goods_style_name} &#8211;&gt;\u5982\u679c\u8fd9\u91cc\u8f93\u51fa\u7684\u662f\u5546\u54c1\u540d\u79f0\uff0c\u5c31\u8f93\u51fa{$goods.goods_style_name}\u6216\u8005{$goods.goods_name}\uff0c\u4f46\u662f\u8fd9\u91cc\u5728\u8fd9\u4e2a{if} {\/if}\u7684\u8bed\u53e5\u4e2d\u8f93\u51fa\u7684\u5c31\u662f\u5546\u54c1\u540d\u79f0\uff0c\u6240\u4ee5\u8001\u9093\u65ad\u5b9a\uff0c\u8fd9\u4e24\u4e2a\u6807\u7b7e\u5c31\u662f\u8f93\u51fa\u7684\u5c31\u662f\u5546\u54c1\u540d\u79f0\u3002   \u4e0d\u8fc7{$goods.goods_name}\u8fd8\u662f\u6709\u70b9\u533a\u522b\u7684\uff0c\u5b83\u662f\u4e00\u4e2a\u51fd\u6570\uff0c\u5728\u5b83\u540e\u8fb9\u52a0\u4e0a\u4e00\u4e9b\u5b57\u7b26\u5c31\u53d8\u6210\u4e86\u53e6\u5916\u4e00\u4e2a\u6807\u7b7e\u4f8b\u5982\uff1a{$goods.goods_name|escape:html}  <\/p>\n","protected":false},"excerpt":{"rendered":"<p>ecshop\u4e2d\u7684{$goods.&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4925],"tags":[],"class_list":["post-199480","post","type-post","status-publish","format-standard","hentry","category-4925"],"_links":{"self":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/199480","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/comments?post=199480"}],"version-history":[{"count":0,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/199480\/revisions"}],"wp:attachment":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/media?parent=199480"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/categories?post=199480"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/tags?post=199480"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}