Wrong product_cat slug returned by WooCommerce (always “product_cat”)

Question

In permalinks I set product category slug to a custom string (e. g. “eshop/kategorie”). Still, when WC prints category list (on main e-shop page), all the links point to example.com/product_cat/ProductCategoryXYZ. Only the highlighted part changes, like the setting doesn’t work correctly.

I have the same setting in my local copy of the website and it works. In production, it doesn’t unfortunately.

0
Gwidion 4 days 0 Answers 7 views 0

Thousands of WordPress themes to start your new website with a bang.

Leave an answer