{"id":3668,"date":"2013-07-25T15:07:39","date_gmt":"2013-07-25T06:07:39","guid":{"rendered":"http:\/\/mkusunoki.net\/?p=3668"},"modified":"2013-12-06T21:57:30","modified_gmt":"2013-12-06T12:57:30","slug":"welcart-%e3%81%a7%e3%80%81%e5%95%86%e5%93%81%e8%a9%b3%e7%b4%b0%e3%81%ae%e5%87%ba%e5%8a%9b%e4%bd%8d%e7%bd%ae%e3%82%92%e3%82%ab%e3%83%bc%e3%83%88%e3%81%ab%e5%85%a5%e3%82%8c%e3%82%8b%e3%83%9c%e3%82%bf","status":"publish","type":"post","link":"https:\/\/mkusunoki.net\/?p=3668","title":{"rendered":"Welcart \u3067\u3001\u5546\u54c1\u8a73\u7d30\u306e\u51fa\u529b\u4f4d\u7f6e\u3092\u30ab\u30fc\u30c8\u306b\u5165\u308c\u308b\u30dc\u30bf\u30f3\u3088\u308a\u4e0b\u306b\u51fa\u3059"},"content":{"rendered":"<p>\n\u4ee5\u524d\u306e\u8a18\u4e8b\u3067\u5546\u54c1\u8a73\u7d30\u30da\u30fc\u30b8\u306b\u5728\u5eab\u6570\u3092\u8868\u793a\u3059\u308b\u3068\u3044\u3046\u4fee\u6b63\u3092\u3054\u7d39\u4ecb\u3055\u305b\u3066\u3044\u305f\u3060\u304d\u307e\u3057\u305f\u3002\u79c1\u306e\u3068\u3053\u308d\u3067\u306f Twenty Ten \u3068\u3044\u3046\u30c6\u30fc\u30de\u306e\u307e\u307e\u904b\u7528\u3057\u3066\u3044\u307e\u3059\u95a2\u4fc2\u4e0a Welcart \u306e\u63b2\u793a\u677f\u3092\u898b\u3066\u3082\u306a\u304b\u306a\u304b\u4e00\u767a\u3067\u56de\u7b54\u306b\u7740\u304b\u306a\u3044\u3053\u3068\u304c\u591a\u3044\u3067\u3059\u3002\u4eca\u56de\u4fee\u6b63\u3057\u305f\u304b\u3063\u305f\u5185\u5bb9\u306f\u3001\u5546\u54c1\u306e\u8aac\u660e\u6587\u306e\u8868\u793a\u4f4d\u7f6e\u3092\u3001\u300c\u30ab\u30fc\u30c8\u306b\u5165\u308c\u308b\u300d\u30dc\u30bf\u30f3\u3088\u308a\u3082\u4e0b\u306b\u8868\u793a\u3057\u305f\u304f\u306a\u3063\u305f\u3068\u3044\u3046\u3082\u306e\u3067\u3059\u3002\u8abf\u67fb\u306e\u7d50\u679c\u3001\u524d\u56de\u540c\u69d8 single_item.php \u3092\u4fee\u6b63\u3059\u308c\u3070\u3044\u3051\u305d\u3046\u3068\u3044\u3046\u3053\u3068\u3067\u3001\u30b3\u30fc\u30c9\u306e\u4fee\u6b63\u3057\u305f\u3068\u3053\u308d\u3046\u307e\u3044\u5177\u5408\u306b\u3044\u3051\u305f\u306e\u3067 OK \u3067\u3059\u3002\n<\/p>\n<p>\nwordpress \u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\/wp-content\/plugins\/usc-e-shop\/templates\/ \u306e\u30d5\u30a1\u30a4\u30eb\u3092\u4fee\u6b63\u3057\u3066\u3044\u308b\u306e\u3067\u3001\u66f4\u65b0\u3084\u30d1\u30c3\u30c1\u3092\u5f53\u3066\u305f\u5834\u5408\u306f\u3001\u3053\u306e\u4f5c\u696d\u3082\u90fd\u5ea6\u3057\u306a\u3051\u308c\u3070\u306a\u308a\u307e\u305b\u3093\u3002\u3053\u308c\u306f\u6ce8\u610f\u3067\u3059\u306d\u3002\u3053\u3053\u3089\u3078\u3093\u306e\u8868\u793a\u4f4d\u7f6e\u306a\u3069\u306f\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u5bfe\u5fdc\u3055\u308c\u308b\u3068\u3044\u3044\u3067\u3059\u306d\u3002\n<\/p>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\r\n$ cat single_item.php.patch\r\n*** single_item.php.orig        2013-07-25 14:48:18.541764200 +0900\r\n--- single_item.php     2013-07-25 14:52:15.426313200 +0900\r\n*************** if(usces_sku_num() === 1) { \/\/1SKU\r\n*** 28,34 ****\r\n        $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        $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        $html .= &#039;&lt;\/div&gt;&#039;.&quot;\\n&quot;;\r\n!       $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        $html .= apply_filters(&#039;single_item_stock_field&#039;, $singlestock);\r\n        $item_custom = usces_get_item_custom( $post-&gt;ID, &#039;list&#039;, &#039;return&#039; );\r\n        if($item_custom){\r\n--- 28,34 ----\r\n        $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        $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        $html .= &#039;&lt;\/div&gt;&#039;.&quot;\\n&quot;;\r\n!       $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        $html .= apply_filters(&#039;single_item_stock_field&#039;, $singlestock);\r\n        $item_custom = usces_get_item_custom( $post-&gt;ID, &#039;list&#039;, &#039;return&#039; );\r\n        if($item_custom){\r\n*************** if(usces_sku_num() === 1) { \/\/1SKU\r\n*** 37,43 ****\r\n                $html .= &#039;&lt;\/div&gt;&#039;.&quot;\\n&quot;;\r\n        }\r\n\r\n!       $html .= $content.&quot;\\n&quot;;\r\n        $html .= &#039;&lt;\/div&gt;&lt;!-- end of exp --&gt;&#039;.&quot;\\n&quot;;\r\n        $html .= usces_the_itemGpExp(&#039;return&#039;);\r\n        $html .= &#039;&lt;div class=&quot;skuform&quot; align=&quot;right&quot;&gt;&#039;.&quot;\\n&quot;;\r\n--- 37,43 ----\r\n                $html .= &#039;&lt;\/div&gt;&#039;.&quot;\\n&quot;;\r\n        }\r\n\r\n! \/\/    $html .= $content.&quot;\\n&quot;;\r\n        $html .= &#039;&lt;\/div&gt;&lt;!-- end of exp --&gt;&#039;.&quot;\\n&quot;;\r\n        $html .= usces_the_itemGpExp(&#039;return&#039;);\r\n        $html .= &#039;&lt;div class=&quot;skuform&quot; align=&quot;right&quot;&gt;&#039;.&quot;\\n&quot;;\r\n*************** if(usces_sku_num() === 1) { \/\/1SKU\r\n*** 50,56 ****\r\n                $html .= &quot;&lt;\/table&gt;\\n&quot;;\r\n        }\r\n        if( !usces_have_zaiko() ){\r\n!               $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        }else{\r\n                $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                $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                $html .= &quot;&lt;\/table&gt;\\n&quot;;\r\n        }\r\n        if( !usces_have_zaiko() ){\r\n!               $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        }else{\r\n                $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                $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*** 63,69 ****\r\n        usces_have_skus();\r\n        $html .= &#039;&lt;h3&gt;&#039; . usces_the_itemName( &#039;return&#039; ) . &#039;&amp;nbsp; (&#039; . usces_the_itemCode( &#039;return&#039; ) . &#039;) &lt;\/h3&gt;&#039;.&quot;\\n&quot;;\r\n        $html .= &#039;&lt;div class=&quot;exp clearfix&quot;&gt;&#039;.&quot;\\n&quot;;\r\n!       $html .= $content.&quot;\\n&quot;;\r\n        $item_custom = usces_get_item_custom( $post-&gt;ID, &#039;list&#039;, &#039;return&#039; );\r\n        if($item_custom){\r\n                $html .= &#039;&lt;div class=&quot;field&quot;&gt;&#039;.&quot;\\n&quot;;\r\n--- 63,69 ----\r\n        usces_have_skus();\r\n        $html .= &#039;&lt;h3&gt;&#039; . usces_the_itemName( &#039;return&#039; ) . &#039;&amp;nbsp; (&#039; . usces_the_itemCode( &#039;return&#039; ) . &#039;) &lt;\/h3&gt;&#039;.&quot;\\n&quot;;\r\n        $html .= &#039;&lt;div class=&quot;exp clearfix&quot;&gt;&#039;.&quot;\\n&quot;;\r\n! \/\/    $html .= $content.&quot;\\n&quot;;\r\n        $item_custom = usces_get_item_custom( $post-&gt;ID, &#039;list&#039;, &#039;return&#039; );\r\n        if($item_custom){\r\n                $html .= &#039;&lt;div class=&quot;field&quot;&gt;&#039;.&quot;\\n&quot;;\r\n*************** if(usces_sku_num() === 1) { \/\/1SKU\r\n*** 117,127 ****\r\n                $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                $html .= &#039;&lt;\/tr&gt;&#039;.&quot;\\n&quot;;\r\n                $html .= &#039;&lt;tr&gt;&#039;.&quot;\\n&quot;;\r\n!               $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                $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                $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                if( !usces_have_zaiko() ){\r\n!                       $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                }else{\r\n                        $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                }\r\n--- 117,127 ----\r\n                $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                $html .= &#039;&lt;\/tr&gt;&#039;.&quot;\\n&quot;;\r\n                $html .= &#039;&lt;tr&gt;&#039;.&quot;\\n&quot;;\r\n!               $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                $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                $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                if( !usces_have_zaiko() ){\r\n!                       $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                }else{\r\n                        $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                }\r\n*************** if(usces_sku_num() === 1) { \/\/1SKU\r\n*** 134,139 ****\r\n--- 134,141 ----\r\n        $html .= &#039;&lt;\/div&gt;&lt;!-- end of skuform --&gt;&#039;.&quot;\\n&quot;;\r\n        $html .= apply_filters(&#039;single_item_multi_sku_after_field&#039;, NULL);\r\n  }\r\n+\r\n+ $html .= &quot;\\n&quot;.$content.&quot;\\n&quot;;\r\n\r\n  $html .= &#039;&lt;div class=&quot;itemsubimg&quot;&gt;&#039;.&quot;\\n&quot;;\r\n  $imageid = usces_get_itemSubImageNums();\r\n\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u4ee5\u524d\u306e\u8a18\u4e8b\u3067\u5546\u54c1\u8a73\u7d30\u30da\u30fc\u30b8\u306b\u5728\u5eab\u6570\u3092\u8868\u793a\u3059\u308b\u3068\u3044\u3046\u4fee\u6b63\u3092\u3054\u7d39\u4ecb\u3055\u305b\u3066\u3044\u305f\u3060\u304d\u307e\u3057\u305f\u3002\u79c1\u306e\u3068\u3053\u308d\u3067\u306f Twenty Ten \u3068\u3044\u3046\u30c6\u30fc\u30de\u306e\u307e\u307e\u904b\u7528\u3057\u3066\u3044\u307e\u3059\u95a2\u4fc2\u4e0a Welcart \u306e\u63b2\u793a\u677f\u3092\u898b\u3066\u3082\u306a\u304b\u306a\u304b\u4e00\u767a\u3067\u56de\u7b54\u306b\u7740\u304b\u306a &hellip; <a href=\"https:\/\/mkusunoki.net\/?p=3668\" class=\"more-link\"><span class=\"screen-reader-text\">&#8220;Welcart \u3067\u3001\u5546\u54c1\u8a73\u7d30\u306e\u51fa\u529b\u4f4d\u7f6e\u3092\u30ab\u30fc\u30c8\u306b\u5165\u308c\u308b\u30dc\u30bf\u30f3\u3088\u308a\u4e0b\u306b\u51fa\u3059&#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":[42],"tags":[210,43],"class_list":["post-3668","post","type-post","status-publish","format-standard","hentry","category-web-","tag-welcart","tag-wordpress-2"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/mkusunoki.net\/index.php?rest_route=\/wp\/v2\/posts\/3668","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=3668"}],"version-history":[{"count":0,"href":"https:\/\/mkusunoki.net\/index.php?rest_route=\/wp\/v2\/posts\/3668\/revisions"}],"wp:attachment":[{"href":"https:\/\/mkusunoki.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3668"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mkusunoki.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3668"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mkusunoki.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3668"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}