Skip Navigation

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

Problem:
The client is developing a site using WPML for multilingual management and is facing an issue where the header is not displaying on the product page in a secondary language. This issue occurs when the String Translation plugin is active.
Solution:
The issue was identified in the Woodmart theme's header settings. The 'single_product_header' string in the WPML > String Translation was incorrectly translated from 'none' to 'без' in Bulgarian. This caused the system to attempt to load a non-existent template, resulting in the header not displaying. To resolve this, the client should set the translation of this string back to 'none'.

If this solution does not resolve your issue, or if it seems outdated or irrelevant to your case, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If further assistance is needed, please open 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 5 replies, has 0 voices.

Last updated by George Botsev 2 weeks, 2 days ago.

Assisted by: Mihai Apetrei.

Author Posts
June 12, 2025 at 11:12 am

pooladd

Background of the issue:
I am developing a site and using WPML to manage multiple languages. I am trying to ensure that the product page displays correctly in all languages.

Symptoms:
The header is not displaying on the product page when viewing the site in the secondary language.

Questions:
Could you please look into why the header is missing on the product page in the secondary language and advise on a solution?

June 12, 2025 at 12:22 pm
June 12, 2025 at 12:23 pm #17130071

Christopher Amirian
WPML Supporter since 07/2020

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi,

Welcome to WPMNL support. Please provide us with the login information of the website copy/staging so we can do troubleshooting without the fear of breaking a live website.

You can set the next reply as private to provide the login info.

Thank you.

June 12, 2025 at 1:40 pm
June 15, 2025 at 4:43 pm #17136707

Christopher Amirian
WPML Supporter since 07/2020

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi,

Thank you for the login information. I reported this to the second tier support. I will get back to you as soon as I have news.

Thank you.

June 16, 2025 at 9:57 am #17137918

pooladd

Hello,
I wanted to kindly follow up and ask if there are any updates regarding the solution.
Thank you in advance!

June 16, 2025 at 2:33 pm #17139477

Mihai Apetrei
WPML Supporter since 03/2018

Languages: English (English )

Timezone: Europe/Bucharest (GMT+03:00)

Hi there and welcome back, Poolad.

Unfortunately, Christopher is not available at the moment, but I’m happy to take over this ticket.

The internal ticket was escalated yesterday, and our team is still looking into this issue.

Some problems can be resolved quickly, while others may require more time for thorough debugging.

I will update you as soon as I have any information.

For now, I will keep this ticket assigned to myself.

June 20, 2025 at 11:02 am #17154088

George Botsev
WPML Supporter since 02/2014

Languages: English (English )

Timezone: Europe/Sofia (GMT+03:00)

Hello!
I am George from the second tier support team and your ticket is assigned to me to check and debug.

The problem with the header is that the admin string option "[xts-woodmart-options]single_product_header" is translated from "none" to "без" in Bulgarian and you can check this out in WPML > String Translation on hidden link

In the file: /wp-content/themes/woodmart/inc/modules/header-builder/class-frontend.php there is a specific check:

		if ( ! empty( $custom_product_header ) && 'none' !== $custom_product_header && woodmart_woocommerce_installed() && is_product() ) {
			$id = $custom_product_header;
		}

Basically if the $custom_product_header is not set to "none", then it will show that template.
As the translation is set to something different than none, it is trying to display an non existing template and it fails.

The fix is to "translate" that string to the same value as the original - "none"

I hope this helps you move forward with your project.