Ce sujet est résolu. Voici une description du problème et de la solution.
Problem:
If you're experiencing issues with incorrect item numbers displaying in the Brand filter across multiple languages, it might be due to the translation settings of your 'Product Brand' post type. For instance, if the Brand filter shows 45 products for a brand that only has 9, this could be because the product count is being multiplied by the number of languages.
Solution:
We recommend checking the translation preference for the 'Product Brand (product_brand)' post type within your WPML settings. Navigate to WPML > Settings and in the 'Post Type Translation' section, change the translation preference for 'Product Brand' to 'Translatable - only show translated items'. After making this change, retranslate the product. This should ensure that the Brand count reflects the correct number of products assigned to the brand in the active language.
If this solution does not resolve your issue, or if it seems outdated or irrelevant to your specific case, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If further assistance is needed, please open a new support ticket at WPML support forum.
Il s'agit du forum d'assistance technique de WPML, le plug-in multilingue pour WordPress.
Il est accessible à tous, toutefois seuls les clients de WPML peuvent y publier leurs messages. L'équipe du WPML répond sur le forum 6 jours par semaine, 22 heures par jour.
Aucun de nos assistants n'est disponible aujourd'hui sur le forum French. Veuillez créer un ticket, et nous nous le traiterons dès notre prochaine connexion. Merci de votre compréhension.
Ce sujet contient 1 réponse, a 2 voix.
Dernière mise à jour par Prosenjit Barman Il y a 1 mois et 2 semaines.
Assisté par: Prosenjit Barman.
Ce ticket est maintenant fermé. Si vous êtes un client de WPML et que vous avez besoin d'aide, veuillez ouvrir un nouveau ticket d'assistance