返信先: 【解決済】数量入力フィールドの変更

フォーラム 使い方全般 【解決済】数量入力フィールドの変更 返信先: 【解決済】数量入力フィールドの変更

#95078
soft
参加者

sagawa さま

追記のご連絡をありがとうございました。

アップデート時に
親テーマに更新情報が入り
編集内容が削除されてしまうので、
子テーマを編集するとのことですね。
ありがとうございます。

前回、質問をさせていただいた点で
③なのですが、このような修正で
良いのでしょうか?
※Beldadのfunctions.phpはテキストの通り入力

1.修正前は、 usces_the_itemQuant() 
 修正後は、 bks_the_itemQuant_select( 30 ) 

2.修正前は、 usces_the_itemSkuButton( wcct_get_options( ‘cart_button’ ), 0 )
 修正後は、 usces_the_itemSkuButton(__(‘Add to Shopping Cart’, ‘usces’), 0) 

●修正前の Beldad 内容

div class=”c-box”
<span class=”quantity”><?php _e( ‘Quantity’, ‘usces’ ); ?><?php usces_the_itemQuant(); ?><?php usces_the_itemSkuUnit(); ?></span>
<span class=”cart-button”><?php usces_the_itemSkuButton( wcct_get_options( ‘cart_button’ ), 0 ); ?></span>

●修正後の Beldad の内容

div class=”c-box” !– 数量入力フィールドをセレクトフィールドに変更したい —
<span class=”quantity”><?php _e(‘Quantity’, ‘usces’); ?><?php bks_the_itemQuant_select( 30 ); ?><?php usces_the_itemSkuUnit(); ?></span>
<span class=”cart-button”><?php usces_the_itemSkuButton(__(‘Add to Shopping Cart’, ‘usces’), 0); ?></span>

何度もお手数をおかけし
申し訳ありませんが
ご教授いただければ幸いです。

よろしくお願いいたします。

  • この返信は2年、 7ヶ月前にsoftが編集しました。
  • この返信は2年、 7ヶ月前にsoftが編集しました。