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

Slug module - %product_cat% in URL #1367

Open
mwie1409 opened this issue Aug 24, 2023 · 2 comments
Open

Slug module - %product_cat% in URL #1367

mwie1409 opened this issue Aug 24, 2023 · 2 comments
Labels
maybe bug Potential bug, to be investigated module: slugs need info The submitter must provide more info

Comments

@mwie1409
Copy link

Hi all,

I have a webshop with Woocommerce and Q-Translate XT running.

Since two days the links to the detailed product pages are no longer built correctly by Q-Translate Slug module.
I get e.g. https:///de/shop/%product_cat%/<correct_product>/

The individual product category page and sub-page URLs are built correctly.

I saved the permalinks again, flushed all cashes.

I also deactivated all plugins but Woocommerce and Q-Translate and the error is still there.
So no interference from any other plugin.

If I deactivate the Slug module the page is behaving 100% fine.

Debug info
"PHP_VERSION": "8.1.21",
"WP_VERSION": "6.3",
"QTX_VERSION": "3.15.2",
"WooCommerce 8.0.2",

Any ideas?

Best,
Michael

@mwie1409 mwie1409 added the maybe bug Potential bug, to be investigated label Aug 24, 2023
@mwie1409
Copy link
Author

By adding the translations in the "Slugs translation" section for "Products" it works again.
But leaving those fields empty the fall back "If you leave this blank will use the default option when you registered the post_type." does not work.

@spleen1981
Copy link
Contributor

Can't replicate this.
Just to make sure I got it, if you set product base translations in slugs settings under 'post type', it works, but if you leave those blank you get https:///de/shop/%product_cat%/<correct_product> structure, but you expect what, https:///de/shop/<correct_product>?
What's the setting for products structure in permalinks settings?

@spleen1981 spleen1981 added the need info The submitter must provide more info label Sep 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maybe bug Potential bug, to be investigated module: slugs need info The submitter must provide more info
Projects
None yet
Development

No branches or pull requests

2 participants