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.

Tagged: 

This topic contains 11 replies, has 2 voices.

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

Assisted by: Prosenjit Barman.

Author Posts
July 2, 2023 at 8:44 pm #13929797

jesslindaS

My productcategories showin a wrong amount of images that are included in each category.
Ive already tried to fix the issue with the troubleshooting functionalities but without any result. I need this problem to be fixed asap so could you please log in to the admin dashboard and fix it for me?

[Credentials Removed]

July 3, 2023 at 12:25 pm #13932617

Prosenjit Barman
WPML Supporter since 03/2023

Languages: English (English )

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

Hi There,
Thank you for reaching out to WPML Support. I will be happy to help you with this issue.

Kindly be informed that as this is a public forum, please don't disclose any sensitive information related to your site publicly. If we need any information like- access credentials, we will enable the private field for you so that you can securely share the information. I hope you can understand.

Coming back to the issue...

As you've shared access using that I have checked the product categories and found that category in each language is showing the thumbnails correctly. Can you please share more information about the images you're talking about?

If possible, Please share some screenshots of the issue you're having along with the steps that can help to trace the issue. It will greatly help in understanding the issue and also in determining an effective solution.

Looking forward to your response and cooperation in this matter.

Best regards,
Prosenjit

July 3, 2023 at 5:35 pm #13935479

jesslindaS

Sorry I ment products and not images. So let me rewrite my problem:
My productcategories showin a wrong amount of products that are included in each category.
Ive already tried to fix the issue with the troubleshooting functionalities but without any result. I need this problem to be fixed asap so could you please log in to the admin dashboard and fix it for me?

July 3, 2023 at 5:51 pm #13935513

jesslindaS

another issue which Im seeing is that the categories on the homepage dont have the correct size and they also appear very different in English en Dutch versions. See screenshot. The screenshot with the name 'How it should be' is the one showing how it should be on both languages.

How it should be.png
English.png
Dutch.png
July 4, 2023 at 5:00 am #13936849

Prosenjit Barman
WPML Supporter since 03/2023

Languages: English (English )

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

Hi There,
Thank you for sharing more information about the issue.

I've checked the product categories section and found that each category is showing the correct number of products. For example, I checked the "Sale" category on your site and found that the count(hidden link) and the number of products this category contains are accurate.

However, It’s important to note that the product count only includes ‘published’ products and excludes those in ‘draft’ status. For instance, in the ‘Sale’ category, there are 12 products in total, but only 11 are published while 1 is still in draft. This is why the product count for the ‘Sale’ category in the Product Category section shows 11. When you publish the products saved in "Draft", you'll see the count correctly. I hope I'm able to clarify it for you. But, feel free to let me know if you've any other questions or need more clarification in this matter.

Regarding the other issue you've mentioned with the appearance of the categories on the Homepage- As far as I've checked, that section is created using the category grid widget of Woolentor. I found that some inline CSS is causing issues with the width. Can you please check what happens if you keep the WPML plugin disabled? It will help to understand if the WPML plugin has any kind of involvement in this issue.

If the issue persists even after that, then it will be better if you could reach out to the Woolentor authority and request their assistance in fixing the width issue. I hope they will help you in this matter.

Please let me know the update.

Best Regards,
Prosenjit

July 4, 2023 at 8:40 am #13938139

jesslindaS

sale happens to be a correct one but in the attachement ive added screenshots of the category 'No category'. You can see there that in the category section it says 24 productens but when opening that category it shows 3 products.. I didnt check all the other categories but there are some more that have that incorrect amount.

About the other issue:
it is obvious that WPML causes this problem because before activating WPML I didnt have this error. Also when openeing the website in the original language (dutch) it appears all normal. Only when you switch to english it changes its appearance..

Could you please login to the website and fix these issues because Im launching this website in a couple of days

Scherm­afbeelding 2023-07-04 om 10.36.38.png
Scherm­afbeelding 2023-07-04 om 10.37.00.png
July 5, 2023 at 5:43 am #13945663

