WCEX Delivery Address 1.0.1 をリリースしました。
注意プラグインの自動更新が有効になっている場合、プラグイン一覧から更新してアップグレードした場合は、プラグインの再有効化(「無効化」後、「有効化」)が必要です。
注意このバージョンをご利用になるには、wc_member_mda_page.php の修正が必要です。Welcart 専用テーマにおいては、全て対応バージョンをリリースしています。
【更新内容】
- カスタム・デリバリーフィールドの項目を反映するように仕様を変更
カスタム・デリバリーフィールドの項目を反映するように仕様を変更
Welcart 専用テーマをアップグレードしてそのまま利用されている場合は修正の必要はありません。
この修正は、有効化されているテーマ配下の /wc_templates/member/wc_member_mda_page.php を既に編集してご利用されている場合に、今回のアップデート内容を適用するための修正となります。
テンプレートタグ追加:wc_member_mda_page.php 67行目付近
変更前<div class = "msa_title" ><?php esc_html_e( 'Delivery address' , 'wcexda' ); ?> : <span id= "destination_title" class = "msa_title_inner" ></span></div>
<div class = "msa_field" ><label for = "msa_company" ><?php esc_html_e( 'Corporation name' , 'wcexda' ); ?></label><input id= "msa_company" name= "msa_company" type= "text" /></div>
|
変更後<div class = "msa_title" ><?php esc_html_e( 'Delivery address' , 'wcexda' ); ?> : <span id= "destination_title" class = "msa_title_inner" ></span></div>
<?php WCEX_DA_Member_Page::custom_delivery_field_input( 'name_pre' ); ?>
<div class = "msa_field" ><label for = "msa_company" ><?php esc_html_e( 'Corporation name' , 'wcexda' ); ?></label><input id= "msa_company" name= "msa_company" type= "text" /></div>
|
テンプレートタグ追加:wc_member_mda_page.php 70行目付近
変更前<div class = "msa_field" ><label for = "msa_furigana" ><?php esc_html_e( 'Furigana' , 'wcexda' ); ?></label><?php esc_html_e( 'Family name' , 'wcexda' ); ?><input id= "msa_furigana" name= "msa_furigana" type= "text" /><?php esc_html_e( 'First name' , 'wcexda' ); ?><input id= "msa_furigana2" name= "msa_furigana2" type= "text" /></div>
<div class = "msa_field" ><label for = "zipcode" ><?php esc_html_e( 'Postal code' , 'wcexda' ); ?>(<?php esc_html_e( 'Required' , 'wcexda' ); ?>)</label><input id= "zipcode" name= "zipcode" type= "text" />
|
変更後<div class = "msa_field" ><label for = "msa_furigana" ><?php esc_html_e( 'Furigana' , 'wcexda' ); ?></label><?php esc_html_e( 'Family name' , 'wcexda' ); ?><input id= "msa_furigana" name= "msa_furigana" type= "text" /><?php esc_html_e( 'First name' , 'wcexda' ); ?><input id= "msa_furigana2" name= "msa_furigana2" type= "text" /></div>
<?php WCEX_DA_Member_Page::custom_delivery_field_input( 'name_after' ); ?>
<div class = "msa_field" ><label for = "zipcode" ><?php esc_html_e( 'Postal code' , 'wcexda' ); ?>(<?php esc_html_e( 'Required' , 'wcexda' ); ?>)</label><input id= "zipcode" name= "zipcode" type= "text" />
|
テンプレートタグ追加:wc_member_mda_page.php 133行目付近
変更前<div class = "msa_field" ><label for = "msa_tel" ><?php esc_html_e( 'FAX number' , 'wcexda' ); ?></label><input id= "msa_fax" name= "msa_fax" type= "text" /><span id= "fax_message" class = "msa_message" ></span></div>
<div class = "msa_field" ><label for = "msa_note" ><?php esc_html_e( 'Remarks' , 'wcexda' ); ?></label><textarea id= "msa_note" name= "msa_note" ></textarea></div>
|
変更後<div class = "msa_field" ><label for = "msa_tel" ><?php esc_html_e( 'FAX number' , 'wcexda' ); ?></label><input id= "msa_fax" name= "msa_fax" type= "text" /><span id= "fax_message" class = "msa_message" ></span></div>
<?php WCEX_DA_Member_Page::custom_delivery_field_input( 'fax_after' ); ?>
<div class = "msa_field" ><label for = "msa_note" ><?php esc_html_e( 'Remarks' , 'wcexda' ); ?></label><textarea id= "msa_note" name= "msa_note" ></textarea></div>
|