Welcart Beldad 1.4.2 をリリースしました。修正点は以下のとおりです。
- 投稿記事一覧の同じ日付の場合、一つ目の記事以外の日付が表示されない不具合を修正
- Auto Deliveryを利用時の商品オプション不具合を修正
- SKU Select の商品ページで価格の前に「=」が表示される不具合を修正
- マイページの「クレジットカード登録」「ログアウト」ボタンのレイアウト調整
- ログインページにある「パスワードをお忘れですか?」の表示位置を調整
- Multiple Shipping 導入時の CSSファイル欠損エラーを修正
- Delivery Address機能拡張のために配送先登録・編集ページを修正
投稿記事一覧の同じ日付の場合、一つ目の記事以外の日付が表示されない不具合を修正
テンプレート修正 : archive.php 81行目テンプレート修正 : category.php 131行目
テンプレート修正 : index.php 32行目
<?php the_date(); ?>
<?php the_time( get_option( 'date_format' ) ); ?>
Auto Deliveryを利用時の商品オプション不具合を修正
テンプレート修正 : inc/front-customized.php 84行目テンプレート修正 : inc/front-customized.php 195行目
<td><?php usces_the_itemOption( usces_getItemOptName(), '' ); ?></td>
<td><?php wcad_the_itemOption( usces_getItemOptName(), '' ); ?></td>
SKU Select の商品ページで価格の前に「=」が表示される不具合を修正
テンプレート修正 : wc_templates/wc_sku_select.php 124行目あたり
<div class="field cf">
=
<?php if ( 'continue' === welcart_basic_get_item_chargingtype( $post->ID ) ) : ?>
<div class="frequency"><span class="field_frequency"><?php dlseller_frequency_name( $post->ID, 'amount' ); ?></span></div>
<?php endif; ?>
<div class="field cf">
<?php if ( 'continue' === welcart_basic_get_item_chargingtype( $post->ID ) ) : ?>
<div class="frequency"><span class="field_frequency"><?php dlseller_frequency_name( $post->ID, 'amount' ); ?></span></div>
<?php endif; ?>
マイページの「クレジットカード登録」「ログアウト」ボタンのレイアウト調整
スタイル修正 :usces_cart,css 53行目あたり
.cart-page .send,
.member-page .send {
margin-top: 1.071em;
padding: 0;
}
.cart-page .send,
.member-page .send,
#wc_member_update_settlement .send {
margin-top: 1.071em;
padding: 0;
}
スタイル修正 :usces_cart,css 1505行目あたり
.member_submenu {
text-align: center;
}
.member_submenu li,
.member_submenu li.member-logout {
display: inline-block;
margin: .375em 0;
}
.member_submenu a {
width: auto;
height: 46px;
padding: 0 1.428em;
line-height: 46px;
}
.member_submenu {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: center;
gap: .375em;
text-align: center;
}
.member_submenu li,
.member_submenu li.member-logout {
display: inline-block;
margin: 0;
}
.member_submenu a {
width: auto;
height: 46px;
padding: 0 1.428em;
line-height: 46px;
white-space: nowrap;
}
スタイル修正 :usces_cart,css 1990行目あたり
.cart-page .send,
.member-page .send {
margin-top: 2.143em;
}
.cart-page .send,
.member-page .send,
#wc_member_update_settlement .send {
margin-top: 2.143em;
}
ログインページにある「パスワードをお忘れですか?」の表示位置を調整
「パスワードをお忘れですか?」のリンクをアクションフックの上に移動しました。 テンプレート修正 : wc_templates/member/wc_login_page.php 124行目あたり
<?php do_action( 'usces_action_login_page_inform' ); ?>
</form>
<p id="nav">
<a href="<?php usces_url( 'lostmemberpassword' ); ?>" title="<?php esc_html_e( 'Did you forget your password?', 'usces' ); ?>"><?php esc_html_e( 'Did you forget your password?', 'usces' ); ?></a>
</p>
<p id="nav">
<a href="<?php usces_url( 'lostmemberpassword' ); ?>" title="<?php esc_html_e( 'Did you forget your password?', 'usces' ); ?>"><?php esc_html_e( 'Did you forget your password?', 'usces' ); ?></a>
</p>
<?php do_action( 'usces_action_login_page_inform' ); ?>
</form>
Multiple Shipping 導入時の CSSファイル欠損エラーを修正
テンプレート修正 : functions.php 142行目あたり
if ( defined( 'WCEX_MSA_VERSION' ) ) {
wp_enqueue_style( 'parent-msa', $template_dir . '/wcex_multi_shipping.css', array( 'msa_style' ), WCEX_MSA_VERSION, false );
}
if ( defined( 'WCEX_MSA_VERSION' ) ) {
$action = isset( $_REQUEST['msa_action'] ) ? wp_unslash( $_REQUEST['msa_action'] ) : '';
if ( welcart_basic_is_member_page() || ( 'delivery' === $usces->page && empty( $action ) ) || 'confirm' === $usces->page ) {
wp_enqueue_style( 'parent-msa', $template_dir . '/wcex_multi_shipping.css', array( 'msa_style' ), WCEX_MSA_VERSION, false );
}
}
Delivery Address機能拡張のために配送先登録・編集ページを修正
カスタム・デリバリーフィールドで設定した項目を配送先にも適用されるように修正しました。WCEX Delivery Address を 1.0.1 にアップデート後にテーマアップデートもしくは修正を施してください。
<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_templates/member/wc_member_mda_page.php 92行目あたり
<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" />
<?php
if ( isset( $usces->options['address_search'] ) && 'activate' === $usces->options['address_search'] ) {
echo "<input type='button' id='search_zipcode' class='search-zipcode button' value='住所検索' onclick=\"AjaxZip3.zip2addr('zipcode', '', 'member_pref', 'msa_address1');\">"; }
?>
<span id="zip_message" class="msa_message"></span>
</div>
<div class="msa_field">
<label for="msa_furigana"><?php esc_html_e( 'Furigana', 'wcexda' ); ?></label>
<span class="member_furigana">セイ</span><input id="msa_furigana" name="msa_furigana" type="text" />
<span class="member_furigana">メイ</span><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" />
<?php
if ( isset( $usces->options['address_search'] ) && 'activate' === $usces->options['address_search'] ) {
echo "<input type='button' id='search_zipcode' class='search-zipcode button' value='住所検索' onclick=\"AjaxZip3.zip2addr('zipcode', '', 'member_pref', 'msa_address1');\">";
}
?>
<span id="zip_message" class="msa_message"></span>
</div>
テンプレート修正 : wc_templates/member/wc_member_mda_page.php 175行目あたり
<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_fax"><?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>



