PluginUs.Net - Business Tools for WooCommerce and WordPress

[realize your idea - make your dreams come true]

Support Forum

You need to log-in to create request (topic) to the support

Edit Multi-Select Query Logic

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 please
If 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.
12

That is what I have for the pages currently, each with the shortcode syntax you described earlier in this text. I just need those filters to have the product category already selected (preferably not visible) so that the dynamic recount works correctly without having to reselect the category (it's redundant and confusing because they already clicked the link for their category to get to the filter page in the first place since all of the filters have different fields)

Hello

but attribute "taxonomy" in  shortcode - That should work already

OR  use

add_filter('woof_get_request_data', 'my_woof_get_request_data');
function my_woof_get_request_data($request{
if(is_page("page_slug_0")){
   $request['really_curr_tax'] =32-product_cat;
}elseif(s_page("page_slug_1")){
  $request['really_curr_tax'] =33-product_cat;

}elseif(s_page("page_slug_2")){

  $request['really_curr_tax'] =34-product_cat;
}
    return $request;
}

 

I added it, but it still makes you reselect the product category for the dynamic recount numbers to be accurate.

 

My Code:

//Getting Categories to be autoselected
add_filter('woof_get_request_data', 'my_woof_get_request_data');
function my_woof_get_request_data($request) {
if(is_page("real-estate-search-preferences")){
$request['really_curr_tax'] =33-product_cat;
}elseif(is_page("services-search-preferences")){
$request['really_curr_tax'] =35-product_cat;
}elseif(is_page("materials-search-preferences")){
$request['really_curr_tax'] =36-product_cat;
}elseif(is_page("equipment-search-preferences")){
$request['really_curr_tax'] =34-product_cat;
}
return$request;
};

Hello

Is it  correct  category  IDs?

Please  drop  me  link  to  the  issue(your  old  link - ERR_CONNECTION_TIMED_OUT )

 

Yeah, we've been under a pretty bad DOS attack, I'm getting us moved over to azure cloud services with better protection, and then I'll drop the link and/or FTP access. Thanks man

Hello

Ok!

Good evening, I've added the new link to private data. Let me know if you need FTP access or anything.

There's 4 identical pages (click the back button to see the others), and each one has a different filter form for the different categories. I just want it to automatically have them selected (and preferably not even showing as a filter option), but the ajax redraw auto-recount shows counts based on all products, not just that category, until you select the category in the filter form. I just want to remove the redundancy, since they've already selected a category to get to this page with the filter form in the first place (select back in upper left of the page if you want to see the logic steps users are taking to clarify).

 

Thanks again man!

Hello

Not sure I understood you correct.

In  this case  you  can use  links - https://yor_site/your_page/?swoof=1&product_cat=real_estate

Fantastic, it worked! Thanks man

Hello

Welcome;)

12