• Hot
  • Top
  • New
2
votes

You have ... votes left in this category for this week!

Add support for plugins that remove the ‘product-category’ base

Plugins that have the feature to remove ‘the product-category’ base from URLs are not currently compatible with the Fast Layered Category Widget and Fast Attribute Widget.

The 3 plugins I have tested are Permalink Manager Pro (I will send you the .zip file and license), SEO for WooCommerce by RankMath (free on WP.org), and Premmerce Permalink Manager (free on WP.org).

To replicate this issue, create a product category called “Shoes” and one attribute, brand, with the term “Nike”. Make sure to have at least 1 product that has this category and attribute.

In the sidebar of the shop page, add the FWW Fast Layered Category Widget and Fast Attribute Widget.

Go to the Shop Page and activate the “Shoes” filter for the product category . You will get an URL like this:
– /product-category/shoes/
Now activate the “Nike” filter as the product Brand (which is an attribute). You will get an URL like this:
– /product-category/shoes/nike/

Next, use any of the 3 plugins mentioned above to remove the product-category base.

Go to the Shop Page and activate the “Shoes” filter for the product category . You will get an URL like this:
– /shoes/ – this works as expected
Now activate the “Nike” filter as the product Brand (which is an attribute). You will get an URL like this:
– /shoes/nike/ – this shows 0 results (when there should be at least 1 product)

If you manually type in your browser address /product-category/shoes/nike/, then it will only show the expected results.

Please let me know if anything is unclear or if you need any help from my end.