George Botsev
Forum Replies Created
-
No, I have meant that the currency switcher also has a template that can be set.
You can do it from WooCommerce > WooCommerce Multilingual > MultiCurrency tab – where you can edit and add new currency switchers.
Perhaps the problem is that it is set as a dropdown – and if you change it to a list style – it might show.
Your issue seems to be mainly related to the theme styling, so perhaps you should ask in the theme support for this.I am not sure that the best solution for the top bar is to use a dropdown language switcher. Also the location there should probably interfere with the cart button once a product is added.
Do you have a similar problem if you change the currency switcher to another type?
How is it configured now? What template?
I tried to see what is keeping it hidden, but there are a lot of stuff that are in the way (CSS)We are not encouraging you to “hack” the code. This is just one line fix that will help you get back on track, and help us receive proper feedback if this works for you or if there are some other issues that we might have missed.
“Just updating” the plugin takes serious testing from our side with various scenarios and plugins and it is very time consuming and complex process.The update will be released once all issues that need resolving in the current development cycle are resolved and once the version passes QA and the results are good from it.
For now I cannot tell you an exact time-frame. You can help by testing (on staging environment first of course) the patch that I provided above as the patch testing in various configurations is very helpful for creating a good product.We have reproduced the issue and it will be fixed in the next release of WooCommerce Multilingual.
You can fix it by changing the lines in two files.
In
woocommerce-multilingual/inc/currencies/class-wcml-price-filter.php
You change:woocommerce_price_slider_params.currency_format_symbol = wcml_mc_settings.current_currency.symbol;to
if( typeof woocommerce_price_slider_params !== 'undefined' ) { woocommerce_price_slider_params.currency_format_symbol = wcml_mc_settings.current_currency.symbol; }and in the file:
woocommerce-multilingual/res/js/wcml-multi-currency.jsif( typeof woocommerce_price_slider_params != 'undefined' ){to:
if( typeof woocommerce_price_slider_params !== 'undefined' ){ woocommerce_price_slider_params.currency_symbol = wcml_mc_settings.current_currency.symbol; }Please remember to backup your database and files first before you proceed! You can use a plugin for this if you like (example: http://wordpress.org/plugins/duplicator/)
Hello and thank you for contacting us.
Can you give us more details?
What action triggers this error?
What are the effects of the error?
Do you have any other plugins that are interfering with the price or the currency?
Maybe you should test in a minimal setup with only WPML and its addons, WooCommerce and WooCommerce Multilingual plugins enabled.I am not sure if the patch that you did would be good – it may block some WooCommerce Multilingual functionality and lead to other issues.
The error should be resolved in our latest release of WooCommerce Multilingual 4.1.4
Closing this due to inactivity.
Please test our latest plugin and if you still have problem open a new ticket in our forum at wpml.orgClosing this due to inactivity.
Closing this due to inactivity.
Please test our latest plugin and if you still have problem open a new ticket in our forum at wpml.orgClosing this due to inactivity.
Thank you for the details.
This does not seem as a normal user browsing scenario, but I will forward this to our compatibility team and let them know of this.Hello and thank you for contacting us.
As a temporary fix until a new release of WooCommerce Multilingual is released, you can change the file: /wp-content/plugins/woocommerce-multilingual/inc/class-wcml-emails.php in the function: filter_payment_method_string() and replace:if( '_payment_method_title' === $meta_key ){With this code:
if( $object_id && 'shop_order' === get_post_type( $object_id ) && '_payment_method_title' === $meta_key ){Please let me know if this works or not for you.
Oh, sorry my mistake – I edited the post to the correct code that need to be replaced.
That code is in 4.1.3:
if( '_payment_method_title' === $meta_key ){
and yes the fix will be merged in the next releaseOur developers analyzed the error, and there might be a fix that you can test if it works for you.
in the file: /wp-content/plugins/woocommerce-multilingual/inc/class-wcml-emails.php you have to replace:
if( '_payment_method_title' === $meta_key ){){With this code:
if( $object_id && 'shop_order' === get_post_type( $object_id ) && '_payment_method_title' === $meta_key ){Because we cannot share here credentials securely, it would be best if you can open a new ticket in our support forum at wpml.org.
There after a moderator enables a private reply – you can share temporary credentials to a staging environment where the issue has been reproduced – so that we can run some test and see what causes this and to provide a fix.