Navigation überspringen

[Gelöst] WPML + WOOcommerce + taxonomy terms whose parent is the current taxonomy archive

This support ticket is created vor 2 years, 2 months. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 -
- 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 -

Zeitzone des Unterstützers: Europe/London (GMT+01:00)

Dieses Thema enthält 2 Antworten, hat 2 Stimmen.

Zuletzt aktualisiert von il-camelopardo-sasV vor 2 years, 2 months.

Assistiert von: Nigel.

Author
Artikel
#2617575
Edit-View-‹-MedPLUS-—-WordPress.png

I have a website with Toolset + Woocommerce + WPML.
I created a view that shows "taxonomy terms whose parent is the current taxonomy archive." (product categories child of the current one). The view created in "html/legacy" mode.

The view correctly shows the child product categories for the main language of the site (italian), but in other language (english) I see only one child category instead of three. I dobule checked that the missing categories are translated in english and are child product categories, but I can't see them through the view.

Here you can see the italian language view: versteckter Link
Here the english view: versteckter Link , but the missing category is translated in english, as you can see here: versteckter Link

Similar issue with another category and child category:
versteckter Link
versteckter Link (category missing: versteckter Link)

Can you please help me to fix that?

#2617623

Nigel
Unterstützer

Sprachen: Englisch (English ) Spanisch (Español )

Zeitzone: Europe/London (GMT+01:00)

Hi there

Can you double check that the hierarchy of the taxonomy is synchronised (which will ensure that for the translated child terms that they are indeed children of the translated parent term).

I just checked that on a local site and it was required for the set up you have to work.

#2617645

Hi Nigel, thank you for your answer. The product category taxonomy was already translated, but I found the solutions in another way: in addition to product category translation, I created a product translation in english, even if I set WPML with "show untraslated content if translation is not available".
So in order to work, the view needs at least one product in the child category.
ciao!