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 | - |
- | 19:00 – 22:00 | 19:00 – 22:00 | 19:00 – 22:00 | 19:00 – 22:00 | 19:00 – 22:00 | - |
Supporter timezone: Europe/Paris (GMT+02:00)
This topic contains 10 replies, has 2 voices.
Last updated by Yvette 3 years, 4 months ago.
Assisted by: Yvette.
Author | Posts |
---|---|
November 29, 2020 at 10:38 am #7552529 | |
antoineD-24 |
Hi, I have deactivated (putted in draft) some products in a product catagory from the product area and they are well now removed on the french language (primary language is english). on the english side, my category is gone automatically because i have no product in. Which is fine. But in french the category is still there... Initially the product was still in.. I had to do some trick (saw on the forum) to remove correctly the product in. Now the category is empty, but the category is still there... I want to remove the category of course, because it is empty. I tried to rename the categories, i tries many stuffs... but still there. Can you please help me ? |
December 2, 2020 at 4:21 am #7576023 | |
Yvette Supporter
Languages: English (English ) Spanish (Español ) Timezone: Europe/Paris (GMT+02:00) |
Hello I understand that you are expecting the exact same behaviour to happen in both installed languages. Temporary Access to your system Thank you |
December 3, 2020 at 1:35 am #7582783 | |
Yvette Supporter
Languages: English (English ) Spanish (Español ) Timezone: Europe/Paris (GMT+02:00) |
I am assuming you mean the category listing that appears in the top left part of the main sidebar of your shop - right? This seems to be a part of your theme and so would be classified as a compatibility issue. Please upload your theme here: Do not upload any other plugin. Thanks for confirming this. |
December 3, 2020 at 8:18 pm #7590057 | |
antoineD-24 |
Hi ! Yes you assume perfectly 🙂 Thanks |
December 3, 2020 at 8:20 pm #7590061 | |
Yvette Supporter
Languages: English (English ) Spanish (Español ) Timezone: Europe/Paris (GMT+02:00) |
Alright - I´ll take a look at it. |
December 3, 2020 at 8:24 pm #7590065 | |
antoineD-24 |
I tried to remove ghost entries in WPML > support > trubleshooting... still the same issue. |
December 3, 2020 at 8:35 pm #7590121 | |
Yvette Supporter
Languages: English (English ) Spanish (Español ) Timezone: Europe/Paris (GMT+02:00) |
The 404 problem was due to the product category slug being translated. I suppose your theme does not like this since the template must be linked to the name of the taxonomy. I changed the translation and now there are no 404 errors However, I can see that the theme sidebar is correct. It is not showing categories where there are no products. Do you agree? So, we are unable to replicate the issue and this means that there is something particular to your installatioin that is interfering with the compatiibility of the theme. Please now temporarily change the configuration of your site to mirror that of the sandbox. This means - temporarily deactivating all of your non-WPML plugins except for Woocommerce. Check the versions of the plugins as well as the information on the WPML > Support page with regards to your server settings. In this setup, does the problem still happen? If so, then send us a copy of your site *in this configuration* as per this article: I am opening the private area for you to incude a downloadable link to the Duplicator package. Do not attempt to load the files to the forum - use a file sharing service instead like WeTransfer. Thanks |
December 3, 2020 at 8:57 pm #7590211 | |
antoineD-24 |
Hi, That's right, on the test site it looks good now (no 404 error). What have you done exactly ? just in case i got the same error ? You said that but i don't see exactly what you have done : So I moved the product "WordPress Pennant" to "uncategorise" category. You will see the category "decor" in spanish is still there. But between your reply, I have been able to find a solution, i followed the ticket : https://wpml.org/forums/topic/some-taxonomy-terms-are-out-of-sync-between-languages/ And I did : go to WPML -> Support -> Troubleshooting. Look for 'Clean up' and click the following: When i went back to my store > Products (english) i discovered like gost products... some were in english but not translated in french, some were in french... (in the english part). I removed the wrong manually, and now all empties categories are gone in french. I can't explain it really. But you can test it on the test website. I leave it with the issue. So I guess by doing the same steps above, you should be able to remove the "decor-ES" category in spain. I can't explain it. I would be interesting to test it on a theme validated by WPML to see if you get the same issue or not? Thanks |
December 3, 2020 at 9:54 pm #7590525 | |
Yvette Supporter
Languages: English (English ) Spanish (Español ) Timezone: Europe/Paris (GMT+02:00) |
1. OK. So this is the issue at hand: When you change/update the product category of a product, the new categories are assigned but the old categories remain assigned as well in the 2nd language. I was able to replicate this behaviour even using the Storefront theme. This is a bug I need to report. The support tool you need to run to set the term counts corrrectly would be : This will correct the category count and have the empty categories removed from your sidebar. Do you have any questions before I escalate this issue? 2. To change the translation of the category slug I went to |
December 4, 2020 at 11:31 am #7594507 | |
antoineD-24 |
Hi Yvette, Great to hear. Thanks for your help. Do you know how long will it take to fix it ? Nothing urgent from my side, but just wanted to know if it could take weeks, or months or year ? |
December 7, 2020 at 8:11 pm #7610717 | |
Yvette Supporter
Languages: English (English ) Spanish (Español ) Timezone: Europe/Paris (GMT+02:00) |
Escalated. I don´t have an estimate on how long this will take to resolve but be assured that if a quick workaround can be offered - it will be |