• Hi,

    I am eCommerce Product Catalog plugin developer and I got a couple of support requests regarding the incompatibility with Polylang.

    I researched it and it seems to be a bug in Polylang that causes 404 errors for custom post type archive pages. In this particular example with Product archive page and Product categories.

    As soon as you add language to Polylang the error starts to appear.

    One way to bypass this bug is to enable the translations for products. You can do it by going to Polylang settings (Settings > Languages and Settings tab) and check the boxes near Custom post types and Custom taxonomies.

    I am not sure if this is a bug or something intentional as I never used Polylang.

    I hope we can resolve this in some way to prevent more support requests ??

    https://www.ads-software.com/plugins/polylang/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Chouby

    (@chouby)

    Hi!

    If it makes sense, you can oblige Polylang to manage the languages and translations for your custom post types and taxonomies. Thus the users won’t need to check the relevant options in Polylang settings.

    This can be easily achieved with a wpml-config.xml file, of course compatible with WPML. The filters pll_get_taxonomies and pll_get_post_types allow to do the same but are specific to Polylang.

    If you plan to use the wpml-config.xml file, please use the latest development version. I noticed a regression in the current stable version which is fixed in the development version.

    Thread Starter ndre

    (@ndre)

    Hi,

    Thanks for the response.

    I am not sure if it is good idea to obligue to translate products. I imagine that some users choose not to translate the products.

    It seems that this is a problem with all WordPress custom post types not only with those generated by eCommerce Product Catalog. Its probably caused by some Polulang rewrite rules.

    Can you confirm it?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Polylang and eCommerce Product Catalog’ is closed to new replies.