Saltar navegación

[Resuelto] WPML + WOOcommerce + taxonomy terms whose parent is the current taxonomy archive

This support ticket is created 2 years, 2 months ago. 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 -

Zona horaria del colaborador: Europe/London (GMT+01:00)

Este tema contiene 2 respuestas, tiene 2 mensajes.

Última actualización por il-camelopardo-sasV 2 years, 2 months ago.

Asistido por: Nigel.

Autor
Mensajes
#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: enlace oculto
Here the english view: enlace oculto , but the missing category is translated in english, as you can see here: enlace oculto

Similar issue with another category and child category:
enlace oculto
enlace oculto (category missing: enlace oculto)

Can you please help me to fix that?

#2617623

Nigel
Colaborador

Idiomas: Inglés (English ) Español (Español )

Zona horaria: 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!