Problem: The client is experiencing an issue where products without a custom price set for a specific currency are still visible and purchasable when accessed from a country using that currency. This occurs despite having activated the 'Show only products with custom prices in secondary currencies' setting in WCML. The expectation was that the product would either not be displayed or not show prices and prevent purchasing in such scenarios.
Solution: We clarified that the 'Show only products with custom prices in secondary currencies' setting should hide products that do not have a manual price entered for the secondary currency on the frontend of the translated shop. However, if no custom price is entered, the system defaults to using the automatic exchange rate to display prices, which is the observed behavior. This is not a bug but the intended functionality of the plugin. To achieve the desired behavior of hiding products or disabling purchases when no custom price is set for the specific currency, a custom solution would be necessary as this is not supported out of the box by the WPML plugins.
If this solution does not resolve your issue or seems outdated, we recommend checking the related known issues and verifying that you have the latest versions of themes and plugins installed. If the problem persists, please open a new support ticket.
Problem: Der Client versucht, den Language Switcher auf seiner Website im BlockStrap Child Theme zu reparieren, da dieser seit dem letzten Update den Header ruiniert. Der problematische Code ist:
Es könnte auch hilfreich sein, das Layout in der Kopfzeilenvorlage zu ändern und diese dann mit WPML > Übersetzungsmanagement zu übersetzen. Zusätzlich sollte der Client die style.css im Child Theme überprüfen, da der Fehler möglicherweise dort verursacht wird.
Bitte beachten Sie, dass diese Lösung möglicherweise veraltet oder nicht auf Ihren Fall zutreffend ist. Wir empfehlen, die bekannten Probleme zu überprüfen, die Version der dauerhaften Lösung zu bestätigen und sicherzustellen, dass Sie die neuesten Versionen von Themes und Plugins installiert haben. Sollten weiterhin Probleme auftreten, zögern Sie nicht, ein neues Support-Ticket zu eröffnen. Hier können Sie das tun: WPML Support Forum.
Problem: If you're developing a site and want to enable switching the WordPress account interface to the user's language of preference using WPML, but find that when a user registers with a non-English language and logs into their control panel, the interface remains in English. Solution: We recommend adding the following custom code to your theme's functions.php file:
Please test this code in a staging environment before applying it to a live site, as this custom code is a courtesy and is not officially supported by us.
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 needed, please open a new support ticket at our support forum.