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

Keep Woocommerce default category structure

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.

Hello,

Is there a way to use your plugin for category filtering but keep Woocommerce´s default URL structure?

For example, keep this when someone clicks on a category on the sidebar filter: http://example.com/product-category/sale/

Instead of (with your plugin): https://example.com/shop/?swoof=1&product_cat=sale

Thanks

Hello

Please  drop  me  exact  link  to  the  issue

The plugin does not redirect to the shop page if the filter is on the category page - https://demo.products-filter.com/product-category/clothing/

Hello Pablo

On the demo site you share (https://demo.products-filter.com), if i click on the"SWATSHIRT" category, the URL it takes me is https://demo.products-filter.com/swoof/product_cat-sweatshirt/, which is a custom Husky url, it IS NOT Woocommerce standard url structure such as: http://demo.products-filter.com/product-category/sweatshirt/.

Do you get my meaning? So my specific question is how to keep Woocoommerce URL structure when using husky for filtering categories. I like the way Husky display the categories, is more visual and nicer. That is why i want to keep husky, but keep the"original" URL´s.

Hello

If you want to be redirected to the archive page (category) after pressing the filter, in this case you do not need a filter, use the menu.

This is a filtering plugin and the main point is to make a search query in the database and display the result.

 

 

Hi Pablo

So if i use the default woocommerce category page and use it together with Husky plugin for filtering other things, such as colors and sizes. How can i do to show Husky filters ONLY AFTER a user select a category? I mean, the use goes to the shop, and the only available filter is the category filter (using Woocoommerce archive), and if the user click on any category, then i would like to start showing color and size filter. Is there a way to do that?

I know you offer conditionals, but in this case, i will use woocommerce archive, instead of Husky category filter.

Hello

In this case, display the filter widget only on category pages.

if your theme does not have such functionality (different sidebars for different pages). You can try a 3rd party plugin to control the display of the widget. An  example - https://wordpress.org/plugins/widget-options/

OR

You can  use  this  option - https://share.pluginus.net/image/i20230531120623.png  Add link  (an  example) -   http://example.com/product-category

 

Good!

So this option to include/exclude Husky filters works as a word-match, right? I been testing and seems you dont need to add the absolute URL. Only adding a word, if that word is included on the url, it will match the condition, right? Please confirm.

So if i want to include the filter only on pages where the url contains"product-category", i can just add a line with"product-category" and filter will appear only on product archive pages, right?

Hello

In general, you are right, it can work on the part of the URL and in your case it is better to use the keyword /product-category/

But when using the special character #, you must insert the full URL