filter mask doesn't show on secondary language shop page
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday. If you have problems with registration ask help on contact us page pleaseIf you not got email within 24~36 business hours, firstly check your spam box, and if no any email from the support there - back to the forum and read answer here. DO NOT ANSWER ON EMAILS [noreply@pluginus.net] FROM THE FORUM!! Emails are just for your info, all answers should be published only here.
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday.
Quote from mercatodeivignaioli on November 22, 2020, 19:55HI, I have a multivendor, multilanguage site.
The filter mask works on the main ITA language shop page (even we have some cache issues and search page must be reloaded everytime) but is not shown at all on the secondary ENG shop page.
www.mercatodeivignaioli.it/en/vinegrowers-wines/
HI, I have a multivendor, multilanguage site.
The filter mask works on the main ITA language shop page (even we have some cache issues and search page must be reloaded everytime) but is not shown at all on the secondary ENG shop page.
Quote from Pablo Borysenco on November 23, 2020, 14:46Hello
What you mean "mask"?
Paste your license key here - https://c2n.me/43SC6rb.png -> https://c2n.me/42HBIt7.png and wp-admin access - https://c2n.me/42BAoj4.png
on the secondary ENG shop page. - it looks like the plugin is disabled at all
Hello
What you mean "mask"?
Paste your license key here - https://c2n.me/43SC6rb.png -> https://c2n.me/42HBIt7.png and wp-admin access - https://c2n.me/42BAoj4.png
on the secondary ENG shop page. - it looks like the plugin is disabled at all
Quote from mercatodeivignaioli on November 23, 2020, 15:36access data sent.
Mask is the WOOF Search/filter area that appears here https://www.mercatodeivignaioli.it/negozio/ and not here https://www.mercatodeivignaioli.it/en/vignaioli-wines/
access data sent.
Mask is the WOOF Search/filter area that appears here https://www.mercatodeivignaioli.it/negozio/ and not here https://www.mercatodeivignaioli.it/en/vignaioli-wines/
Quote from mercatodeivignaioli on November 23, 2020, 15:39I don't know how it has been placed on that page. is not a widget nor a shortcode and the person who did it doesn't remember anymore.....
I don't know how it has been placed on that page. is not a widget nor a shortcode and the person who did it doesn't remember anymore.....
Quote from Pablo Borysenco on November 24, 2020, 12:37Hello
Unfortunately, the key you gave me is not valid
To get license key - https://codecanyon.net/downloads -> https://clip2net.com/s/49WQikd
Hello
Unfortunately, the key you gave me is not valid
To get license key - https://codecanyon.net/downloads -> https://clip2net.com/s/49WQikd
Quote from mercatodeivignaioli on November 24, 2020, 12:43I just created a new password
I just created a new password
Quote from Pablo Borysenco on November 25, 2020, 12:57Hello
Please drop me the valid license key
To get the license key - https://codecanyon.net/downloads -> https://clip2net.com/s/49WQikd
Hello
Please drop me the valid license key
To get the license key - https://codecanyon.net/downloads -> https://clip2net.com/s/49WQikd
Quote from mercatodeivignaioli on November 25, 2020, 13:01I did it already on Nov 24.
you have right credentials to enter. they work perfectly
I did it already on Nov 24.
you have right credentials to enter. they work perfectly
Quote from Pablo Borysenco on November 26, 2020, 11:30Hello
I wrote to you on Nov 24 - https://c2n.me/49YKDmI.png - And I still see the invalid license key
you have right credentials to enter. they work perfectly - OK! Great! But I ask you to give me the license code
Hello
I wrote to you on Nov 24 - https://c2n.me/49YKDmI.png - And I still see the invalid license key
you have right credentials to enter. they work perfectly - OK! Great! But I ask you to give me the license code
Quote from mercatodeivignaioli on November 26, 2020, 11:47added now
added now
Quote from Pablo Borysenco on November 26, 2020, 13:54if you mean this settings - https://c2n.me/49YW6Gr.png
https://www.mercatodeivignaioli.it/negozio/ AND https://www.mercatodeivignaioli.it/en/vignaioli-wines/ - here you need to use different masks:
negozio
vignaioli-wines
And try in file - \wp-content\plugins\woocommerce-products-filter\index.php change this function is_should_init()
private function is_should_init() {
if (is_admin()) {
return true;
}//stop loading the plugins filters and its another functionality on all pages of the site
if (isset($this->settings['init_only_on']) AND ! empty($this->settings['init_only_on'])) {
$links = explode(PHP_EOL, trim($this->settings['init_only_on']));
$server_link = '';
//print_r($_SERVER);
if (isset($_SERVER['SCRIPT_URI'])) {
$server_link = $_SERVER['SCRIPT_URI'];
} else {
if (isset($_SERVER['REQUEST_URI'])) {
$server_link = site_url() . $_SERVER['REQUEST_URI'];
}
}//***
$removeChar = ["https://", "http://", "/"];
$init=true;
if (!empty($server_link)) {
$server_link_mask = str_replace($removeChar, '', trim(stripcslashes($server_link), " /"));
//echo stripcslashes($server_link_mask . '<br />');
foreach ($links as $key => $pattern_url) {$pattern_url = str_replace($removeChar, '', trim(stripcslashes($pattern_url), " /"));
$use_mask=true;
if(stripos($pattern_url,'#')===0){
$pattern_url=ltrim($pattern_url,"#");
$use_mask=false;
}if($use_mask){
preg_match('/(.+)?' . trim($pattern_url) . '(.+)?/', $server_link_mask, $matches);
$init_tmp = !empty($matches);
}else{
$init_tmp =($pattern_url== $server_link_mask);
}if (isset($this->settings['init_only_on_reverse']) AND $this->settings['init_only_on_reverse']) {
$init_tmp = !$init_tmp ;
}if (!$init_tmp AND $init) {
$init = false;
}
}
if($init){
$this->is_activated=true;
return true;
}
}
} else {
return true;
}return false;
}
if you mean this settings - https://c2n.me/49YW6Gr.png
https://www.mercatodeivignaioli.it/negozio/ AND https://www.mercatodeivignaioli.it/en/vignaioli-wines/ - here you need to use different masks:
negozio
vignaioli-wines
And try in file - \wp-content\plugins\woocommerce-products-filter\index.php change this function is_should_init()
private function is_should_init() {
if (is_admin()) {
return true;
}
//stop loading the plugins filters and its another functionality on all pages of the site
if (isset($this->settings['init_only_on']) AND ! empty($this->settings['init_only_on'])) {
$links = explode(PHP_EOL, trim($this->settings['init_only_on']));
$server_link = '';
//print_r($_SERVER);
if (isset($_SERVER['SCRIPT_URI'])) {
$server_link = $_SERVER['SCRIPT_URI'];
} else {
if (isset($_SERVER['REQUEST_URI'])) {
$server_link = site_url() . $_SERVER['REQUEST_URI'];
}
}
//***
$removeChar = ["https://","http://","/"];
$init=true;
if (!empty($server_link)) {
$server_link_mask = str_replace($removeChar, '', trim(stripcslashes($server_link)," /"));
//echo stripcslashes($server_link_mask . '<br />');
foreach ($links as $key => $pattern_url) {
$pattern_url = str_replace($removeChar, '', trim(stripcslashes($pattern_url)," /"));
$use_mask=true;
if(stripos($pattern_url,'#')===0){
$pattern_url=ltrim($pattern_url,"#");
$use_mask=false;
}
if($use_mask){
preg_match('/(.+)?' . trim($pattern_url) . '(.+)?/', $server_link_mask, $matches);
$init_tmp = !empty($matches);
}else{
$init_tmp =($pattern_url== $server_link_mask);
}
if (isset($this->settings['init_only_on_reverse']) AND $this->settings['init_only_on_reverse']) {
$init_tmp = !$init_tmp ;
}
if (!$init_tmp AND $init) {
$init = false;
}
}
if($init){
$this->is_activated=true;
return true;
}
}
} else {
return true;
}
return false;
}
Quote from mercatodeivignaioli on November 26, 2020, 14:23I'm sorry but is not clear
First of all, the mask now has disappeared from the ITA page.Can you explain me why?
I'm sorry but is not clear
First of all, the mask now has disappeared from the ITA page.
Can you explain me why?
Quote from Pablo Borysenco on November 27, 2020, 13:32Hello
You hid it on purpose with this option : https://c2n.me/49ZSqkW.png
https://c2n.me/49ZSmQd.png - this means that you want to show the filter only on this page - https://www.mercatodeivignaioli.it/negozio/ and hide on all other pages
If you still want to show the filter on this page - http://www.mercatodeivignaioli.it/en/vinegrowers-wines/ read this please - https://c2n.me/49ZSMze.png (or add: shop)
Or don't use this option at all
Hello
You hid it on purpose with this option : https://c2n.me/49ZSqkW.png
https://c2n.me/49ZSmQd.png - this means that you want to show the filter only on this page - https://www.mercatodeivignaioli.it/negozio/ and hide on all other pages
If you still want to show the filter on this page - http://www.mercatodeivignaioli.it/en/vinegrowers-wines/ read this please - https://c2n.me/49ZSMze.png (or add: shop)
Or don't use this option at all
Quote from mercatodeivignaioli on November 27, 2020, 15:30Clear now
thanks a lot. solved
Clear now
thanks a lot. solved
Quote from Pablo Borysenco on November 30, 2020, 14:56Hello
Welcome;)
Hello
Welcome;)