Home›Support›English Support›[Resolved] Minimum Prices List for Rent Only amounts do not appear on the DE FR IT page
[Resolved] Minimum Prices List for Rent Only amounts do not appear on the DE FR IT page
This thread is resolved. Here is a description of the problem and solution.
Problem: The client is experiencing issues where specific price options (like 2000€, 5000€, etc.) appear on the EN landing page but not on the translated DE, FR, IT pages in a site using the Houzez theme, the issue might be related to JavaScript handling in the theme. Solution: We recommend trying the following steps after ensuring you have a full site backup: 1) Navigate to the
wp-content/themes/houzez/js
folder. 2) Open the
custom.js
file for editing. 3) Locate line 1963. 4) Update the JavaScript function from:
var property_status_changed = function (prop_status, $form) {
if (prop_status === 'for-rent') { // Ensure comparison is with correct value
$form.find('.prices-for-all').addClass('hide');
$form.find('.prices-for-all select').prop('disabled', true);
$form.find('.prices-only-for-rent').removeClass('hide');
$form.find('.prices-only-for-rent select').prop('disabled', false).selectpicker('refresh');
} else {
$form.find('.prices-only-for-rent').addClass('hide');
$form.find('.prices-only-for-rent select').prop('disabled', true);
$form.find('.prices-for-all').removeClass('hide');
$form.find('.prices-for-all select').prop('disabled', false).selectpicker('refresh');
}
};
5) Clear all types of caches.
If this solution does not resolve your issue or seems irrelevant due to being outdated or not applicable to your specific 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 the problem persists, please open a new support ticket.
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.
I have found another bug in the meantime. If you are already working "locally" on my case, can you please look at this error?
Situation: it works on the EN landing page (montecarloresidences.com) but not on the translated pages: DE FR IT
If you click "FOR RENT" and "Price max" on the EN landing page, the amounts I entered appear, such as 2000€, 5000€, etc.
Problem: These amounts do not appear on the DE FR IT page.
I was able to set these amounts on Houzez here: Houzez Theme Options - Searches - Settings - Maximum Prices List for Rent Only
I tried to edit something on the DE landing page (in elementor) and save it. But no success. I think this error has always existed but I have only seen it now.
Sorry for the late response due to the weekend. As a part of troubleshooting and escalation to our compatibility team developer, I have tried to reproduce the issue in a Sandbox site (a fresh installation) on our staging site because it will help to speed up the debugging process.
hidden link (Login URL to the sandbox site)
Unfortunately, the Houzez theme is asking for the registration key in the sandbox site. Therefore one request. Can you please check with the theme author if they can provide a license key (temporary) for the test site?
Hi Bigul!
OK, all done.
1) Alt text doesn't work.
2) However the error with the "max rent price" hasn't come up again. But the same process doesn't work on my live site.
Thank you very much for configuring the sandbox site and reproducing the issue. I will consult about with our team for an expert opinion on this and get back to you as soon as possible. Please wait.
About issue: max rent price
I am sure you tried that too. I translated it in the string translation (screenshot enclosed), but it's not displayed correctly in the frontend.
Sorry for the late response becuase of the holidays. We trying the possible workarounds in this case and get back to you as soon as possible. Please wait.
Because of this problem. This is something that only affects my site. Sandbox works for you. Idea: can we change the translations (amounts) directly in my php files? Because I won't change these amounts again, that would be a solution for me. But you would have to tell me where and how exactly I can change/enter that.
Thanks for your support - I appreciate it!
Thank you for the updates. We noticed a glitch in the search box widget. It only shows the customized price in English after we choose the For Sale tab. Please check the following screencast for more details.
hidden link
This may be related and we are looking for the possible workarounds in this case. Please wait.
So we have a request. Please deactivate all WPML plugins after a site backup and check it is showing the expected results (without clicking the *For Sale* tab).
Just a quick question. Should I copy the code somewhere? In a php file? Or just deactivate WPML plugins after a backup? And then activate WPML plugins again?