{"id":59297,"date":"2025-04-23T17:30:48","date_gmt":"2025-04-23T09:30:48","guid":{"rendered":"https:\/\/fwq.ai\/blog\/59297\/"},"modified":"2025-04-23T17:30:48","modified_gmt":"2025-04-23T09:30:48","slug":"ecshop%e5%95%86%e5%93%81%e9%a1%b5%e5%8a%a0%e5%85%a5%e8%b4%ad%e7%89%a9%e8%bd%a6%e5%bc%b9%e5%87%ba%e4%bb%bf%e6%b7%98%e5%ae%9d%e6%95%88%e6%9e%9c","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/59297\/","title":{"rendered":"ECSHOP\u5546\u54c1\u9875\u52a0\u5165\u8d2d\u7269\u8f66\u5f39\u51fa\u4eff\u6dd8\u5b9d\u6548\u679c"},"content":{"rendered":"<p>&nbsp;<span style=\"font-family: \u5b8b\u4f53, Verdana, Arial;line-height: 18px\"><span style=\"font-size: 12px\">\u5728ECSHOP\u5546\u54c1\u8be6\u60c5\u9875\u70b9\u201c\u52a0\u5165\u8d2d\u7269\u8f66\u201d\uff0c\u76f4\u63a5\u5728\u5f53\u524d\u9875\u5f39\u51fa\u4e00\u4e2a\u6f02\u4eae\u7684\u5c0f\u7a97\u53e3\uff0c<\/span><\/span><\/p>\n<p style=\"border-top-style: none;border-right-style: none;border-bottom-style: none;border-left-style: none;border-width: initial;border-color: initial;list-style-type: none;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px\"><span style=\"font-size: 12px\">\u6548\u679c\u5982\u4e0b\u56fe\uff1a<\/span><br \/> <span style=\"font-size: 12px;border-width: initial;border-color: initial\"><img decoding=\"async\" style=\"border-top-style: none;border-right-style: none;border-bottom-style: none;border-left-style: none;border-width: initial;border-color: initial;list-style-type: none;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px\" src=\"https:\/\/www.ldhost.cn\/helphmb\/uploads\/allimg\/110816\/15323310E-0.gif\" class=\"aligncenter\" title=\"ECSHOP\u5546\u54c1\u9875\u52a0\u5165\u8d2d\u7269\u8f66\u5f39\u51fa\u4eff\u6dd8\u5b9d\u6548\u679c\u63d2\u56fe\" alt=\"ECSHOP\u5546\u54c1\u9875\u52a0\u5165\u8d2d\u7269\u8f66\u5f39\u51fa\u4eff\u6dd8\u5b9d\u6548\u679c\u63d2\u56fe\" \/><\/span><br \/> <span style=\"font-size: 12px\">\u6b64\u65b9\u6cd5\u8d85\u7ea7\u7b80\u5355\uff0c\u4e0d\u9700\u8981\u4fee\u6539php\u7a0b\u5e8f\uff0c\u4e5f\u4e0d\u9700\u8981\u5728ECSHOP\u6a21\u677f\u9875\u9884\u8bbe\u9690\u85cf\u5c42\uff0c\u4e3b\u8981\u662f\u4fee\u6539 JS \u6587\u4ef6&nbsp;<\/span><\/p>\n<p> <span style=\"border-top-style: none;border-right-style: none;border-bottom-style: none;border-left-style: none;border-width: initial;border-color: initial;list-style-type: none;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px\"><font><br \/> <\/font><\/span><span style=\"font-size: 12px\">1\uff09<\/span><\/p>\n<p> <span style=\"font-size: 12px\">\u9996\u5148\u5c06\u4e0b\u9762\u56db\u4e2a\u56fe\u7247\u4e0b\u8f7d\u5230\u4f60\u7f51\u7ad9\u7684 \/data\/images\/&nbsp; \u4e0b\u9762<\/span><\/p>\n<p> <span style=\"font-size: 12px;border-width: initial;border-color: initial\"><img decoding=\"async\" style=\"border-top-style: none;border-right-style: none;border-bottom-style: none;border-left-style: none;border-width: initial;border-color: initial;list-style-type: none;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px\" src=\"https:\/\/www.ldhost.cn\/helphmb\/uploads\/allimg\/110816\/1532333162-1.gif\" class=\"aligncenter\" title=\"ECSHOP\u5546\u54c1\u9875\u52a0\u5165\u8d2d\u7269\u8f66\u5f39\u51fa\u4eff\u6dd8\u5b9d\u6548\u679c\u63d2\u56fe1\" alt=\"ECSHOP\u5546\u54c1\u9875\u52a0\u5165\u8d2d\u7269\u8f66\u5f39\u51fa\u4eff\u6dd8\u5b9d\u6548\u679c\u63d2\u56fe1\" \/><\/span><br \/> <span style=\"font-size: 12px;border-width: initial;border-color: initial\"><img decoding=\"async\" style=\"border-top-style: none;border-right-style: none;border-bottom-style: none;border-left-style: none;border-width: initial;border-color: initial;list-style-type: none;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px\" src=\"https:\/\/www.ldhost.cn\/helphmb\/uploads\/allimg\/110816\/15323313E-2.gif\" class=\"aligncenter\" title=\"ECSHOP\u5546\u54c1\u9875\u52a0\u5165\u8d2d\u7269\u8f66\u5f39\u51fa\u4eff\u6dd8\u5b9d\u6548\u679c\u63d2\u56fe2\" alt=\"ECSHOP\u5546\u54c1\u9875\u52a0\u5165\u8d2d\u7269\u8f66\u5f39\u51fa\u4eff\u6dd8\u5b9d\u6548\u679c\u63d2\u56fe2\" \/><\/span><\/p>\n<p> <span style=\"font-size: 12px;border-width: initial;border-color: initial\"><img decoding=\"async\" style=\"border-top-style: none;border-right-style: none;border-bottom-style: none;border-left-style: none;border-width: initial;border-color: initial;list-style-type: none;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px\" src=\"https:\/\/www.ldhost.cn\/helphmb\/uploads\/allimg\/110816\/1532334N6-3.gif\" class=\"aligncenter\" title=\"ECSHOP\u5546\u54c1\u9875\u52a0\u5165\u8d2d\u7269\u8f66\u5f39\u51fa\u4eff\u6dd8\u5b9d\u6548\u679c\u63d2\u56fe3\" alt=\"ECSHOP\u5546\u54c1\u9875\u52a0\u5165\u8d2d\u7269\u8f66\u5f39\u51fa\u4eff\u6dd8\u5b9d\u6548\u679c\u63d2\u56fe3\" \/><\/span><\/p>\n<p> <span style=\"font-size: 12px;border-width: initial;border-color: initial\"><img decoding=\"async\" style=\"border-top-style: none;border-right-style: none;border-bottom-style: none;border-left-style: none;border-width: initial;border-color: initial;list-style-type: none;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px\" src=\"https:\/\/www.ldhost.cn\/helphmb\/uploads\/allimg\/110816\/1532333262-4.gif\" class=\"aligncenter\" title=\"ECSHOP\u5546\u54c1\u9875\u52a0\u5165\u8d2d\u7269\u8f66\u5f39\u51fa\u4eff\u6dd8\u5b9d\u6548\u679c\u63d2\u56fe4\" alt=\"ECSHOP\u5546\u54c1\u9875\u52a0\u5165\u8d2d\u7269\u8f66\u5f39\u51fa\u4eff\u6dd8\u5b9d\u6548\u679c\u63d2\u56fe4\" \/><\/span><\/p>\n<p> <span style=\"font-size: 12px\">2\uff09<\/span><\/p>\n<p> <span style=\"font-size: 12px\">\u4ee5\u4e0b\u4fee\u6539\u4ee5\u5b98\u65b9\u9ed8\u8ba4\u6a21\u677f\u4e3a\u4f8b\uff0c\u6253\u5f00 ECSHOP\u6a21\u677f\u6587\u4ef6 \/themes\/default\/goods.dwt&nbsp;<\/span><\/p>\n<p> <span style=\"font-size: 12px\">\u5c06<\/span><\/p>\n<p> <span style=\"font-size: 12px\">&lt;li class=&#8221;padd&#8221;&gt;<\/span><br \/> <span style=\"font-size: 12px\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;a href=&#8221;javascript:addToCart({$goods.goods_id})&#8221;&gt;&lt;img src=&#8221;images\/bnt_cat.gif&#8221; \/&gt;&lt;\/a&gt;<\/span><\/p>\n<p> <span style=\"font-size: 12px\">\u4fee\u6539\u4e3a<\/span><\/p>\n<p> <span style=\"font-size: 12px\">&lt;li class=&#8221;padd&#8221; style=&#8221;position:relative;&#8221; id=&#8221;gwc&#8221;&gt;<\/span><br \/> <span style=\"font-size: 12px\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;a href=&#8221;javascript:addToCart({$goods.goods_id})&#8221;&gt;&lt;img src=&#8221;images\/bnt_cat.gif&#8221; \/&gt;&lt;\/a&gt;&nbsp;<\/span><\/p>\n<p> <span style=\"font-size: 12px\">3\uff09<\/span><\/p>\n<p> <span style=\"font-size: 12px\">\u4e0b\u9762\u4fee\u6539ECSHOP\u8bed\u8a00\u5305\u6587\u4ef6\uff0c\u6253\u5f00 \/languages\/zh_cn\/common.php&nbsp;<\/span><\/p>\n<p> <span style=\"font-size: 12px\">\u627e\u5230<\/span><\/p>\n<p> <span style=\"font-size: 12px\">$_LANG[&#8216;cart_info&#8217;]<\/span><\/p>\n<p> <span style=\"font-size: 12px\">\u5c06\u5b83\u7684\u503c\u4fee\u6539\u4e3a&nbsp;<\/span><br \/> &nbsp;<\/p>\n<table cellspacing=\"0\" cellpadding=\"5\" style=\"font-size: 12px;border-right-width: 1px;border-right-style: solid;border-top-width: 1px;border-top-style: solid;background-image: initial;background-attachment: initial;border-left-width: 1px;border-left-style: solid;width: 673px;border-bottom-width: 1px;border-bottom-style: solid\">\n<tbody>\n<tr>\n<td><span style=\"border-top-style: none;border-right-style: none;border-bottom-style: none;border-left-style: none;border-width: initial;border-color: initial;list-style-type: none;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px\">\u8d2d\u7269\u8f66\u5171 %d \u4ef6\u5546\u54c1\uff0c\u603b\u8ba1 %s<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p> <span style=\"font-size: 12px\">\u4fee\u6539\u540e\u662f\u8fd9\u4e2a\u6837\u5b50<\/span><\/p>\n<table cellspacing=\"0\" cellpadding=\"5\" style=\"font-size: 12px;border-right-width: 1px;border-right-style: solid;border-top-width: 1px;border-top-style: solid;background-image: initial;background-attachment: initial;border-left-width: 1px;border-left-style: solid;width: 673px;border-bottom-width: 1px;border-bottom-style: solid\">\n<tbody>\n<tr>\n<td><font style=\"border-top-style: none;border-right-style: none;border-bottom-style: none;border-left-style: none;border-width: initial;border-color: initial;list-style-type: none;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;margin-left: 0px;padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px\">$_LANG[&#8216;cart_info&#8217;] = &#8216;\u8d2d\u7269\u8f66\u5171 %d \u4ef6\u5546\u54c1\uff0c\u603b\u8ba1 %s&#8217;;<\/font><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p> <span style=\"font-size: 12px\">4\uff09<\/span><\/p>\n<p> <span style=\"font-size: 12px\">\u6253\u5f00 \/js\/common.js&nbsp;<\/span><\/p>\n<p> <span style=\"font-size: 12px\">\u627e\u5230 \u4e0b\u56fe\u6240\u793a\u4ee3\u7801<\/span><\/p>\n<\/p>\n<p>&nbsp;103 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;case &#8216;1&#8217; :<\/p>\n<p>&nbsp;104 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if (confirm(result.message)) location.href = cart_url;<\/p>\n<p>&nbsp;105 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;break;<\/p>\n<p>&nbsp;106 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;case &#8216;2&#8217; :<\/p>\n<p>&nbsp;107 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if (!confirm(result.message)) location.href = cart_url;<\/p>\n<p>&nbsp;108 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;break;<\/p>\n<p>&nbsp;109 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;case &#8216;3&#8217; :<\/p>\n<p>&nbsp;110 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;location.href = cart_url;<\/p>\n<\/p>\n<p>&nbsp;103 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;case &#8216;1&#8217; :<\/p>\n<p>&nbsp;104 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;\/\/ if (confirm(result.message)) location.href = cart_url;<\/p>\n<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; openDIV_eshop(result.content);<\/p>\n<p>&nbsp;105 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;break;<\/p>\n<p>&nbsp;106 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;case &#8216;2&#8217; :<\/p>\n<p>&nbsp;107 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \/\/ if (!confirm(result.message)) location.href = cart_url;<\/p>\n<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; openDIV_eshop(result.content);<\/p>\n<p>&nbsp;108 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;break;<\/p>\n<p>&nbsp;109 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;case &#8216;3&#8217; :<\/p>\n<p>&nbsp;110 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;\/\/ &nbsp;location.href = cart_url;<\/p>\n<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; openDIV_eshop(result.content);<\/p>\n<\/p>\n<\/p>\n<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp;\u5728ECSHOP\u5546\u54c1\u8be6\u60c5\u9875\u70b9\u201c\u52a0\u5165\u8d2d\u7269\u8f66\u201d\uff0c\u76f4\u63a5\u5728\u5f53\u524d\u9875\u5f39\u51fa\u4e00\u4e2a\u6f02\u4eae\u7684\u5c0f\u7a97\u53e3\uff0c \u6548\u679c\u5982\u4e0b\u56fe\uff1a \u6b64\u65b9\u6cd5\u8d85\u7ea7\u7b80\u5355\uff0c\u4e0d\u9700\u8981\u4fee\u6539php\u7a0b\u5e8f\uff0c\u4e5f\u4e0d\u9700\u8981\u5728ECSHOP\u6a21\u677f\u9875\u9884\u8bbe\u9690\u85cf\u5c42\uff0c\u4e3b\u8981\u662f\u4fee\u6539 JS \u6587\u4ef6&nbsp; 1\uff09 \u9996\u5148\u5c06\u4e0b\u9762\u56db\u4e2a\u56fe\u7247\u4e0b\u8f7d\u5230\u4f60\u7f51\u7ad9\u7684 \/data\/images\/&nbsp; \u4e0b\u9762 2\uff09 \u4ee5\u4e0b\u4fee\u6539\u4ee5\u5b98\u65b9\u9ed8\u8ba4\u6a21\u677f\u4e3a\u4f8b\uff0c\u6253\u5f00 ECSHOP\u6a21\u677f\u6587\u4ef6 \/themes\/default\/goods.dwt&nbsp; \u5c06 &lt;li class=&#8221;padd&#8221;&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;a href=&#8221;javascript:addToCart({$goods.goods_id})&#8221;&gt;&lt;img src=&#8221;images\/bnt_cat.gif&#8221; \/&gt;&lt;\/a&gt; \u4fee\u6539\u4e3a &lt;li class=&#8221;padd&#8221; style=&#8221;position:relative;&#8221; id=&#8221;gwc&#8221;&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;a href=&#8221;javascript:addToCart({$goods.goods_id})&#8221;&gt;&lt;img src=&#8221;images\/bnt_cat.gif&#8221; \/&gt;&lt;\/a&gt;&nbsp; 3\uff09 \u4e0b\u9762\u4fee\u6539ECSHOP\u8bed\u8a00\u5305\u6587\u4ef6\uff0c\u6253\u5f00 \/languages\/zh_cn\/common.php&nbsp; \u627e\u5230 $_LANG[&#8216;cart_info&#8217;] \u5c06\u5b83\u7684\u503c\u4fee\u6539\u4e3a&nbsp; &nbsp; \u8d2d\u7269\u8f66\u5171 %d \u4ef6\u5546\u54c1\uff0c\u603b\u8ba1 %s \u4fee\u6539\u540e\u662f\u8fd9\u4e2a\u6837\u5b50 $_LANG[&#8216;cart_info&#8217;] = &#8216;\u8d2d\u7269\u8f66\u5171 %d \u4ef6\u5546\u54c1\uff0c\u603b\u8ba1 %s&#8217;; 4\uff09 \u6253\u5f00 \/js\/common.js&nbsp; \u627e\u5230 \u4e0b\u56fe\u6240\u793a\u4ee3\u7801 &nbsp;103 [&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-59297","post","type-post","status-publish","format-standard","hentry","category-16"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/59297","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=59297"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/59297\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=59297"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=59297"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=59297"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}