Hello, i have 2 languages on woocommerce site, translated tags but now when i want edit product tags its not save i cant add or remove tags from translated product page editor
]]>Hi,
We developed a website for a client using the “WooCommerce Multilingual & Multicurrency” plugin.
It mostly work fine, except when a client buy a product in EN version, stocks are not decreased in FR. Weird pointer is also that in EN the “in stock” mention does not show, neither the product reference does.
Yet, the settings show that reference and stocks system should be copied from the original language (FR).
Following the potential solutions we found along our search, we tried the “troobleshooting” tab, then ticking the “Synchroniser la quantité de stock de produits et le statut (synchronisation du stock minimum entre les traductions)” option, but when we click on the “Start” button, nothing happens.
Thanks for your help,
Hi,
I’m reaching out with an inquiry regarding the compatibility between our plugin, Bopo – WooCommerce Product Bundle Builder, and WooCommerce Multilingual & Multicurrency.
We’ve already tried contacting your team via the contact forms at https://wpml.org/home/contact-us/contact-form/ and https://onthegosystems.com/contact/ but haven’t received a response. Could you confirm if this is the correct channel to seek support for compatibility inquiries, or let us know the best way to contact the relevant team?
Thank you very much for your assistance, and we look forward to your guidance.
]]>I am doing local development using bricks builder. I tried to insert this shortcode into header, and it’s not rendered.
Please check this link: https://www.loom.com/share/2e7a59e7d6da472896269505d1b247e8?sid=cfb02543-d86f-4fd9-b634-3fe92515fc35
]]>We are trying to set up WooCommerce multi-currency but are running into issues with Grouped products. We’ve enabled the option to “Show only products with custom prices”, but the currency selector doesn’t show on the grouped product, even though all of the sub-products have custom pricing set. I believe this is because the Grouped product itself doesn’t have a price.
Is there a way around this, or is it a bug?
]]>Hi there,
First off I really appreciate you guys providing this plugin!
I am using automatic exchange rates and have noticed though that with currencies such as Rupiah there is no rounding. Having decimals is not great in such currencies, let alone even tens and hundreds. Is there a hook/filter for rounding specific currencies?
Is there any way to automatically fetch currency exchange rates with this plugin on a wordpress server with WP_HTTP_BLOCK_EXTERNAL enabled?
For security reasons, our woocommerce shop’s server has been hardened with a firewall that blocks the web server from being able to initiate connections through the OUTPUT chain. This makes it so the web server can serve requests; it cannot initiate requests.
Basically what I’d like to do is write a system-level cron job that automatically fetches currency data and writes it to a file somewhere that’s accessible to the wordpress website.
Does this plugin support a way to automatically import currency data from a file on a recurring basis (eg every hour)?
]]>Please try to add the product options of this product from arabic page and go to checkout.
In checkout it showing only the main product without product options. But english page it showing if add items from english version. ie the issue, If i deactivate this currency plugin, the checkout arabic is proper. So we need to fix it without deactivate this plugin. Please check and give me a solution about this.
When I buy a product translation, the stock is automatically updated on main product product edit date is not updated too.
this create inconsistency since main product data is edited but the edit date is not
]]>Hi Team
We are using WPML Multilingual CMS 4.6.9 in our website.
We encountered site braking issue because of the following PHP error:
Fatal error: Uncaught TypeError: WPML_WP_Roles::get_highest_level(): Argument #1 ($capabilities) must be of type array, null given, called in /var/app/current/wp-content/plugins/sitepress-multilingual-cms/classes/wpml-wp/class-wpml-wp-roles.php on line 94?
I went ahead and checked the code on line # 94, I found that it wasn’t checking for an empty case before passing the argument into the function get_highest_level. The original code is as follows:
$isRoleLowerThanLevel = function ( $role ) use ( $level ) {
return self::get_highest_level( $role[‘capabilities’] ) <= $level;
};
For a temporary fix, I modified the code to include a check for an empty case:
$isRoleLowerThanLevel = function ( $role ) use ( $level ) {
return self::get_highest_level( !empty($role[‘capabilities’]) ? $role[‘capabilities’] : array() ) <= $level;
};
We tried to update the plugin into latest version. However it throwing bunch of fatal errors. So that we downgraded into recent older version. I hope this fix will be part of the next release.
Regards
Nishad.
Hello,
I’m taking the liberty of contacting you today, as I’ve been experiencing a problem for several weeks on a customer’s site (https://www.maison-alcee.com/).
This site uses several extensions, including WooCommerce Multilingual & Multicurrency with WPML and NitroPack. The aim is to display, for example, the price of the Persée Azur (https://www.maison-alcee.com/produit/persee/#azur) at €7,500 before tax for users in France, and at $8,900 before tax for users in the United States.
The problem is as follows:
When my VPN is deactivated and I’m in France, the price is displayed correctly in euros.
However, when I activate the VPN to simulate a connection from the USA, the amount is sometimes displayed correctly ($8,900 excluding taxes), but most of the time it remains displayed in euros (€7,500 excluding taxes).
I found a solution here: https://wpml.org/forums/topic/nitropack-and-multi-currency/
So I added the following code to the functions.php file of my WordPress theme:
function wcml_set_custom_currency_cookie( $currency = false ) {
if ( is_admin() && !( defined('DOING_AJAX') && DOING_AJAX ) )
return;
if ( !empty( $currency ) ) {
setcookie('wcml_custom_currency_cookie', $currency, time() + 60*60*24*7, '/');
return;
}
if ( empty( $_COOKIE['wcml_custom_currency_cookie'] ) && function_exists( 'get_woocommerce_currency' ) ) {
setcookie('wcml_custom_currency_cookie', get_woocommerce_currency(), time() + 60*60*24*7, '/');
}
}
add_action('wcml_switch_currency', 'wcml_set_custom_currency_cookie');
add_action('init', 'wcml_set_custom_currency_cookie');
I’ve also added wcml_custom_currency_cookie (https://ibb.co/vV9Zvkk) to the NitroPack settings (Cache Settings > Cache).
Unfortunately, the problem persists.
For the record, I’m using a VPN for my tests.
Would you have any suggestions or avenues to explore to solve this problem?
Thanks in advance,
Lo?c V.
In this video, I address a pricing problem on our website related to multilanguage and multi-currency settings. I demonstrate how the product prices differ between the shop page and checkout, causing potential customer confusion. Loom:?https://www.loom.com/share/144631aa48224c0ca7136a34117d9f27
]]>we constantly get the following logs (flooding our logs):
product_type was called incorrectly. Produkteigenschaften sollten nicht direkt abgerufen werden. Backtrace: require_once(‘wp-load.php’), require_once(‘wp-config.php’), require_once(‘wp-settings.php’), do_action(‘wp_loaded’), WP_Hook->do_action, WP_Hook->apply_filters, WC_Cart_Session->get_cart_from_session, apply_filters(‘woocommerce_get_cart_item_from_session’), WP_Hook->apply_filters, WCML_Product_Bundles->resync_bundle, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong. This message was added in version 3.0.
product_type was called incorrectly. Produkteigenschaften sollten nicht direkt abgerufen werden. Backtrace: require(‘wp-blog-header.php’), require_once(‘wp-load.php’), require_once(‘wp-config.php’), require_once(‘wp-settings.php’), do_action(‘wp_loaded’), WP_Hook->do_action, WP_Hook->apply_filters, WC_Cart_Session->get_cart_from_session, apply_filters(‘woocommerce_get_cart_item_from_session’), WP_Hook->apply_filters, WCML_Product_Bundles->resync_bundle, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong. This message was added in version 3.0.
and i think this might be something related to this plugin, does anybody knows what this is?
]]>I am try to use your plugin with Nitropack cache plugin
but when i add multiple currencies there is issue with cookings that must be cached
Nitropack support aks what this plugin use to determine user location PHP, or something else. How i can find correct cookies for all languages and currency
Am i must use few proxies to change location and look fod cookies and so on, or there is better way
]]>Hello,
I’m trying to add a flag to the multi-currency switcher but it doesn’t work, is that possible or not?
I’m using this code in function.php
do_action(‘wcml_currency_switcher’, array(‘format’ => ‘(<img src=”/wp-content/uploads/2024/08/currency-aed.png” width=”26″ height=”26″/>) %code%’));
Do I know where the problem is?
Best Regards,
]]>Hello,
I can’t seem to find a way to create a discount code for a specific currency, only the base one.
The issue is, if we refund a customer order in a secondary currency to a store credit. E.G $100. If we create a discount code of 100, it uses the base currency. If we try generate it using a converted $100 into the base currency, it’s ofen miscalculated due to the time taken by the customer to redeem and the currency changes.
How can we issue discount codes in a set currency and value?
]]>Hi. I have a setup where I enter the prices in Dkr, and wmpl/ WooCommerce Multilingual & Multicurrency takes the going rate and converts it to Nrk (danish to norwegian kroner)
My problem is that the system ads Vat to the danish price I enter, then converts it to norewegian, and then ads Vat (Mva) again…. this makes the conversion way to expensive. The crazy thing is that is is only on some products, and I cannot see why. Does anyone know about this?
]]>wprocket preloading does not work with plugin enabled because of multiple cookies made by plugin. This is what wprocket support wrote me:
Aside from confirming that the WP Rocket aspect is working as expected, it looks to me as though there might be a possible incompatibility between WooCommerce Multilingual & Multicurrency and the WPML option to have a “different domain by language”, because when I accessed another of the domains (in this case, gstarcad.mk), there are two instances of each cookie. And that apparently prevents WP Rocket from being able to generate the cookie-specific cache files — I had to delete the cookies from the first site and then refresh my browser, leaving only the MK cookies set, and only then the cache file was generated.So if you have a lot of visitors who land on one of the language domains and then switch to another (perhaps using the country flag switcher), then that’s likely to prevent them from being served a cached page and / or prevent WP Rocket from creating one for any subsequent domains after the first one.
You would need to work with the WPML and WooCommerce Multilingual & Multicurrency teams to find out how to prevent multiple instances of the dynamic cookies from being set in the browser, so there will only be one set of cookies instead (and thus, WP Rocket will be able to create the associated cache file
]]>Hi guys,
I’ve encountered something curious that might be a bug, or perhaps it’s an unexpected feature! ??
When I manually set custom prices and then switch back to automatic pricing, the displayed prices remain as the custom ones. Is there a way to reset them so they reflect the automatic pricing again?
Thanks for any insights you can provide!
]]>I used wpml, it is a woocomerc site, so the problem I have is that my native language is tr. And I translated it in 7 more languages, the color filters dyer wished, it makes me gust as a whole, I will show yellow photos to fall in love with a shape, the theme I use is xstore, yes, I use WooCommerce Multilingual, the language I have problems with is the language that I have problems with, except tr, which is in 5 languages.
]]><font style=”vertical-align: inherit;”><font style=”vertical-align: inherit;”>Wpml kulland?m, woocomerc sitesi, yani sorunum ana dilimin tr olmas?. Ve 7 dile daha ?evirdim, renk filtreleri dyer istedi, beni bir bütün olarak gust ediyor, bir ?ekle a??k olmak i?in sar? foto?raflar? g?sterece?im, kulland???m tema xstore, evet WooCommerce Multilingual kullan?yorum, sorun ya?ad???m dil sorun ya?ad???m dil, tr hari?, o 5 dilde.</font></font>
]]>My currency settings https://prnt.sc/BI5hTlOKikOt
this is how i output the geolocation for testing https://prnt.sc/UFezkacoWbwU
at the moment we see France, but the currency is not chosen https://prnt.sc/cUtAnFYeHTHc https://prnt.sc/VYeElxsZglku
please help me solve the problem
]]>Hello, my gateway only supports INR currency, is this possible that price converted from usd to inr on checkout, basically a saparate section that indicated total order value: 3USD , after this section it is written in INR, and the amount will be process in the gateway.
]]>Hello,
I am using WPML for a multilingual site along with WooCommerce Multilingual & Multicurrency. The primary site currency is SEK, while the secondary site uses EUR. Additionally, I am utilizing WooCommerce Table Rate Shipping with two zones: one for Sweden (SEK) and one for Finland (EUR).
In the Swedish zone, all table rate shipping prices function correctly. However, the Finnish site is experiencing issues. In the Finnish zone, I have configured the shipping cost to be 70.8 SEK (approximately 5.9 EUR) for products in category X, within the price range of 0 SEK to 1200 SEK (0 EUR to 100 EUR). Despite this, the checkout process displays a shipping cost of 11 EUR.
I am unable to resolve this issue on my own. Upon examining the logs, I found the following entry:
{"type":"shipping_fee","reference":"table_rate:3:13","name":"DHL SERVICE POINT","quantity":1,"unit_price":1100,"tax_rate":2500,"total_amount":1100,"total_tax_amount":220}],"order_tax_amount":580,"billing_countries":["FI","SE"],"shipping_countries":["FI","SE"],"merchant_data":"{\"is_user_logged_in\":false}","options":{"title_mandatory":true,"allow_separate_shipping_address":false,"date_of_birth_mandatory":false,"national_identification_number_mandatory":false,"verify_national_identification_number":false,"allowed_customer_types":
The shipping method in question, DHL SERVICE POINT, is set to 70.8 SEK.
I would greatly appreciate any guidance on resolving this matter.
Thank you and have a great week.
Best regards,
]]>Could you please provide the currency converter functionality as a REST API or WP graph mutation?
]]>I am trying to fix Batcache on my site?https://deveppspeedtest.mystagingwebsite.com. Batcache is broken because the below cookie session is set on the site, which breaks caching and prevents it from speeding up the website. The cookies were set by the woocommerce-multilingual plugin. Here are the cookies: set-cookie: wcml_client_currency=AED; expires=Sat, 20 Jul 2024 10:42:23 GMT; Max-Age=172800; path=/; secure set-cookie: wcml_client_currency_language=en; expires=Sat, 20 Jul 2024 10:42:23 GMT; Max-Age=172800; path=/; secure. I need to change the plugin settings to set the cookie only if/when needed or disable the cookie with any filter or code.
How we can disable the cookie and working the batcache feature without affecting any funcntionality of wcml
When attempting to create orders in the WordPress admin panel, an error occurs due to an interaction between WooCommerce and WooCommerce Multilingual & Multicurrency (WCML). The error message is: Copy
Uncaught TypeError: array_key_exists(): Argument #2 ($array) must be of type array, null given in /usr/www/users/cardks/staging/wp-content/plugins/woocommerce/includes/wc-core-functions.php:1331
This error occurs in the wc_get_customer_default_location()
function. The site is multilingual, uses multiple currencies, and sells products worldwide. Deactivating WCML allows orders to be created successfully, but the error returns when WCML is reactivated. Environment
Steps to Reproduce
Expected Behavior
The order should be created successfully without any errors, maintaining multilingual and multi-currency functionality.
Actual Behavior
An error is thrown, preventing the creation of the order. Debugging Information
The error occurs in the ResolverForModeLocation
class, specifically in the getClientCurrency()
method. It appears that this method is being called before WooCommerce is fully initialized, or when some expected WooCommerce data is not available. Proposed Solution
After investigation, we found that adding some checks and error handling in the ResolverForModeLocation
class resolves the issue. I’m not sure if adding the code here is allowed.
This modification adds checks to ensure WooCommerce is initialized, handles potential exceptions, and provides a fallback mechanism when the expected data is not available. Impact
This issue prevents users from creating orders in the admin panel when WCML is active, which is a critical functionality for e-commerce sites. Resolving this would significantly improve the stability and usability of WCML for users who sell products worldwide and utilize multiple currencies. Additional Notes
We appreciate your attention to this matter and look forward to a resolution that maintains the full functionality of WCML while allowing seamless order creation.
]]>I have the plugin setup for a while now and it was working fine.
I just checked it and saw that now when you change currency in the dropdown the price on the page isn’t changed, it just changes the currency symbol.
For example, in the Woocommerce checkout page if I have a product that costs $200 in the cart and I change currencies in the currency switcher, it just shows 200 NIS, even though the product in Woocommerce is setup to be $200 and 720 NIS.
I suspect this broke at some point when the plugin was updated.
Any ideas?
Thanks!
]]>Trying to set up Multicurrency with dynamic conversion. I have created an API through https://exchangeratesapi.io/ (free account). I get the following error:
error_code: base_currency_access_restricted – error_message: An unexpected error ocurred. [Technical Support: [email protected]] (July 8, 2024 5:00 pm)
Currencies I am using are $ Aus and US, and £ sterling
@apilayer technical support say there is no support for the free account!
Any ideas?
Many thanks
]]>Hi there!
For our website Arthyp.com (made with Elementor Pro + Memberpress) we would like people to be able to pay in dollars on the English language site, and in Euros on the Dutch language site. Note: this is not a WooCommerce website.. I heard this was possible with this plugin. But I have no idea how to do this. Can you please help me?