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

Hierachy Dropdown

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

Hello, i have a question.

first i want to use the hierarchy dropdown. But i really dont get it :-( I tried it with the normal categorys and than with the CPT UI but there was no hierarchy dropdown under structure tab. So i just want to filter for services in hierachy mode. So first you choose electrician than there are the electrician services and sub services of the main electrician services.

So the perfect solution would be the actually choosen radio/checkbox in dropdown but with first showing just the main services and dropdown after clicking one of them.

Access to the site and purchase code is in the private tab.

Thanks Alex

 

 

Hello Alex

hierarchy dropdown - this is a dropdown( only dropdown )  for hierarchical taxonomies.  In  your  case - https://c2n.me/48cvmgu.png

Ok i understand this but how i can make it looks like here with the locations:
https://demo.products-filter.com/?swoof=1&locations=usa

So first i choose a category, after that in the next dropdown you can find the services for the selected category and after that maybe subcategories of the selected one.

Thanks for your help!

Hello

Make a hierarchy as I described above - https://c2n.me/48dBBMt.png

Example  for  locations - https://c2n.me/48dBPq5.png

I idid and than? :-) So what did i have to do inside your plugin?

Thanks for your help.

Hello

My  short  video - https://c2n.me/48emBcX

Thank you so much Pablo! Have a nice day!

Ok just one more thing. How is the shortcode for an individual service (leistungen). So that on this page:

http://bauen-in-bergisch-gladbach.de/produkt-kategorie/elektriker/

just the hierachie dropdown for the taxonomy"elektriker" shows up.

i tried it with:
[woof is_ajax=1 taxonomies=leistungen:116]

but its not working

Thank you!

 

so the shortcode for this view:

http://bauen-in-bergisch-gladbach.de/shop__trashed/?swoof=1&leistungen=elektriker

Hello

Please  try  to  read   this( https://c2n.me/48fhriW.png ) - https://products-filter.com/shortcode/woof/

i tried everything. i really dont get it :-(

[woof is_ajax=1 tax_only='leistungen:116']

if i use this code notrhing or just the search field is shown. Not the filter like here:

http://bauen-in-bergisch-gladbach.de/produkt-kategorie/elektriker/?swoof=1&leistungen=elektriker&really_curr_tax=90-product_cat

 

Hello

Try  this  shortcode

[woof is_ajax=1 tax_only='leistungen' by_only='none']

Than it looks like this:

http://bauen-in-bergisch-gladbach.de/produkt-kategorie/elektriker/

But it should look like this:

http://bauen-in-bergisch-gladbach.de/produkt-kategorie/elektriker/?swoof=1&leistungen=elektriker&really_curr_tax=90-product_cat

So the sub tax"elektriker"

Thank you so much :-)

Hello

Looks like I didn’t understand you.

In your case, it will only work like this:

[woof is_ajax=1 taxonomies='leistungen:116']

now it looks like this:

http://bauen-in-bergisch-gladbach.de/produkt-kategorie/elektriker/

but not just the sub tax like here:

http://bauen-in-bergisch-gladbach.de/produkt-kategorie/elektriker/?swoof=1&leistungen=elektriker&really_curr_tax=90-product_cat

Hello

Try  to  use  this  code:

if (is_product_category('elektriker')  OR  (isset($_GET['really_curr_tax']) AND  $_GET['really_curr_tax'] == '90-product_cat' )) //
{
add_filter('woof_get_request_data', 'my_woof_get_request_data');
}

function my_woof_get_request_data($request)
{
$request['leistungen'] = 'elektriker';
//$request['product_cat']='music,posters';
return $request;
}

Ok in which file?

functions.php

ok is inside now but it looks the same:

http://bauen-in-bergisch-gladbach.de/produkt-kategorie/elektriker/

Hello

Now this code does not work.

If you are sure that you inserted the code correctly: Please  delete  these  lines  and  do test - https://c2n.me/48k5rLe.png

12