Prosenjit Barman
WPML Supporter since 03/2023

Languages: English (English )

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

Hello There,

I have checked the category you've mentioned and am happy to inform you that the issue is fixed now. There was some issue with the category assignment and this is how I solved the issue-

- Went to WPML > Support > "Troubleshooting" section
- Synchronize the `Product` Taxonomies and clicked on the buttons marked on this screenshot(hidden link).

The issue was resolved after that. As all the Products under the "Geen categorie" is saved in Draft, the product count shows 0. The count will be increased when you publish any product under this category.

Regarding the other issue with Category appearance- While testing yesterday, I found that the category layout was also not showing correctly on the Dutch version of the Homepage. That's why I requested to check if the same issue is happening if WPML is deactivated. However, I can see that the categories are showing properly now on Dutch Homepage.

However, I've also fixed the issue with the Category layout on the English Homepage. I've set the Translation preference for "Woolentor Category Layout" and "elementor_css" to "Copy" and upon updating the translation, the issue with the layout gets resolved.

Please check and let me know if you need any further assistance in this matter. I will be happy to help.

Best regards,
Prosenjit

July 5, 2023 at 1:28 pm #13951059

jesslindaS

Hi there, It worked! But I accidently replaced a previous backup from last night. So I was able to reproduce the troubleshooting steps which you provided with the screenshot. That fixed the category count again. But now I dont know what to do again to fix the category styling on homepage. Can you fix that issue again and show me how you did it?

July 6, 2023 at 10:38 am #13958499

jesslindaS

Another issue: In the english version, Im missing the menu-item 'SALE' under the item 'Shop'.

EN version.png
NL version.png
July 6, 2023 at 12:32 pm #13959803

Prosenjit Barman
WPML Supporter since 03/2023

Languages: English (English )

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

Hello There,

I can understand. In order to fix the category styling issue, please follow the steps below.

- Go to "WPML > Settings" and scroll down to the "Custom Field Translation"
- Click on "Show System Fields"
- Search for "_elementor_css" and when it appears in the result, set the translation preference to "copy"
- Save the changes.
- Now, scroll down to the "Custom Term meta Translation"
- Set the translation preference for "wooletor_selectcategory_layout" to "Copy"
- Now open the default homepage in the Elementor Editor and make a small style adjustment in the Category section.
- Save the Changes and update the translation of the page as well.

I did that for you and now the category is showing properly on the English homepage.

Regarding the Menu item issue- Maybe the menu you have in the Dutch language isn't been synchronized yet which is why it is not appearing in the English version. Please do the synchronization by following the steps mentioned in the guide below. I hope it will help.

- https://wpml.org/documentation/getting-started-guide/translating-menus/#option-3-automatic-menus-sync-by-wpml

Kindly be informed that to maintain clarity in the thread, we are only allowed to discuss one issue per thread. If the issue with Menu persists even after that, please create a new ticket mentioning the issue. We will check and happily assist you with that.

Please let me know if you need any further assistance in this matter.

Best Regards,
Prosenjit

July 8, 2023 at 5:06 pm #13971817

jesslindaS

"Now open the default homepage in the Elementor Editor and make a small style adjustment in the Category section."
--- What are those small style adjustments exactly?

"Save the Changes and update the translation of the page as well."
--- Where do I have to update the translation of the page?

July 10, 2023 at 5:02 am #13973905

Prosenjit Barman
WPML Supporter since 03/2023

Languages: English (English )

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

Hi There.

Please find the answer to your questions below.

-- Small style adjustments: You can click on the "Category Grid" widget and make any small style adjustments like adding a 1px of padding or updating the typography, etc. After that, save the changes.

-- Translation Update: A Translation update will be triggered once you save any changes on a page. To update the translation, please open the page in WordPress Editor and you'll notice a translation update icon there. You need to click on that to update the translation. Please check this video(hidden link) for a better understanding.

I hope you can understand. Please let me know if there is anything else you need help with.

Best Regards,
Prosenjit