이 사용자는 즐겨찾는 주제가 없습니다.
즐겨찾는 포럼 주제
포럼 주제가 생성되었습니다.
상태 |
주제
|
서포터 | 목소리 | 게시물 | 선도 |
---|---|---|---|---|---|
Can't link disconnected page back to existing page in different language
시작한 사람: maaykS 안에: English Support |
2 | 2 | 4 년 전에 | ||
Google Product Feed and Currency issue
시작한 사람: maaykS
안에: English Support
Problem: The currency parameter for WooCommerce Google Product Feed and Currency is not working. Solution: Add the following function to the functions.php file of the theme. add_filter( 'wcml_client_currency', 'modify_client_currency', 10, 1 ); function modify_client_currency( $current_currency ) { if( !is_admin() ){ global $woocommerce; $currency = isset( $_GET['currency'] ) ? esc_attr( $_GET['currency'] ) : $current_currency; $currency = strtoupper( $currency ); $woocommerce->session->set('client_currency', $currency); return $currency; } } This is a suggestion that worked in this specific case. We can not guarantee that it would work in any case. Documentation |
|
2 | 5 | 4 년, 5 월 전에 |
작성자가 작성한 모든 기사 maaykS:
항목을 찾을 수 없습니다.