#1942
contact4
Participant

Hello,

I’ve same the problem here: if customer changes his language, the free product is still displayed in the default language.

My hotfix (it works for me but it’s not fully tested):

In includes/pro/WJECF_Pro_Free_Products/WJECF_Pro_Free_Products.php, I add the following lines at the beginning of “set_free_product_amount_in_cart” function:

$product_id = apply_filters( 'wjecf_get_product_ids', $product_id );
$product_id = $product_id[0]; 

It forces to use the WPML plugin.

Soft79 > could you check this? Thanks a lot