Перейти к содержимому Перейти к боковой панели

Эта тема содержит 0 ответ, имеет 0 голоса.

Последнее обновление: mohamed-nawfelO 7 месяцев назад.

При содействии: Kor.

Автор Сообщения
20 января, 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 января, 2025 в 4:17 пп