
Pablo Borysenco(@pavlo_borysenco)
34,196 Posts
Quote from Pablo Borysenco on April 19, 2024, 12:23
Hello Clara
You can use the standard way to translate strings in wordpress
OR try this - https://products-filter.com/hook/woof_ext_custom_title_xxx
an example
add_filter( 'woof_ext_custom_title_by_onsales' ,'woof_ext_custom_title_sales');
function woof_ext_custom_title_sales ($title){
return 'ANY TEXT';
}
Hello Clara
You can use the standard way to translate strings in wordpress
OR try this - https://products-filter.com/hook/woof_ext_custom_title_xxx
an example
add_filter( 'woof_ext_custom_title_by_onsales' ,'woof_ext_custom_title_sales');
function woof_ext_custom_title_sales ($title){
return 'ANY TEXT';
}

Pablo Borysenco(@pavlo_borysenco)
34,196 Posts
Quote from Pablo Borysenco on April 22, 2024, 11:16
Hello
what plugin version number are you using?
Please drop me exact link to the issue
Hello
what plugin version number are you using?
Please drop me exact link to the issue

Pablo Borysenco(@pavlo_borysenco)
34,196 Posts
Quote from Pablo Borysenco on April 22, 2024, 16:44
Hello Clara
Please paste your license key here - https://share.pluginus.net/image/i20230222134241.png -> https://share.pluginus.net/image/i20230222134511.png
Try in file - \wp-content\plugins\woocommerce-products-filter\ext\by_onsales\index.php - add this code - https://share.pluginus.net/image/i20240422174341.png
add_action('wp_head', array($this, 'wp_head'));
and - https://share.pluginus.net/image/i20240422174427.png
public function wp_head (){
self::$includes['js_lang_custom'][$this->index] = apply_filters('woof_ext_custom_title_by_onsales', esc_html__('On sale', 'woocommerce-products-filter'));
}
and do a test
Hello Clara
Please paste your license key here - https://share.pluginus.net/image/i20230222134241.png -> https://share.pluginus.net/image/i20230222134511.png
Try in file - \wp-content\plugins\woocommerce-products-filter\ext\by_onsales\index.php - add this code - https://share.pluginus.net/image/i20240422174341.png
add_action('wp_head', array($this, 'wp_head'));
and - https://share.pluginus.net/image/i20240422174427.png
public function wp_head (){
self::$includes['js_lang_custom'][$this->index] = apply_filters('woof_ext_custom_title_by_onsales', esc_html__('On sale', 'woocommerce-products-filter'));
}
and do a test

Pablo Borysenco(@pavlo_borysenco)
34,196 Posts
Quote from Pablo Borysenco on April 23, 2024, 11:34
Hello
No! I have already passed this on to the developers, it will be fixed in the next version
Hello
No! I have already passed this on to the developers, it will be fixed in the next version

Pablo Borysenco(@pavlo_borysenco)
34,196 Posts
Quote from Pablo Borysenco on April 24, 2024, 09:21
Hello
Unfortunately, we have not started testing yet and at the moment I cannot say the date. But it will definitely take more than 2 weeks
In any case, you can provide FTP access - https://share.pluginus.net/image/i20230222134241.png ->https://share.pluginus.net/image/i20230222134615.png - and I can make these code changes for you
Hello
Unfortunately, we have not started testing yet and at the moment I cannot say the date. But it will definitely take more than 2 weeks
In any case, you can provide FTP access - https://share.pluginus.net/image/i20230222134241.png ->https://share.pluginus.net/image/i20230222134615.png - and I can make these code changes for you

Pablo Borysenco(@pavlo_borysenco)
34,196 Posts
Quote from Pablo Borysenco on April 24, 2024, 12:32
Please try it - https://products-filter.com/hook/woof_clear_all_text
Please try it - https://products-filter.com/hook/woof_clear_all_text