説明
「カートへ入れる」ボタンのラベルを変更します。
使い方
add_filter( 'usces_filter_incart_button_label', 'my_filter_incart_button_label' );
function my_filter_incart_button_label( $button_label ) {
//処理
return $button_label;
}
パラメータ
- $button_label
- (文字列)初期値「カートへ入れる」
用例
add_filter( 'usces_filter_incart_button_label', 'my_filter_incart_button_label' );
function my_filter_incart_button_label( $button_label ) {
$button_label = 'カートに保存';
return $button_label;
}
ソースファイル
usc-e-shop/functions/template_func.php
関連資料
- usces_the_itemSkuButton() ・・・ カート投入ボタンを出力する
- usces_filter_item_sku_button ・・・ カート投入ボタンを書き換える
PAGE TOP