Nicolas V.
Forum Replies Created
-
Hi @shliakh ,
I wasn’t able to reproduce the issue on a clean sandbox site.
Here’s the login URL: https://rare-banjo.sandbox.otgs.work/?auto=TLsqCLn12eLjqIUYoDsAGGPFCZeQb8gA
Am I missing something? Could you please try reproducing the issue?
PS: you will find the emails sent in “WP Mail Logging > Email Log”.
- This reply was modified 16 hours, 5 minutes ago by Nicolas V..
Hi @shliakh,
Thanks for bringing this up! I’ll replicate the issue on a clean install on our servers and escalate it to our developers. I’ll update you as soon as I have any feedback.Hi Alfonso,
Thanks for the update! Glad to hear it’s working fine now. If the issue comes up again or you get more info from YITH, just let me know.
Hi Guray,
There might be some confusion here.
- If you want to set a manual threshold amount, select “Set shipping costs in other currencies manually” and enter the amount (e.g., 75).
- Otherwise, select “Calculate shipping costs in other currencies automatically”, and WCML will use the exchange rate to set the prices.
I’ve set up a clean sandbox here: https://grey-harmonica.sandbox.otgs.work/?auto=8HSV2tkl79cNSUAgmHBypZa4gpaim9OB. Could you try reproducing the issue and provide clear step-by-step instructions? Please do not install unnecessary plugins.
Hi Alonso,
Thanks for your feedback. I couldn’t find any recent tickets regarding the YITH Request a Quote for WooCommerce Premium plugin. The last reported issues were related to strings not being translated, but these have been resolved in recent versions of the plugin.
If you have clear steps to reproduce the issue, could you please share them? I’ll test it on a sandbox site and escalate it to our developers for further investigation.
Hi Danny,
Apologies for the delayed response, I missed the notification.
With this approach, when a client changes the default text to a customized one, they will need to register it as an admin string and rescan your plugin to detect the string. This is why we recommended explicitly registering the string for translation, as it would provide a smoother experience for the client. That said, since the client is unlikely to change the text regularly and it’s probably a one-time change, it shouldn’t be an issue.
Thanks for your prompt fix, and sorry for my late answer!
Hi Steven,
Let’s try something else. I’ve created this sandbox site for you: https://silver-hang.sandbox.otgs.work/?auto=URArmeRanpOJNqqSKmWkAHYhk0dCob9i
Could you please try to reproduce the issue there? Everything is already set up and the workaround code has been added to the child theme.Hi Guray,
Thank you for reaching out.
It appears you’re following the correct workflow as described here: https://wpml.org/documentation/related-projects/woocommerce-multilingual/multi-currency-support-woocommerce/#setting-shipping-rates-by-currency
After selecting the “Free Shipping” option and setting the “Minimum Order Amount” requirement, you should first set the amount in the primary currency. Then, at the bottom, manually set the corresponding amount in the secondary currency. From your screenshot, it seems the only step missing is setting the costs in custom currencies by changing from “Calculate shipping costs automatically” to “Set shipping costs in other currencies manually”, to use your custom amount.
Hi @alfonsomellone,
Thanks for testing with a default theme! That helps us narrow down where to focus our efforts. ??
- Since the issue only affects one account, it might be related to the WooCommerce session. Could you try adding the following code to your functions.php file?
// Use Cookie instead of WCSession
add_filter( 'wcml_user_store_strategy', function ( $strategy, $key ) {
return 'cookie';
}, 10, 2 );2. As mentioned, the issue could also be linked to an AJAX action. The tricky part is that it only occurs for one account. To help troubleshoot, I’ve set up the following sandbox site: https://exclusive-horn.sandbox.otgs.work/?auto=1beyUcjdua5gb7Q3i9IzIehvm9loSdOB
Let me know when it’s done and we’ll investigate the issue.
Hi Alfonso,
Any differences between the two admin accounts? Are you logging in from the same location, device and browser?
Does the issue also occur for guest users? If so, can you share a link to check?
It could be caused by a custom AJAX action not being filtered properly. Can you try switching to a default theme like Twenty Twenty or Storefront to test?
Let me know what you find.
Please ensure that you use only the workaround provided above, rather than the one from the link in my initial response. While the issues are similar, the AJAX action name differs, it should be
'ast_load_product_quick_view'
.I tested this locally with USD as my default currency. When switching to EUR in the store, the quick view pop-up still displayed the price in USD. Adding the workaround code to my theme’s functions.php resolved the issue. Prices are now showing in EUR.
It’s possible that your issue is slightly different. Could you share more details so I can better understand and assist you?
Could you please try to add the following code to your functions.php file:
// WPML Workaround for compsupp-7862
add_filter( 'wcml_multi_currency_ajax_actions', 'add_action_to_multi_currency_ajax', 10, 1 );
function add_action_to_multi_currency_ajax( $ajax_actions ) {
$ajax_actions[] = 'ast_load_product_quick_view';
return $ajax_actions;
}Hi Steven,
This issue seems similar to https://wpml.org/errata/betheme-product-in-quick-view-shows-default-currency/
Astra theme is probably using a custom ajax_action that needs to be added to our filter. I’ll try to reproduce locally and will get back to you in a moment.- This reply was modified 3 weeks ago by Nicolas V..
Forum: Plugins
In reply to: [WooCommerce Multilingual & Multicurrency with WPML] TutorLMS compatibilityHi @devksec
I want to clarify that the listings on wpml.org are specific to our WPML product, not WCML. However, I’ve mentioned your feedback to the team, and moving forward, we will be testing the multicurrency feature for WooCommerce-related plugins while testing WPML compatibility. Since such a listing is not available on www.ads-software.com, if a plugin is compatible with WPML but does not support multicurrency, we will make sure to indicate that in the WPML listing.
Thanks again for bringing this to our attention!
Hi @thewebmonk ,
Looking at the logs you shared, it seems that some files are missing:
Failed opening ‘…/wp-content/plugins/woocommerce-multilingual/vendor/composer/../../classes/Reviews/Translations/FrontEndHooks.php’
This is causing critical errors due to missing classes and functions, such as:
Critical Uncaught Error: Class “WCML\Utilities\WcAdminPages” not found in …/wp-content/plugins/woocommerce-multilingual/inc/class-wcml-wc-gateways.php:51
Could you please try re-uploading WCML manually?
- Download a fresh copy from the WordPress repository
- In your WP dashboard, go to “Plugins > Add new” and use the button at the top of your screen to upload the .zip file
If the issue persists, and since you mentioned WPML, please start a chat on our support forum, our supporters will have all the tools to assist you further.
- This reply was modified 1 month ago by Nicolas V..