Skip Navigation

Resolved

Reported for: WooCommerce Multilingual & Multicurrency 5.1.2

Resolved in: WCML 5.2.0

Topic Tags: Bug

Overview of the issue

If you have WooCommerce products and categories set to use the default language as a fallback for untranslated content and you only translate the category without translating the product, categories aren’t displayed on the the translated shop page or widgets.

Workaround

Our developers are aware of this situation. In the meantime, you can use the following filter to display categories on your shop page. Be sure to make a full backup of your site before proceeding.

Add this code into your theme’s functions.php file:

add_filter('woocommerce_product_subcategories_hide_empty', '__return_false');

2 risposte a “WooCommerce - Product categories are not visible on the shop page or widgets”

  1. Hi,

    I translated the category as well as the products, however new product category is not showing in the product category side bar in the secondary language.

    • Hey there,
      According to your description, it seems like a different issue from the one reported here, probably related to some incompatibility.
      Could you please open a chat in our support system?
      Regards