• Hello,

    After updating the plugin we no longer see the on site messages in cart and product pages. Why is this happening?

    The only think we have added in functions.php is the following snippet

    add_filter('kosm_locale', function($locale) { //product page

    ? ? $my_current_lang = apply_filters( 'wpml_current_language', NULL );

    ? ? if($my_current_lang == 'el'){

    ? ? ? ? return 'el-GR';

    ? ? }else{

    ? ? ? ? return 'en-GR';

    ? ? }

    });

    add_filter('kp_locale', function($locale) { //checkout page

    ? ? $my_current_lang = apply_filters( 'wpml_current_language', NULL );

    ? ? if($my_current_lang == 'el'){

    ? ? ? ? return 'el-GR';

    ? ? }else{

    ? ? ? ? return 'en-GR';

    ? ? }

    });

    Thanks!

Viewing 4 replies - 16 through 19 (of 19 total)
Viewing 4 replies - 16 through 19 (of 19 total)
  • You must be logged in to reply to this topic.