• My site is translated with polylang with the URL settings set to:
    mywebsite.com/en/shop
    mywebsite.com/de/shop

    So in any language the urls are build up with the language code.

    Now I installed Woocommerce and your plugin. But what happens is that Woocommerce builds up its links for the “Shop” page WITHOUT the language code. The link to the shop is “mywebsite.com/shop”.
    But on this site, no product are displayed.

    My permalink setting are:
    Shop Basis with the slug /shop

    My question is: does your plugin normally change the woocommerce links correctly to the polylang URL settings?
    Please hep me out!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi I have the same problem, did you solve it already?

    I don’t use a polylang language code in my urls but he translated shop page remains empty

    I get this error when i switch language from a single product page:

    Warning: array_sum() expects parameter 1 to be array, string given in /../../wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-product.php on line 1123

    It’s actually polylang that adds the lang slug into the url. I never used my self the Shop Base = /shop. I use the slug /product and works fine. Can you try with /product instead just to check if this works?

    Please share also your configuration for the other permalink settings, and what are the URL Modifications settings in Polylang.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘slugs not changing correctly to polylang slugs’ is closed to new replies.