跳过导航

本主题包含 0 則回覆 ,有 0 声音 。

最后由 mohamed-nawfelO 3 months, 3 weeks前 更新。

协助者:: Kor.

作者 文章
20 1 月, 2025 于 3:55 下午

mohamed-nawfelO

Background of the issue:
I am trying to translate WooCommerce products. In the French (default) language, product variations appear normally on the frontend. However, when I translate a product, the variations do not appear in the dropdown menu.

Steps to replicate the issue:

1. Add this product to the cart: 隐藏链接. The attributes load correctly, as shown here: 隐藏链接.

2. Add the translated version of the product to the cart: 隐藏链接. The attributes do not load, as seen here: 隐藏链接.

I also tried creating a product directly in Arabic, and it worked fine 隐藏链接. Please note that the issue only occurs with translated products.

This is how the original product attributes and variations appear in the backend:
隐藏链接
隐藏链接
And here is how the translation looks in the backend:
隐藏链接
隐藏链接

Symptoms:
In the translated version, the attribute terms are not explicitly listed in the backend. Instead, it simply says 'Any ...' which could be causing the issue with the variations not appearing in the dropdown menu on the frontend.

Questions:
Why do the translated product variations not appear in the dropdown menu?
How can I ensure that translated product attributes load correctly?

20 1 月, 2025 于 4:17 下午