Skip Navigation

Resolved

Reported for: WooCommerce Multilingual & Multicurrency 4.11.2

Overview of the issue

If you click on the Quick view product functionality from Salient theme, it will display the product with the wrong currency.

This happens because the theme Salient uses custom AJAX actions for getting those values. However, WooCommerce Multilingual plugin requires using the appropriate API code for the custom AJAX actions.

Workaround

This will be resolved in the next Salient theme version. In the meantime:

  • Make a full backup of your site.
  • Open your functions.php file.
  • Add the following code:
    /**
    * Add this code to the 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[] = 'nectar_woo_get_product'; 
    return $ajax_actions;
    
    }