Skip to content Skip to sidebar

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 29 replies, has 0 voices.

Last updated by David García 1 month, 2 weeks ago.

Assisted by: David García.

Author Posts
March 19, 2026 at 12:08 pm #17910914

David García
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+02:00)

I found the issue:

In the file `wp-content/themes/woodmart/woocommerce/content-product-cat-default.php` we have this code to display the category URL:

echo esc_url( get_term_link( $args['category']->slug, 'product_cat' ) );

Removing the `->slug` part does the trick, like this:

echo esc_url( get_term_link( $args['category'], 'product_cat' ) );

I tried to edit your theme, but the temporary login no longer works. Let me know if you have issues applying the fix.

March 19, 2026 at 12:16 pm #17910960

David García
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+02:00)

Our next step will be communicating with the theme author so they can have it resolved in their next release.

Meanwhile, let me know if this works for you.

March 19, 2026 at 1:45 pm #17911238

dominicT-10

Hi David,

Thank you for identifying the issue.

I am resending the temporary login link. It appears that the last login was three days ago, so I have refreshed the link:

hidden link

Please let me know if you encounter any issues accessing it.

March 19, 2026 at 1:53 pm #17911325

David García
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+02:00)

I wasn't able to login with the new temporary link either.

Maybe I was locked out due to too many failed attempts?

March 19, 2026 at 3:26 pm #17911681

dominicT-10

please try with this:

username: **********
password: **********

March 19, 2026 at 4:28 pm #17911946

David García
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+02:00)

I edited your theme to fix the issue. You should see the correct URLs now.

I have contacted WoodMart to let them know about the issue, and hopefully have it fixed in their next release so that my changes don't get lost when you update.

Also, while working on this, I noticed that the layout conditions need to be manually adjusted in the translations. I have opened an internal ticket to see if we can handle this automatically.

March 19, 2026 at 4:48 pm #17911988

dominicT-10

Hi David,

Thank you for fixing the issue.

However, the page layout is not displaying properly in French Version. I’ve already applied refresh stuff and cleared the cache, but the problem persists.

Could you please take a look at the screenshot here:
hidden link

Thank you.

March 19, 2026 at 5:13 pm #17912075

David García
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+02:00)

It's strange, I see it correctly.

Have you been able to fix it?

Screenshot 2026-03-19 at 18.12.37.png
March 19, 2026 at 5:41 pm #17912166

dominicT-10

I believe the issue was caused by WP Rocket. I disabled the “Remove Unused CSS” option, and everything is now working correctly.

However, could you please check something? On the English version, click through the categories and navigate from the main category to the Trex or any brand subcategory. Then do the same on the French version and compare the layouts. You’ll notice that the French layout differs from the English one, the category icons that appear at the top of the shop in the English layout disappear in the French version.

I’ve already checked the settings on product categories, settings on Elementor and layout conditions on the French version, and they appear to be the same and synchronized with the English version.

Please also review this video:
hidden link

March 23, 2026 at 9:49 am #17917615

David García
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+02:00)

I was able to reproduce local. Let me see what I can find.

March 23, 2026 at 12:17 pm #17918458

David García
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+02:00)

My debug is showing a similar issue to the one we solved before.

The "Trex" category has the same slug in both languages. Woodmart is querying by slug and finding the english category instead of the french one.

I'm looking for a quick fix to:
- get you going
- and share with WoodMart

March 23, 2026 at 1:29 pm #17918826

dominicT-10

Thank you.

March 23, 2026 at 5:42 pm #17919751

David García
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+02:00)

At some point, the setting to "Adjust IDs for multilingual functionality" in WPML > Languages was deactivated.

Fixing it is just a matter of activating it again.

I activated it, can you check and confirm?

March 23, 2026 at 8:12 pm #17919887

dominicT-10

Yes, it is fixed. Thank you very much. Please let me know if there is anything I need to do on my end.

March 23, 2026 at 8:32 pm #17919898

David García
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+02:00)

Nothing, I already activated the setting for you.