Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
You are testing the fallback option in WPML for products instead of duplicating them, which saves a significant amount of product entries. However, you are encountering issues where the product slug on the Dutch homepage and sometimes in categories shows a URL like

https://www.outsole.nl/nl/?post_type=product&p=327286375

instead of the expected pretty URL. This results in errors and unavailable pages. Additionally, filters based on attributes have disappeared on the Dutch site.
Solution:
1. Verify if the problematic products are published. Products showing a URL format like

https://www.outsole.nl/nl/?post_type=product&p=327286375

are typically not published and are in a draft status.
2. If using the "available for fallback" option, be aware that filters and taxonomies might not work or display as expected because an actual database entry does not exist for these products. If you need to use filters with translations, it is recommended to bulk duplicate the products. You can do this by navigating to WPML->Translation Management, filtering by products, and selecting to bulk duplicate.
3. If a Dutch duplicate is in the Trash, it can cause issues. We recommend fully removing any trashed translations to avoid such problems.

If this solution does not resolve your issue or seems outdated, please check related known issues at https://wpml.org/known-issues/, verify the version of the permanent fix, and confirm that you have installed the latest versions of themes and plugins. If problems persist, we highly recommend opening a new support ticket at WPML support forum.

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 6 replies, has 2 voices.

Last updated by Bobby 4 months, 1 week ago.

Assisted by: Bobby.

Author Posts
August 20, 2024 at 9:24 pm #16088380

frankK-24

Background of the issue:
I'm testing the fallback option of products instead of duplicating products using WPML. It saves 40% of our total products (3000) and that's amazing.

Symptoms:
On the /nl/ homepage and sometimes in categories, the slug of the product is different from what it should be. Instead of the product URL, it shows something like hidden link instead of hidden link. This causes errors and unavailable pages. You can replicate the issue on the Dutch homepage.

Questions:
Could you please assist how I can fix the issue with the incorrect product slugs?

August 20, 2024 at 9:44 pm #16088411

frankK-24

It seems to count for any Dutch listing now. I also noticed all filters based on attributes disappeared at the Dutch end. They're all marked as available for fallback. Hopefully there's a simple solution.

August 20, 2024 at 9:47 pm #16088412

Bobby
Supporter

Languages: English (English )

Timezone: America/Los_Angeles (GMT-08:00)

Hi there,

---> If the products show a URL such as hidden link, this product is not published and is in a draft status.

Please verify and let me know your results.

---> When using the option " available for fallback." the filters and taxonomies will not work or display as expected, this is because an actually database entry does not exist for these products.

It is best to bulk duplicate the products if you need to use the filters with the translations.

You can do this by going to WPML->Translation Management-> Filter by products -> select and bulk duplicate.

August 20, 2024 at 9:58 pm #16088423

frankK-24

We just switched from duplicates (3000 pcs) to fallback option, because WPML is just too heavy. So I'm not looking forward to go back to the fallback option.

The products are not in draft. Could it be the issue that the Dutch duplicate is in Trash?

August 20, 2024 at 9:59 pm #16088424

frankK-24

I mean 'go back to the duplicate option'. I highly prefer the fallback option.

August 20, 2024 at 10:02 pm #16088429

frankK-24

I just went through a test for the first product and the trashed duplicate might be the issue. I'm going to delete them all permanently to check if that works.

August 21, 2024 at 11:55 pm #16092381

Bobby
Supporter

Languages: English (English )

Timezone: America/Los_Angeles (GMT-08:00)

Hi there,

"Could it be the issue that the Dutch duplicate is in Trash?"

Yes, I can confirm that this is an issue we see a lot with pages, once a page is translated i always recommend fully removing it from trash as well as we have seen that issue before.

Let me know your results, please.

August 22, 2024 at 8:15 am #16093340

frankK-24

The fallback option works better than expected. Even the attributes are still translated, great. We're working on a way to be able to apply some filters. We were able to remove almost 3000 products from the database! Thank you for your help.