topsolutions
Forum Replies Created
-
I opened a ticket in WPML as you suggested :
https://wpml.org/forums/topic/woocommerce-composite-products-with-multi-currency/If you can followup from there, I already have a strip down version of our store that replicate the issue, and have provided wordpress access, so that you can test it, and duplicate if you want.
Thanks.
Have you take into consideration that the base wordpress language don’t use the base store currency?
It’s important that :
– the base wordpress is English
– the base store currency is EUR
– The English only currency is USD
– The secondary language is Portuguese
– The Portuguese only currency is EUROhh and you get the “This item cannot be purchased at the moment.” message only in English USD, in Portuguese EUR it’s everything ok.
- This reply was modified 8 years, 7 months ago by topsolutions.
Hi George,
Any feedback?
Regards
Hi George,
Yes, I’m using all plugins in last versions, and I have ruled out the influence of other plugins or themes.
The scenario, if you want to replicate :
– WC store with base language English and base currency EUR
– English language has USD currency
– Portuguese language has EUR currency
– Create 2 variable products with some attributes and a few variations with prices both in EUR and USD
– Create a Composite product that use as components those 2 variable products.The issue:
– In the base currency, EUR, the composite product works ok
– In the second currency, USD, on the composite product the options are greyed out and it says: “This item cannot be purchased at the moment.”
This type of message is usually related to the fact that the product price is not defined or recognised.I think the Woocommerce composite products plugin doesn’t work with multi currencies, or your plugin is not presenting the secondary currency prices to the plugin …
I’m saying this for what I see in my tests and also because in another project a customer used a different currency switch, the “Aelia Currency Switcher” and for composite products he add to use the following addon provided by Aelia: https://aelia.co/shop/woocommerce-composite-products-integration-currency-switcher/As you can see in the above plugin description : The WooCommerce Composite Products Integration for Currency Switcher is a lightweight plugin that we developed, as a temporary solution, to add some multi-currency capabilities to the Composite Products plugin. Its purpose is to add support for multi-currency environments to the official plugin, and to give the 3rd party authors the time to make their products multi-currency aware natively.
So, basically it seems to me that you need to do the same for your multi-currency to work with composite products, or if you have better connections with the Woocommerce plugins team, you may ask them to support multi-currencies with WPML/WCML.
Does this make sense?
Forum: Plugins
In reply to: [EU VAT Assistant for WooCommerce] PHP 7 CompatibilityWell … Besides the messages I see, there’s also the fact that when running it in PHP 7, the plugin doesn’t seem to work. The price area in the checkout stay grey.
Have you tried it in PHP 7 ?
Ok, private reply sent with as many details as possible, but if you have any additional questions or need any additional information, please let me know.
Thanks.
Sure. Were can I send you the files?
Yes, you are right, this is the scenario :
– WordPress default language : English
– WC base/default currency : EUR
– English currency : USD
– I’m importing to English/USDYou are also right that in the WC import plugin it’s always shown the base/default currency.
Ok, your questions made me dig a bit more, and after 2 changes I fixed it and prices are now being displayed correctly after import.
First :
The All import woocommerce addon says “Regular Price (€)”, do you see the “€” (EUR) sign?
So, I was adding my EUR price there, but it seems that because I’m importing to my wordpress base language (English), and the currency in English is not EUR it’s USD, I have to put there the price in USD. So, forget the misleading € sign.Second :
Besides the custom fields I referenced in my previous post, I also needed to set the custom field _price_USD.These 2 changes fixed it. 🙂
The first one, it’s a bit tricky, maybe you can add a reference in the WPML All import docs to avoid other people losing so much time, or better yet, make a change so that the correct currency symbol is shown there.
Thanks for your questions that lead me to the solution 🙂
Regards, Adriano
Hello George,
Thanks for your reply.
I opened here, because I noticed that around here the tickets are answered and solved much faster 🙂
But here it is the ticket in the wpml.org forum : https://wpml.org/forums/topic/wrong-prices-when-importing-to-woocommerce-with-wpml-and-wpml-all-import/Regarding your questions :
No, the prices are being set correctly in the import for both currencies. I know this, because as I said, when I edit the product the prices in the variations for both currencies are set correctly… and if I save the product without making any changes, the prices start showing correctly …I didn’t thought that the prices were being recalculated based on exchange rate, because I’m not using that option, I’m using the following option in the variations : “Set prices in other currencies manually”.
But, after your suggestion, I tried to change the exchange rate and after importing I do see a different price in the frontend. I edit the product, save and it’s all good in the frontend … So, there’s definitely something not being correctly set or missing when importing.
Besides, importing all the necessary woocommerce fields using the All Import woocommerce addon, I’m also setting up the following custom fields to work with WPML:
_regular_price_USD (price in USD)
_wcml_custom_prices_status (= 1)
_sale_price_USD (price in USD)
_variation_description
_regular_price (price in EUR – store base currency)
_sale_price (price in EUR – store base currency)
_price (price in EUR – store base currency)If you prefer we could continue in the wpml forum, and I cloud give you access to our dev site.
Thanks,
AdrianoFicou perfeito!
Muito obrigado pela rapidez a endereçar esta questão.
Cumprimentos,
Adrianook, thanks.
Looking forward for the new release.
Regards,
AdrianoForum: Plugins
In reply to: [Brazilian Market on WooCommerce] Ativar apenas para o BrasilBoa tarde Claudio,
Obrigado pela rápida resposta.
Sim eu vi essa opção, em que os extra checkout fields deixam de ser obrigatórios mas continuam aparecendo e para clientes fora do Brasil gera todo o tipo de confusão.
Teria como por exemplo desativar seu plugin para as linguas que não interessa?