WCEX Mobile 1.2.15 をリリースしました。 今回の更新内容は次の通りです。
【変更点】
- スマホテーマ表示の際にWCEX Multiple Shippingの機能が利用できない不具合を修正
- モバイル設定のガラケー表示設定フィールドを下に移動
スマホテーマ表示の際にWCEX Multiple Shippingの機能が利用できない不具合を修正
WCEX_Mobileに同梱されているmobile_smart_defaultテーマ(以下スマホテーマ)において複数配送先指定プラグインWCEX_Multiple_shippingの機能が利用できておりませんでしたが、利用できるよう修正いたしました。 今回の修正ではスマホテーマのテンプレート修正を行っておりますので、既にスマホテーマがインストールされている場合はスマホテーマ内の以下のファイル追加・修正を行っていただく必要がございます。 スマホテーマを一切編集・カスタマイズせずにご利用いただいている場合は、一度スマホテーマを削除し、WCEX_Mobile 1.2.15 を停止・再有効化していただくと今回の修正が適用された新しいスマホテーマがインストールされますので以下の修正を行う必要はありません。1.ファイルの追加
wcex_mobileプラグイン内の以下のファイルをテーマ内のファイルに追加します。
追加ファイル1
/wp-content/plugins/wcex_mobile/themes/mobile_smart_default/wc_templates/member/wc_member_msa_page.php
下記ディレクトリへ追加
/wp-content/themes/mobile_smart_default/wc_templates/member/
追加ファイル2
/wp-content/plugins/wcex_mobile/themes/mobile_smart_default/wc_templates_dlseller/member/wc_member_msa_page.php
下記ディレクトリへ追加
/wp-content/themes/mobile_smart_default/wc_templates_dlseller/member/
追加ファイル3
/wp-content/plugins/wcex_mobile/themes/mobile_smart_default/wcex_multi_shipping.css
下記ディレクトリへ追加
/wp-content/themes/mobile_smart_default/
2.ファイルの修正
修正ファイル1
/wp-content/themes/mobile_smart_default/wc_templates/cart/wc_delivery_page.php
46行目
<table class = "customer_form" id= "delivery_table" > <?php echo uesces_addressform( 'delivery' , $usces_entries ); ?> </table> |
<?php do_action( 'usces_action_delivery_flag' ); ?> <table class = "customer_form" id= "delivery_table" > <?php echo uesces_addressform( 'delivery' , $usces_entries ); ?> </table> |
修正ファイル2
/wp-content/themes/mobile_smart_default/wc_templates/cart/wc_confirm_page.php
43行目
<tr> <th rowspan= "2" scope= "row" class = "num" ></th> <th rowspan= "2" class = "thumbnail" ></th> <th colspan= "4" ><?php _e( 'item name' , 'usces' ); ?></th> <th></th> </tr> |
<tr> <th rowspan= "2" scope= "row" class = "num" ></th> <th rowspan= "2" class = "thumbnail" ></th> <th colspan= "4" ><?php _e( 'item name' , 'usces' ); ?></th> </tr> |
49行目
<tr> <th colspan= "2" class = "quantity" ><?php _e( 'Unit price' , 'usces' ); ?></th> <th class = "quantity" ><?php _e( 'Quantity' , 'usces' ); ?></th> <th class = "subtotal" ><?php _e( 'Amount' , 'usces' ); ?></th> <th></th> </tr> |
<tr> <th colspan= "2" class = "quantity" ><?php _e( 'Unit price' , 'usces' ); ?></th> <th class = "quantity" ><?php _e( 'Quantity' , 'usces' ); ?></th> <th class = "subtotal" ><?php _e( 'Amount' , 'usces' ); ?></th> </tr> |
59行目
<tr> <th colspan= "5" class = "aright" ><?php _e( 'total items' , 'usces' ); ?></th> <th class = "aright" ><?php usces_crform( $usces_entries [ 'order' ][ 'total_items_price' ], true, false); ?></th> <th></th> </tr> |
<tr> <th colspan= "5" class = "aright" ><?php _e( 'total items' , 'usces' ); ?></th> <th class = "aright" ><?php usces_crform( $usces_entries [ 'order' ][ 'total_items_price' ], true, false); ?></th> </tr> |
65行目
<tr> <td colspan= "5" class = "aright" ><?php echo apply_filters( 'usces_confirm_discount_label' , __( 'Campaign disnount' , 'usces' )); ?></td> <td class = "aright" style= "color:#FF0000" ><?php usces_crform( $usces_entries [ 'order' ][ 'discount' ], true, false); ?></td> <td></td> </tr> |
<tr> <td colspan= "5" class = "aright" ><?php echo apply_filters( 'usces_confirm_discount_label' , __( 'Campaign disnount' , 'usces' )); ?></td> <td class = "aright" style= "color:#FF0000" ><?php usces_crform( $usces_entries [ 'order' ][ 'discount' ], true, false); ?></td> </tr> |
72行目
<tr> <td colspan= "5" class = "aright" ><?php usces_tax_label(); ?></td> <td class = "aright" ><?php usces_tax( $usces_entries ); ?></td> <td></td> </tr> |
<tr> <td colspan= "5" class = "aright" ><?php usces_tax_label(); ?></td> <td class = "aright" ><?php usces_tax( $usces_entries ); ?></td> </tr> |
79行目
<tr> <td colspan= "5" class = "aright" ><?php _e( 'Used points' , 'usces' ); ?></td> <td class = "aright" style= "color:#FF0000" ><?php echo number_format( $usces_entries [ 'order' ][ 'usedpoint' ]); ?></td> <td></td> </tr> |
<tr> <td colspan= "5" class = "aright" ><?php _e( 'Used points' , 'usces' ); ?></td> <td class = "aright" style= "color:#FF0000" ><?php echo number_format( $usces_entries [ 'order' ][ 'usedpoint' ]); ?></td> </tr> |
85行目
<tr> <td colspan= "5" class = "aright" ><?php _e( 'Shipping' , 'usces' ); ?></td> <td class = "aright" ><?php usces_crform( $usces_entries [ 'order' ][ 'shipping_charge' ], true, false); ?></td> <td></td> </tr> |
<tr> <td colspan= "5" class = "aright" ><?php _e( 'Shipping' , 'usces' ); ?></td> <td class = "aright" ><?php usces_crform( $usces_entries [ 'order' ][ 'shipping_charge' ], true, false); ?></td> </tr> |
91行目
<tr> <td colspan= "5" class = "aright" ><?php echo apply_filters( 'usces_filter_cod_label' , __( 'COD fee' , 'usces' )); ?></td> <td class = "aright" ><?php usces_crform( $usces_entries [ 'order' ][ 'cod_fee' ], true, false); ?></td> <td></td> </tr> |
<tr> <td colspan= "5" class = "aright" ><?php echo apply_filters( 'usces_filter_cod_label' , __( 'COD fee' , 'usces' )); ?></td> <td class = "aright" ><?php usces_crform( $usces_entries [ 'order' ][ 'cod_fee' ], true, false); ?></td> </tr> |
98行目
<tr> <td colspan= "5" class = "aright" ><?php usces_tax_label(); ?></td> <td class = "aright" ><?php usces_tax( $usces_entries ); ?></td> <td></td> </tr> |
<tr> <td colspan= "5" class = "aright" ><?php usces_tax_label(); ?></td> <td class = "aright" ><?php usces_tax( $usces_entries ); ?></td> </tr> |
105行目
<tr> <td colspan= "5" class = "aright" ><?php _e( 'Used points' , 'usces' ); ?></td> <td class = "aright" style= "color:#FF0000" ><?php echo number_format( $usces_entries [ 'order' ][ 'usedpoint' ]); ?></td> <td></td> </tr> |
<tr> <td colspan= "5" class = "aright" ><?php _e( 'Used points' , 'usces' ); ?></td> <td class = "aright" style= "color:#FF0000" ><?php echo number_format( $usces_entries [ 'order' ][ 'usedpoint' ]); ?></td> </tr> |
111行目
<tr> <th colspan= "5" class = "aright" ><?php _e( 'Total Amount' , 'usces' ); ?></th> <th class = "aright" ><?php usces_crform( $usces_entries [ 'order' ][ 'total_full_price' ], true, false); ?></th> <th></th> </tr> |
<tr> <th colspan= "5" class = "aright" ><?php _e( 'Total Amount' , 'usces' ); ?></th> <th class = "aright" ><?php usces_crform( $usces_entries [ 'order' ][ 'total_full_price' ], true, false); ?></th> </tr> |
修正ファイル3
/wp-content/themes/mobile_smart_default/wc_templates_dlseller/cart/wc_delivery_page.php
46行目
<table class = "customer_form" id= "delivery_table" > <?php echo uesces_addressform( 'delivery' , $usces_entries ); ?> </table> |
<?php do_action( 'usces_action_delivery_flag' ); ?> <table class = "customer_form" id= "delivery_table" > <?php echo uesces_addressform( 'delivery' , $usces_entries ); ?> </table> |
修正ファイル4
/wp-content/themes/mobile_smart_default/wc_templates_dlseller/cart/wc_confirm_page.php
43行目
<tr> <th rowspan= "2" scope= "row" class = "num" ></th> <th rowspan= "2" class = "thumbnail" ></th> <th colspan= "4" ><?php _e( 'item name' , 'usces' ); ?></th> <th></th> </tr> |
<tr> <th rowspan= "2" scope= "row" class = "num" ></th> <th rowspan= "2" class = "thumbnail" ></th> <th colspan= "4" ><?php _e( 'item name' , 'usces' ); ?></th> </tr> |
49行目
<tr> <th colspan= "2" class = "quantity" ><?php _e( 'Unit price' , 'usces' ); ?></th> <th class = "quantity" ><?php _e( 'Quantity' , 'usces' ); ?></th> <th class = "subtotal" ><?php _e( 'Amount' , 'usces' ); ?></th> <th></th> </tr> |
<tr> <th colspan= "2" class = "quantity" ><?php _e( 'Unit price' , 'usces' ); ?></th> <th class = "quantity" ><?php _e( 'Quantity' , 'usces' ); ?></th> <th class = "subtotal" ><?php _e( 'Amount' , 'usces' ); ?></th> </tr> |
59行目
<tr> <th colspan= "5" class = "aright" ><?php _e( 'total items' , 'usces' ); ?></th> <th class = "aright" ><?php usces_crform( $usces_entries [ 'order' ][ 'total_items_price' ], true, false); ?></th> <th></th> </tr> |
<tr> <th colspan= "5" class = "aright" ><?php _e( 'total items' , 'usces' ); ?></th> <th class = "aright" ><?php usces_crform( $usces_entries [ 'order' ][ 'total_items_price' ], true, false); ?></th> </tr> |
65行目
<tr> <td colspan= "5" class = "aright" ><?php echo apply_filters( 'usces_confirm_discount_label' , __( 'Campaign disnount' , 'usces' )); ?></td> <td class = "aright" style= "color:#FF0000" ><?php usces_crform( $usces_entries [ 'order' ][ 'discount' ], true, false); ?></td> <td></td> </tr> |
<tr> <td colspan= "5" class = "aright" ><?php echo apply_filters( 'usces_confirm_discount_label' , __( 'Campaign disnount' , 'usces' )); ?></td> <td class = "aright" style= "color:#FF0000" ><?php usces_crform( $usces_entries [ 'order' ][ 'discount' ], true, false); ?></td> </tr> |
72行目
<tr> <td colspan= "5" class = "aright" ><?php usces_tax_label(); ?></td> <td class = "aright" ><?php usces_tax( $usces_entries ); ?></td> <td></td> </tr> |
<tr> <td colspan= "5" class = "aright" ><?php usces_tax_label(); ?></td> <td class = "aright" ><?php usces_tax( $usces_entries ); ?></td> </tr> |
79行目
<tr> <td colspan= "5" class = "aright" ><?php _e( 'Used points' , 'usces' ); ?></td> <td class = "aright" style= "color:#FF0000" ><?php echo number_format( $usces_entries [ 'order' ][ 'usedpoint' ]); ?></td> <td></td> </tr> |
<tr> <td colspan= "5" class = "aright" ><?php _e( 'Used points' , 'usces' ); ?></td> <td class = "aright" style= "color:#FF0000" ><?php echo number_format( $usces_entries [ 'order' ][ 'usedpoint' ]); ?></td> </tr> |
86行目
<tr> <td colspan= "5" class = "aright" ><?php _e( 'Shipping' , 'usces' ); ?></td> <td class = "aright" ><?php usces_crform( $usces_entries [ 'order' ][ 'shipping_charge' ], true, false); ?></td> <td></td> </tr> |
<tr> <td colspan= "5" class = "aright" ><?php _e( 'Shipping' , 'usces' ); ?></td> <td class = "aright" ><?php usces_crform( $usces_entries [ 'order' ][ 'shipping_charge' ], true, false); ?></td> </tr> |
93行目
<tr> <td colspan= "5" class = "aright" ><?php echo apply_filters( 'usces_filter_cod_label' , __( 'COD fee' , 'usces' )); ?></td> <td class = "aright" ><?php usces_crform( $usces_entries [ 'order' ][ 'cod_fee' ], true, false); ?></td> <td></td> </tr> |
<tr> <td colspan= "5" class = "aright" ><?php echo apply_filters( 'usces_filter_cod_label' , __( 'COD fee' , 'usces' )); ?></td> <td class = "aright" ><?php usces_crform( $usces_entries [ 'order' ][ 'cod_fee' ], true, false); ?></td> </tr> |
100行目
<tr> <td colspan= "5" class = "aright" ><?php usces_tax_label(); ?></td> <td class = "aright" ><?php usces_tax( $usces_entries ); ?></td> <td></td> </tr> |
<tr> <td colspan= "5" class = "aright" ><?php usces_tax_label(); ?></td> <td class = "aright" ><?php usces_tax( $usces_entries ); ?></td> </tr> |
107行目
<tr> <td colspan= "5" class = "aright" ><?php _e( 'Used points' , 'usces' ); ?></td> <td class = "aright" style= "color:#FF0000" ><?php echo number_format( $usces_entries [ 'order' ][ 'usedpoint' ]); ?></td> <td></td> </tr> |
<tr> <td colspan= "5" class = "aright" ><?php _e( 'Used points' , 'usces' ); ?></td> <td class = "aright" style= "color:#FF0000" ><?php echo number_format( $usces_entries [ 'order' ][ 'usedpoint' ]); ?></td> </tr> |
113行目
<tr> <th colspan= "5" class = "aright" ><?php _e( 'Total Amount' , 'usces' ); ?></th> <th class = "aright" ><?php usces_crform( $usces_entries [ 'order' ][ 'total_full_price' ], true, false); ?></th> <th></th> </tr> |
<tr> <th colspan= "5" class = "aright" ><?php _e( 'Total Amount' , 'usces' ); ?></th> <th class = "aright" ><?php usces_crform( $usces_entries [ 'order' ][ 'total_full_price' ], true, false); ?></th> </tr> |
修正ファイル5
/wp-content/themes/mobile_smart_default/usces_cart.css
1509行目~1532行目
#memberinfo .gotoedit { width : 416px ; border : 1px solid #b4b4b4 ; margin-right : 15px ; margin-left : 15px ; } #memberinfo .gotoedit a { text-align : center ; display : block ; background-color : #E6E6E6 ; border : 1px solid white ; line-height : 30px ; height : 30px ; width : auto ; text-decoration : none ; font-size : 15px ; } #memberinfo .gotoedit a:hover { background-color : #f3f3f3 ; border-top-color : #ccc ; border-right-color : #ccc ; border-bottom-color : #ccc ; border-left-color : #ccc ; } |
#memberpages #memberinfo .member_submenu { padding : 0 15px ; list-style : none ; } #memberinfo .gotoedit, .member_submenu li { width : 416px ; border : 1px solid #b4b4b4 ; margin-right : 15px ; margin-left : 15px ; } #memberinfo .gotoedit a, .member_submenu li a { text-align : center ; display : block ; background-color : #E6E6E6 ; border : 1px solid white ; line-height : 30px ; height : 30px ; width : auto ; text-decoration : none ; font-size : 15px ; } #memberinfo .gotoedit a:hover, .member_submenu li a:hover { background-color : #f3f3f3 ; border-top-color : #ccc ; border-right-color : #ccc ; border-bottom-color : #ccc ; border-left-color : #ccc ; } |
以上です。