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

Improving product category filter in Dokan vendor store pages

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.

Hi Pablo

After reading some WOOF support threads I noticed something interesting. Am I correct that it may be possible to display a WOOF vendor specific product category filter in the widget area?  (pre Filtered for vendor).  I was looking for a way to improve the terrible format of the native Dokan vendor product category widget.

Refer to screen shot of how it looks now -  https://www.dropbox.com/s/hqxag5o69jt187t/Screenshot%202021-08-22%20at%2021.02.31.png?dl=0 or link to a vendor store page https://www.mytanklife.com/Store/aquazon/

If this is possible, can you guide me how to achieve this?

 

 

 

Hello

Please  read  this - https://products-filter.com/manipulate-search-data-options

Use key = woof_author

Thank you, I read your article and others but unfortunately do not have enough experience to implement the advice for this situation.

1 - Can I have a custom product category filter by author on each vendor's page? (I have about 15 vendors)

2 - If, so does each vendor need a unique script pasted into child theme?  What should the script be?

3 - I assume I must use add some kind of widget to Dokan store sidebar and paste a filter script into it? (text widget?)

 

 

 

 

Hello

1 No!  Because the author is not a category. But to show a filter for a specific author, use this code - https://share.pluginus.net/image/i20210825125636.png - The filter will show items that are relevant to this author

2 Yes, or you can create one script for all pages, but this is more complicated and you need to investigate this

an example:

add_filter('woof_get_request_data', 'my_woof_get_request_data');

function my_woof_get_request_data($data){

$data['woof_author']=$use_id_of_the_vendor;

return $data;

}

3 No! If you have no experience in programming, you'd better hire a developer.