{"id":59403,"date":"2025-04-23T14:35:50","date_gmt":"2025-04-23T06:35:50","guid":{"rendered":"https:\/\/fwq.ai\/blog\/59403\/"},"modified":"2025-04-23T14:35:50","modified_gmt":"2025-04-23T06:35:50","slug":"ecshop%e5%95%86%e5%93%81%e5%88%86%e7%b1%bb%e5%88%97%e8%a1%a8%e6%9c%80%e5%90%8e%e5%87%ba%e7%8e%b0%e7%a9%ba%e7%9a%84%e5%95%86%e5%93%81","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/59403\/","title":{"rendered":"ecshop\u5546\u54c1\u5206\u7c7b\u5217\u8868\u6700\u540e\u51fa\u73b0\u7a7a\u7684\u5546\u54c1"},"content":{"rendered":"<p>&nbsp;\u5927\u5bb6\u5728\u7528\u4e00\u4e9b\u6a21\u677f\u65f6\uff0c\u53ef\u80fd\u89c4\u5219\u5199\u7684\u4e0d\u89c4\u8303&nbsp;<span style=\"font-family: \u5b8b\u4f53, Verdana, Arial;line-height: 21px\">\u5728\u5217\u8868\u9875\u7684\u6700\u540e\u4e00\u4e2a\u5546\u54c1\u7684\u4f4d\u7f6e\u4e0a\u7ecf\u5e38\u4f1a\u591a\u51fa\u4e00\u4e2a\u7a7a\u5546\u54c1\uff0c\u5728\u6362\u6210\u9ed8\u8ba4\u6a21\u7248\u4ee5\u540e\u7a7a\u5546\u54c1\u6d88\u5931\u3002<\/span><\/p>\n<p>\u8fd9\u4e2a\u4e00\u822c\u5199\u5728<\/p>\n<p>goods_list.lbi\u6a21\u677f \u5546\u54c1\u5217\u8868\u5faa\u73af\u6807\u7b7e\u90e8\u5206\u3002<\/p>\n<p>\u4ee3\u7801\uff1a<\/p>\n<p>&nbsp;<\/p>\n<p>&lt;!&#8211;{foreach from=$goods_list item=goods}&#8211;&gt;<\/p>\n<p><strong><span>&nbsp; &nbsp; &lt;!&#8211; {if $goods.goods_id} &#8211;&gt;<\/span><\/strong><\/p>\n<p>&nbsp; &nbsp; &nbsp;&lt;div class=&#8221;goodsItem&#8221;&gt;<\/p>\n<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;a href=&#8221;{$goods.url}&#8221;&gt;&lt;img src=&#8221;{$goods.goods_thumb}&#8221; alt=&#8221;{$goods.goods_name}&#8221; class=&#8221;goodsimg&#8221; \/&gt;&lt;\/a&gt;&lt;br \/&gt;<\/p>\n<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;p&gt;&lt;a href=&#8221;{$goods.url}&#8221; title=&#8221;{$goods.name|escape:html}&#8221;&gt;{$goods.goods_name}&lt;\/a&gt;&lt;\/p&gt;<\/p>\n<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;!&#8211; {if $show_marketprice} &#8211;&gt;<\/p>\n<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {$lang.market_prices}&lt;font class=&#8221;market_s&#8221;&gt;{$goods.market_price}&lt;\/font&gt;&lt;br \/&gt;<\/p>\n<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;!&#8211; {\/if} &#8211;&gt;<\/p>\n<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;!&#8211;{if $goods.promote_price neq &#8220;&#8221; } &#8211;&gt;<\/p>\n<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {$lang.promote_price}&lt;font class=&#8221;shop_s&#8221;&gt;{$goods.promote_price}&lt;\/font&gt;&lt;br \/&gt;<\/p>\n<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;!&#8211;{else}&#8211;&gt;<\/p>\n<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {$lang.shop_prices}&lt;font class=&#8221;shop_s&#8221;&gt;{$goods.shop_price}&lt;\/font&gt;&lt;br \/&gt;<\/p>\n<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;!&#8211;{\/if}&#8211;&gt;<\/p>\n<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;a href=&#8221;javascript:collect({$goods.goods_id});&#8221; class=&#8221;f6&#8243;&gt;{$lang.btn_collect}&lt;\/a&gt; |<\/p>\n<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;a href=&#8221;javascript:addToCart({$goods.goods_id})&#8221; class=&#8221;f6&#8243;&gt;{$lang.btn_buy}&lt;\/a&gt; |<\/p>\n<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;a href=&#8221;javascript:;&#8221; id=&#8221;compareLink&#8221; onClick=&#8221;Compare.add({$goods.goods_id},'{$goods.goods_name|escape:&#8221;html&#8221;}&#8217;,'{$goods.type}&#8217;)&#8221; class=&#8221;f6&#8243;&gt;{$lang.compare}&lt;\/a&gt;<\/p>\n<p>&nbsp; &nbsp; &nbsp; &nbsp; &lt;\/div&gt;<\/p>\n<p>&nbsp;<strong><span> &nbsp; &lt;!&#8211;{\/if}&#8211;&gt;<\/span><\/strong><\/p>\n<p>&nbsp; &nbsp; &lt;!&#8211;{\/foreach}&#8211;&gt;<\/p>\n<p>\u51fa\u73b0\u95ee\u9898\u4e5f\u5c31\u662f\u56e0\u4e3a\u7f3a\u5c11\u597d\u6a21\u677f\u6807\u6ce8\u7684\u7ea2\u8272\u90e8\u5206\uff01 &nbsp; \u89e3\u51b3\uff01<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp;\u5927\u5bb6\u5728\u7528\u4e00\u4e9b\u6a21\u677f\u65f6\uff0c\u53ef\u80fd\u89c4\u5219\u5199\u7684\u4e0d\u89c4\u8303&nbsp;\u5728\u5217\u8868\u9875\u7684\u6700\u540e\u4e00\u4e2a\u5546\u54c1\u7684\u4f4d\u7f6e\u4e0a\u7ecf\u5e38\u4f1a\u591a\u51fa\u4e00\u4e2a\u7a7a\u5546\u54c1\uff0c\u5728\u6362\u6210\u9ed8\u8ba4\u6a21\u7248\u4ee5\u540e\u7a7a\u5546\u54c1\u6d88\u5931\u3002 \u8fd9\u4e2a\u4e00\u822c\u5199\u5728 goods_list.lbi\u6a21\u677f \u5546\u54c1\u5217\u8868\u5faa\u73af\u6807\u7b7e\u90e8\u5206\u3002 \u4ee3\u7801\uff1a &nbsp; &lt;!&#8211;{foreach from=$goods_list item=goods}&#8211;&gt; &nbsp; &nbsp; &lt;!&#8211; {if $goods.goods_id} &#8211;&gt; &nbsp; &nbsp; &nbsp;&lt;div class=&#8221;goodsItem&#8221;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;a href=&#8221;{$goods.url}&#8221;&gt;&lt;img src=&#8221;{$goods.goods_thumb}&#8221; alt=&#8221;{$goods.goods_name}&#8221; class=&#8221;goodsimg&#8221; \/&gt;&lt;\/a&gt;&lt;br \/&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;p&gt;&lt;a href=&#8221;{$goods.url}&#8221; title=&#8221;{$goods.name|escape:html}&#8221;&gt;{$goods.goods_name}&lt;\/a&gt;&lt;\/p&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;!&#8211; {if $show_marketprice} &#8211;&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {$lang.market_prices}&lt;font [&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-59403","post","type-post","status-publish","format-standard","hentry","category-16"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/59403","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=59403"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/59403\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=59403"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=59403"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=59403"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}