qtranslate-slug
qtranslate-slug copied to clipboard
Plugin causes issues to WC single product permalink
Although it seems to me the whole QtranslateX family (main plugin and integrations) is abandoned (so I am not sure I will get a response on this - or in best case after a long time), this looks like a great plugin. It works as expected most of the time. I have noticed just one issue.
If I set the permalink for products like this:
/shop/%product_cat%
The latter variable (product_cat) is not substituted. This does not happen to product archives, only to single product link. To put it more simply:
It creates fine the following two links: https://www.myshop.lan/el/katigories-proionton/rologia/ https://www.myshop.lan/product-category/watches/
But it fails to create the single product link. Here is what it creates:
https://www.myshop.lan/el/shop/%product_cat%/english-lorem-ipsum/ https://www.myshop.lan/shop/%product_cat%/lorem-ipsum/
As you can see it does not substitute the base with the values entered. I can confirm that disabling the plugin restores the link. Of course I could just change the default permalinks for shop to omit product category but this cannot be considered a solution.
I would appreciate some help.