qtranslate / qtranslate-xt

qTranslate-XT (eXTended) - reviving qTranslate-X multilingual plugin for WordPress. A new community-driven plugin soon. Built-in modules for WooCommerce, ACF, slugs and others.
GNU General Public License v2.0
545 stars 103 forks source link

Slug module - %product_cat% in URL #1367

Open mwie1409 opened 10 months ago

mwie1409 commented 10 months ago

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%//

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 commented 10 months ago

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 commented 9 months ago

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?