|
Prices in the search box are not translated?
Started by: mucahitB
in: English Support
Quick solution available
Problem:
The Atelier theme Ajax search result dropdown does not show the Mult-currency setup.
Solution:
Please add the code below to functions.php file of your theme:
add_filter( 'wcml_multi_currency_ajax_actions', 'add_action_to_multi_currency_ajax', 10, 1 );
function add_action_to_multi_currency_ajax( $ajax_actions ) {
$ajax_actions[] = 'atelier_ajaxsearch'; // Add a AJAX action to the array
return $ajax_actions;
}
Relevant Documentation:
https://wpml.org/wcml-hook/wcml_multi_currency_ajax_actions/
|
|
2 |
9 |
4 days, 17 hours ago
mucahitB
|