Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin causes issues to WC single product permalink #141

Open
fesarlis opened this issue Apr 16, 2017 · 0 comments
Open

Plugin causes issues to WC single product permalink #141

fesarlis opened this issue Apr 16, 2017 · 0 comments

Comments

@fesarlis
Copy link

fesarlis commented Apr 16, 2017

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant