{"id":3465,"date":"2013-07-11T11:49:22","date_gmt":"2013-07-11T02:49:22","guid":{"rendered":"http:\/\/mkusunoki.net\/?p=3465"},"modified":"2013-12-06T21:57:50","modified_gmt":"2013-12-06T12:57:50","slug":"welcart-%e3%81%ae%e5%95%86%e5%93%81%e3%83%9a%e3%83%bc%e3%82%b8%e3%81%ab%e5%9c%a8%e5%ba%ab%e6%95%b0%e8%a1%a8%e7%a4%ba","status":"publish","type":"post","link":"https:\/\/mkusunoki.net\/?p=3465","title":{"rendered":"Welcart \u306e\u5546\u54c1\u30da\u30fc\u30b8\u306b\u5728\u5eab\u6570\u8868\u793a"},"content":{"rendered":"<p>\nWelcart \u306e\u5546\u54c1\u30da\u30fc\u30b8\u306b\u306f\u5728\u5eab\u72b6\u614b\u3068\u3044\u3046\u6b04\u304c\u3042\u308a\u307e\u3057\u3066\u3001\u5728\u5eab\u6709\u308a\u30fb\u7121\u3057\u306f\u8868\u793a\u3055\u308c\u308b\u306e\u3067\u3059\u304c\u3001\u6570\u91cf\u306f\u8868\u793a\u3055\u308c\u307e\u305b\u3093\u3002Wordpress \u306e\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306b Welcart \u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u30c6\u30fc\u30de\u4f7f\u3063\u3066\u308b\u5834\u5408\u306f WordPress \u306e\u30c6\u30fc\u30de\u7ba1\u7406\u304b\u3089\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306ephp\u30d5\u30a1\u30a4\u30eb\u4fee\u6b63\u3059\u308c\u3070\u51fa\u6765\u308b\u3088\u3046\u3067\u3059\u304c\u3001\u79c1\u306e\u6240\u3067\u306f\u672a\u3060\u306b Twenty Ten \u3092\u4f7f\u3063\u3066\u3044\u307e\u3057\u3066\u3001\u305d\u3053\u306b\u30b7\u30e7\u30c3\u30d7\u30f3\u30b0\u30ab\u30fc\u30c8\u3092\u8f09\u305b\u3066\u3044\u307e\u3059\u3002\u306a\u306e\u3067\u3001\u30d7\u30e9\u30b0\u30a4\u30f3\u306e\u4e2d\u3092\u76f4\u63a5\u3044\u3058\u308a\u307e\u3059\u3002\n<\/p>\n<p>\n\u30b5\u30dd\u30fc\u30c8\u30da\u30fc\u30b8\u306a\u3069\u898b\u3066\u307e\u3059\u3068\u3001single_item.php \u3092\u4fee\u6b63\u3059\u308c\u3070\u51fa\u6765\u308b\u3068\u3042\u308a\u307e\u3057\u305f\u306e\u3067\u30b3\u30fc\u30c9\u3092\u4fee\u6b63\u3057\u8868\u793a\u30c6\u30b9\u30c8\u3057\u3066 OK \u3068\u306a\u308a\u307e\u3057\u305f\u3002\u30d7\u30e9\u30b0\u30a4\u30f3\u306e\u66f4\u65b0\u304c\u304b\u304b\u308b\u3068\u4e0a\u66f8\u304d\u3055\u308c\u3066\u6d88\u3048\u308b\u3068\u601d\u308f\u308c\u308b\u306e\u3067 diff \u8cbc\u3063\u3066\u304a\u304f\u6b21\u7b2c\u3002\n<\/p>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\r\n*** single_item.php.orig\t2013-07-11 11:38:32.008441000 +0900\r\n--- single_item.php\t2013-07-11 11:38:43.734111600 +0900\r\n*************** if(usces_sku_num() === 1) { \/\/1SKU\r\n*** 28,34 ****\r\n  \t$html .= &#039;&lt;div class=&quot;field_name&quot;&gt;&#039; . apply_filters(&#039;usces_filter_sellingprice_label&#039;, $usces_sellingprice, __(&#039;selling price&#039;, &#039;usces&#039;), usces_guid_tax(&#039;return&#039;)) . &#039;&lt;\/div&gt;&#039;.&quot;\\n&quot;;\r\n  \t$html .= &#039;&lt;div class=&quot;field_price&quot;&gt;&#039; . usces_the_itemPriceCr(&#039;return&#039;) . &#039;&lt;\/div&gt;&#039;.&quot;\\n&quot;;\r\n  \t$html .= &#039;&lt;\/div&gt;&#039;.&quot;\\n&quot;;\r\n! \t$singlestock = &#039;&lt;div class=&quot;field&quot;&gt;&#039; . __(&#039;stock status&#039;, &#039;usces&#039;) . &#039; : &#039; . esc_html(usces_get_itemZaiko( &#039;name&#039; )) . &#039;&lt;\/div&gt;&#039;.&quot;\\n&quot;;\r\n  \t$html .= apply_filters(&#039;single_item_stock_field&#039;, $singlestock);\r\n  \t$item_custom = usces_get_item_custom( $post-&gt;ID, &#039;list&#039;, &#039;return&#039; );\r\n  \tif($item_custom){\r\n--- 28,34 ----\r\n  \t$html .= &#039;&lt;div class=&quot;field_name&quot;&gt;&#039; . apply_filters(&#039;usces_filter_sellingprice_label&#039;, $usces_sellingprice, __(&#039;selling price&#039;, &#039;usces&#039;), usces_guid_tax(&#039;return&#039;)) . &#039;&lt;\/div&gt;&#039;.&quot;\\n&quot;;\r\n  \t$html .= &#039;&lt;div class=&quot;field_price&quot;&gt;&#039; . usces_the_itemPriceCr(&#039;return&#039;) . &#039;&lt;\/div&gt;&#039;.&quot;\\n&quot;;\r\n  \t$html .= &#039;&lt;\/div&gt;&#039;.&quot;\\n&quot;;\r\n! \t$singlestock = &#039;&lt;div class=&quot;field&quot;&gt;&#039; . __(&#039;stock status&#039;, &#039;usces&#039;) . &#039; : &#039; . esc_html(usces_get_itemZaiko( &#039;name&#039; )) . &#039; \u5728\u5eab\u6570 &#039; . usces_the_itemZaikoNum(&#039;return&#039;) . &#039;&lt;\/div&gt;&#039;.&quot;\\n&quot;;\r\n  \t$html .= apply_filters(&#039;single_item_stock_field&#039;, $singlestock);\r\n  \t$item_custom = usces_get_item_custom( $post-&gt;ID, &#039;list&#039;, &#039;return&#039; );\r\n  \tif($item_custom){\r\n*************** if(usces_sku_num() === 1) { \/\/1SKU\r\n*** 50,56 ****\r\n  \t\t$html .= &quot;&lt;\/table&gt;\\n&quot;;\r\n  \t}\r\n  \tif( !usces_have_zaiko() ){\r\n! \t\t$html .= &#039;&lt;div class=&quot;zaiko_status&quot;&gt;&#039; . apply_filters(&#039;usces_filters_single_sku_zaiko_message&#039;, esc_html(usces_get_itemZaiko( &#039;name&#039; ))) . &#039;&lt;\/div&gt;&#039;.&quot;\\n&quot;;\r\n  \t}else{\r\n  \t\t$html .= &#039;&lt;div style=&quot;margin-top:10px&quot;&gt;&#039;.__(&#039;Quantity&#039;, &#039;usces&#039;).usces_the_itemQuant(&#039;return&#039;) . esc_html(usces_the_itemSkuUnit(&#039;return&#039;)) . usces_the_itemSkuButton(__(&#039;Add to Shopping Cart&#039;, &#039;usces&#039;), 0, &#039;return&#039;) . &#039;&lt;\/div&gt;&#039;.&quot;\\n&quot;;\r\n  \t\t$html .= &#039;&lt;div class=&quot;error_message&quot;&gt;&#039; . usces_singleitem_error_message($post-&gt;ID, usces_the_itemSku(&#039;return&#039;), &#039;return&#039;) . &#039;&lt;\/div&gt;&#039;.&quot;\\n&quot;;\r\n--- 50,56 ----\r\n  \t\t$html .= &quot;&lt;\/table&gt;\\n&quot;;\r\n  \t}\r\n  \tif( !usces_have_zaiko() ){\r\n! \t\t$html .= &#039;&lt;div class=&quot;zaiko_status&quot;&gt;&#039; . apply_filters(&#039;usces_filters_single_sku_zaiko_message&#039;, esc_html(usces_get_itemZaiko( &#039;name&#039; ))) . &#039; \u5728\u5eab\u6570 &#039; . usces_the_itemZaikoNum(&#039;return&#039;) . &#039;&lt;\/div&gt;&#039;.&quot;\\n&quot;;\r\n  \t}else{\r\n  \t\t$html .= &#039;&lt;div style=&quot;margin-top:10px&quot;&gt;&#039;.__(&#039;Quantity&#039;, &#039;usces&#039;).usces_the_itemQuant(&#039;return&#039;) . esc_html(usces_the_itemSkuUnit(&#039;return&#039;)) . usces_the_itemSkuButton(__(&#039;Add to Shopping Cart&#039;, &#039;usces&#039;), 0, &#039;return&#039;) . &#039;&lt;\/div&gt;&#039;.&quot;\\n&quot;;\r\n  \t\t$html .= &#039;&lt;div class=&quot;error_message&quot;&gt;&#039; . usces_singleitem_error_message($post-&gt;ID, usces_the_itemSku(&#039;return&#039;), &#039;return&#039;) . &#039;&lt;\/div&gt;&#039;.&quot;\\n&quot;;\r\n*************** if(usces_sku_num() === 1) { \/\/1SKU\r\n*** 117,127 ****\r\n  \t\t$html .= &#039;&lt;span class=&quot;price&quot;&gt;&#039; . usces_the_itemPriceCr(&#039;return&#039;) . &#039;&lt;\/span&gt;&lt;br \/&gt;&#039; . usces_the_itemGpExp(&#039;return&#039;) . &#039;&lt;\/td&gt;&#039;.&quot;\\n&quot;;\r\n  \t\t$html .= &#039;&lt;\/tr&gt;&#039;.&quot;\\n&quot;;\r\n  \t\t$html .= &#039;&lt;tr&gt;&#039;.&quot;\\n&quot;;\r\n! \t\t$html .= &#039;&lt;td class=&quot;zaiko&quot;&gt;&#039; . usces_get_itemZaiko( &#039;name&#039; ) . &#039;&lt;\/td&gt;&#039;.&quot;\\n&quot;;\r\n  \t\t$html .= &#039;&lt;td class=&quot;quant&quot;&gt;&#039; . usces_the_itemQuant(&#039;return&#039;) . &#039;&lt;\/td&gt;&#039;.&quot;\\n&quot;;\r\n  \t\t$html .= &#039;&lt;td class=&quot;unit&quot;&gt;&#039; . usces_the_itemSkuUnit(&#039;return&#039;) . &#039;&lt;\/td&gt;&#039;.&quot;\\n&quot;;\r\n  \t\tif( !usces_have_zaiko() ){\r\n! \t\t\t$html .= &#039;&lt;td class=&quot;button&quot;&gt;&#039; . apply_filters(&#039;usces_filters_single_sku_zaiko_message&#039;, esc_html(usces_get_itemZaiko( &#039;name&#039; ))) . &#039;&lt;\/td&gt;&#039;.&quot;\\n&quot;;\r\n  \t\t}else{\r\n  \t\t\t$html .= &#039;&lt;td class=&quot;button&quot;&gt;&#039; . usces_the_itemSkuButton(__(&#039;Add to Shopping Cart&#039;, &#039;usces&#039;), 0, &#039;return&#039;) . &#039;&lt;\/td&gt;&#039;.&quot;\\n&quot;;\r\n  \t\t}\r\n--- 117,127 ----\r\n  \t\t$html .= &#039;&lt;span class=&quot;price&quot;&gt;&#039; . usces_the_itemPriceCr(&#039;return&#039;) . &#039;&lt;\/span&gt;&lt;br \/&gt;&#039; . usces_the_itemGpExp(&#039;return&#039;) . &#039;&lt;\/td&gt;&#039;.&quot;\\n&quot;;\r\n  \t\t$html .= &#039;&lt;\/tr&gt;&#039;.&quot;\\n&quot;;\r\n  \t\t$html .= &#039;&lt;tr&gt;&#039;.&quot;\\n&quot;;\r\n! \t\t$html .= &#039;&lt;td class=&quot;zaiko&quot;&gt;&#039; . usces_get_itemZaiko( &#039;name&#039; ) . &#039; \u5728\u5eab\u6570 &#039; . usces_the_itemZaikoNum(&#039;return&#039;) . &#039;&lt;\/td&gt;&#039;.&quot;\\n&quot;;\r\n  \t\t$html .= &#039;&lt;td class=&quot;quant&quot;&gt;&#039; . usces_the_itemQuant(&#039;return&#039;) . &#039;&lt;\/td&gt;&#039;.&quot;\\n&quot;;\r\n  \t\t$html .= &#039;&lt;td class=&quot;unit&quot;&gt;&#039; . usces_the_itemSkuUnit(&#039;return&#039;) . &#039;&lt;\/td&gt;&#039;.&quot;\\n&quot;;\r\n  \t\tif( !usces_have_zaiko() ){\r\n! \t\t\t$html .= &#039;&lt;td class=&quot;button&quot;&gt;&#039; . apply_filters(&#039;usces_filters_single_sku_zaiko_message&#039;, esc_html(usces_get_itemZaiko( &#039;name&#039; ))) . &#039; \u5728\u5eab\u6570 &#039; . usces_the_itemZaikoNum(&#039;return&#039;) . &#039;&lt;\/td&gt;&#039;.&quot;\\n&quot;;\r\n  \t\t}else{\r\n  \t\t\t$html .= &#039;&lt;td class=&quot;button&quot;&gt;&#039; . usces_the_itemSkuButton(__(&#039;Add to Shopping Cart&#039;, &#039;usces&#039;), 0, &#039;return&#039;) . &#039;&lt;\/td&gt;&#039;.&quot;\\n&quot;;\r\n  \t\t}\r\n\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Welcart \u306e\u5546\u54c1\u30da\u30fc\u30b8\u306b\u306f\u5728\u5eab\u72b6\u614b\u3068\u3044\u3046\u6b04\u304c\u3042\u308a\u307e\u3057\u3066\u3001\u5728\u5eab\u6709\u308a\u30fb\u7121\u3057\u306f\u8868\u793a\u3055\u308c\u308b\u306e\u3067\u3059\u304c\u3001\u6570\u91cf\u306f\u8868\u793a\u3055\u308c\u307e\u305b\u3093\u3002Wordpress \u306e\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306b Welcart \u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u30c6\u30fc\u30de\u4f7f\u3063\u3066\u308b\u5834\u5408\u306f WordPr &hellip; <a href=\"https:\/\/mkusunoki.net\/?p=3465\" class=\"more-link\"><span class=\"screen-reader-text\">&#8220;Welcart \u306e\u5546\u54c1\u30da\u30fc\u30b8\u306b\u5728\u5eab\u6570\u8868\u793a&#8221; \u306e<\/span>\u7d9a\u304d\u3092\u8aad\u3080<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[54],"tags":[210],"class_list":["post-3465","post","type-post","status-publish","format-standard","hentry","category-pc","tag-welcart"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/mkusunoki.net\/index.php?rest_route=\/wp\/v2\/posts\/3465","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mkusunoki.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mkusunoki.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mkusunoki.net\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/mkusunoki.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3465"}],"version-history":[{"count":0,"href":"https:\/\/mkusunoki.net\/index.php?rest_route=\/wp\/v2\/posts\/3465\/revisions"}],"wp:attachment":[{"href":"https:\/\/mkusunoki.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3465"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mkusunoki.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3465"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mkusunoki.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3465"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}