Skip Navigation

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 14:00 9:00 – 14:00 9:00 – 14:00 9:00 – 14:00 9:00 – 14:00 -
- 15:00 – 18:00 15:00 – 18:00 15:00 – 18:00 15:00 – 18:00 15:00 – 18:00 -

Supporter timezone: Asia/Dhaka (GMT+06:00)

This topic contains 3 replies, has 2 voices.

Last updated by Prosenjit Barman 1 year, 9 months ago.

Assisted by: Prosenjit Barman.

Author Posts
September 17, 2023 at 10:08 am #14408017

MozMoz

Hello,

The product numbers displayed through the category widgets on the website are displayed incorrectly in the 2nd Language.

For example, this page hidden link is in the native language of the site and the number 7 is displayed correctly on the page and in the menu on the left.

When you view the same category in English at hidden link , 7 products have been published, but the number of products is shown as 9 in the widgets menu on the left.

We tried every procedure suggested for a solution in the forum, fix term count etc. But there was no change. We do not know where he gets this number from, all product translations progressed synchronously, but in some categories in the 2nd language, these numbers are displayed as an excessive number of products. Doesn't match the number of products published?

How can we solve this problem and ensure synchronous progress?

September 19, 2023 at 6:26 am #14416141

Prosenjit Barman
WPML Supporter since 03/2023

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hello There,
Thanks for contacting WPML Support.

I understand the issue you're having and will try my best to assist you in this matter.

Are there any products under the "Biblo"(English) category saved in Draft? If so, the Filter functionality might be trying to show the total number of products per category within the filter, including those in the draft.

Since the Filter is part of the theme, it would be better if you could reach out to the theme author or support and discuss this matter with them. It is possible that they are aware of such cases and help you better in this matter.

However, if there aren't any products saved as drafts, try synchronizing the categories to see if it resolves the issue. Please follow the steps below.

- Please go to the "WooCommerce > WooCommerce Multilingual > Categories" Tab.
- Scroll down and you'll see a button to Synchronize categories for the products. Click on that button and wait till the process gets completed.

I hope it will help. Feel free to let me know if you need further assistance in this matter. I will be happy to help.

Best regards,
Prosenjit

September 20, 2023 at 9:57 pm #14433679

MozMoz

Hi,

Thanks for the directions but it didn't work.

There are no draft products except 7 products published under the English Trinket category. Likewise, there is no product in Turkish as a draft product. It already shows the numbers correctly in Turkish listings.

The problem is with the English department. It shows the wrong number as 9 when listing the products in the admin panel. But when you select the category, it lists 7 products.

We talked to the theme team, they said there was no problem with the theme. That's why we contacted you, and they told us that the problem was related to second language synchronization.

On the "WooCommerce > WooCommerce Multilingual > Categories" Tab the is now Synchronize categories for the products button. There second tab is Hierarchy Synchronization and here The taxonomy hierarchy is already synchronized. He is writing.

The problem of displaying the number of incorrect products is not only present in categories, but also in some qualification headings in the 2nd language. He has somehow created separate values for the 2nd language and it shows different numbers than the number of products installed in the system.

hidden link Although 7 products are available in this link, the menu on the left shows the number of 9 products.

The same problem exists, for example, in the designer name and other attribute titles; For example, there are 2 products in this link, but it shows 3 in English: hidden link

The problem is entirely related to the fact that numerical values ​​are processed differently in English. Where does the system get these numbers from? How can we count the products again and get these numbers corrected?

September 21, 2023 at 6:07 am #14434603

Prosenjit Barman
WPML Supporter since 03/2023

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hello There,
Thank you for the update.

If you have already tried to synchronize the categories and the issue persists, a closer inspection will be required to understand the root cause of the issue.

I would like to request temporary access (wp-admin and FTP) to your site to take a better look at the issue. It would be better to have a testing site where the issue is replicated.

You will find the needed fields below the comment area when you log in to leave your next reply. The information you will enter is private which means only you and I can see and have access to it.

Maybe I'll need to replicate your site locally. For this, I’ll need to temporarily install a plugin called “Duplicator” or "All in One WP Migration" on your site. This will allow me to create a copy of your site and your content. Once the problem is resolved I will delete the local site. Let me know if this is ok with you.

IMPORTANT
-Please backup site files and database before providing us access.
-If you do not see the wp-admin/FTP fields this means your post & website login details will be made PUBLIC. DO NOT post your website details unless you see the required wp-admin/FTP fields. If you do not, please ask me to enable the private box. The private box looks like this:
hidden link

Looking forward to your response.

Best Regards,
Prosenjit

The topic ‘[Closed] Second language category filters number of products does not match number of pub’ is closed to new replies.