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


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.


>>> Share a link to this question, just copy and paste the code bellow on your web page <<<

<a href="https://www.wptricks.com/question/wrong-product_cat-slug-returned-by-woocommerce-always-product_cat/">

Wrong product_cat slug returned by WooCommerce (always "product_cat")</a>
Gwidion 4 months 0 Answers 22 views 0

Leave an answer