返信先: カートへ入れる ボタンが効かない

フォーラム 使い方全般 カートへ入れる ボタンが効かない 返信先: カートへ入れる ボタンが効かない

#78422
halhal0128
参加者

yasumax様
返信ありがとうございます。

どうもすっきりしないので確認させて下さい。
wc_item_single.phpを設置 とありますがマメ子さんのページを参考に
http://welcustom.net/welcart-template-set/
テンプレートの退避方法を使用しておりました。

functions.php記述内容
//Welcart退避用パッチ
add_action(‘init’, ‘my_welcart_template’, 9);
function my_welcart_template(){
add_filter(‘usces_template_path_single_item’, ‘my_template_path_single_item’);
add_filter(‘usces_template_path_member_form’, ‘my_template_path_member_form’);
}
function my_template_path_single_item( $path ){
$path = get_stylesheet_directory() . ‘/templates/single_item.php’;
return $path;
}
function my_template_path_member_form( $path ){
$path = get_stylesheet_directory() . ‘/templates/member/member_form.php’;
return $path;
}
//Welcart退避用パッチここまで

です。

ひょっとしてバージョンアップ時に仕様の変更があり、フック等も変わっているのでしょうか?
それともfunctions.phpに記述無しでテーマ内のテンプレートフォルダを優先的に見に行く仕様になったのですか?

確認してたらWelcartのカートの数量変更箇所で個数が表示されない不具合が出ておりました。
他にも新規会員情報入力ページなどで、入力欄の幅が固定できず、バラバラに狭かったりしております。
この辺りも上記と同様にmy_template_path_member_formが絡んでの不具合でしょうか?