У этого пользователя нет избранных тем.
Избранные темы форума
Созданные темы форума
Статус |
Тема
|
Специалист поддержки | Голоса | Сообщения | Свежесть |
---|---|---|---|---|---|
Can't link disconnected page back to existing page in different language
Начато: maaykS в: English Support |
2 | 2 | 4 года, 7 месяцев назад | ||
WPML chat support ticket by maaykS — 1599926256
Начато: maaykS в: Chat Support |
|
1 | 2 |
4 года, 11 месяцев назад
|
|
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 года, 12 месяцев назад |
Все статьи, написанные maaykS:
Ничего не найдено