George Botsev
Forum Replies Created
-
The error should be resolved now in WooCommerce Multilingual 4.1.2
You can try the revised script here: http://pastebin.com/016bzDEK
You will need to replace “false” on language code variable:function trbl_sync_stock( $source_language = false ){with the language code that you want to copy from.
As usual, please test this on a staging or backup site first.
Yes, it would synchronize the lower amount.
The logic behind this is that the lowest is the correct because the possible orders have decreased the amount.
It is not proper to have the amount defined only in one language.
Perhaps at this time, it would be a better idea if I ask you to open a new ticket in our forum at wpml.org so that we can investigate the issue more in-depth, because I feel that we are not very productive here by only guessing.Thank you!
I will get back to you once I have some news about this.We all know how serious is when you deal with e-commerce websites.
Our developers are working as fast as possible to fix any problems that appear, but sometimes we need more time and help to do so.
I would suggest you to always have a staging environment where you can test new versions and fixes – especially because you have an e-commerce site. This would also help us in the long run – if you test future beta versions and provide us with feedback – it would make the plugin even better and without such unexpected troubles.Having said that, one of our developers just prepared a little script that should synchronize the product stock quantity and product stock status.
Here is the script in question: http://pastebin.com/tS1Rw1ZD
We are going to integrate this script in our troubleshooting options from the next release.
For now, I can only suggest you to give it a try – prefferably on a staging environment.
This script synchronizes the minimal stock amount between products.
e.g. if your original product is in English and have 10 instock, and your translation in German has 8 – this script will make both products to have 8 products in stock.I hope that this helps you.
I will talk with our developers to put out some code that might help in your situation.
When I have more info – I will get back to you here.Forum: Plugins
In reply to: [WPML Multilingual & Multicurrency for WooCommerce] error version 4.1.1I am happy to hear that.
Best!Thank you for the explanation.
I added it to our compatibility team.
Could you also ask for assistance from the authors of Dokan?
It seems that they are not responding to e-mails from our compatibility team.i checked further the issue.
It seems that this is not yet implemented properly and should be implemented in a future WPML version.
At this time I cannot tell when this will be implemented.
You can still translate without this interface manually by going to the taxonomy in the other language, provided that you selected that the meta field is set to translate in WPML > Translation management > Multilingual content setup > Taxonomy TranslationIf there is a discrepancy between the stocks of the original and the translation – this seems to be the easiest way.
Another way would be to modify the database by hand, but I don’t recommend this.Hello,
You can style the currency switcher to any style that you want by visiting the multicurrency settings page in WooCommerce > WooCommerce Multilingual > Multicurrency
There you can edit the currency switcher and change its style. By default it is set to dropdown on hover.
Furthermore you can read our document here about creating a custom template for your currency switcher: https://wpml.org/documentation/related-projects/woocommerce-multilingual/designing-custom-currency-switchers-using-template-files/I hope that this helps you.
Forum: Plugins
In reply to: [WPML Multilingual & Multicurrency for WooCommerce] error version 4.1.1Hello,
You might be having the same issue as described in this ticket:https://wordpress.org/support/topic/fatal-error-with-4-1-1-update/#post-8908860
Please try the fix from the ticket that I sent you above – change the database value of _wcml_version key in wp_option table to 4.0.0.
You might have to temporary switch WooCommerce Multilingual plugin off and then back on after you make the change.
This should help until we release a permanent fix version.Please let me know how it goes for you.
This is strange and should not happen by updating WPML. Perhaps the stock quantity synchronization was not working before. Could you test what happens when you update the original product? The stock quantity and status should be synced.
Thank you for getting back to us.
Yes, the issue is caused by missing class, because your version of WPML is old.
If you update to WPML 3.6.3 (latest version) the issue should be gone.Hello and thank you for contacting us.
Could you tell us more about your setup please?
What version of WPML plugin, WooCommerce plugin and WordPress are you using?
We need to be able to check how this can happen in order to understand it better.
As a workaround – updating to the latest WPML should solve the problem.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/)