-
AuthorPosts
-
September 15, 2021 at 3:31 pm #1321074
Hi,
we have a site running with WPML, WooCommerce and WooCommerce Multilingual Plugins, running on two different domains (using WPML domain mapping). We have different product prices for each domain but they are not showing up on our custom built product pages – only on the native WooCommerce product pages.
This used to be working for years up until one of the latest updates. Could you please check if this is a compatibility issue with Enfold?
Best,
DavidSeptember 21, 2021 at 2:11 pm #1321764Hey maucherOnline,
Sorry for the delay. We checked the “elektrosmog-messgeraet-esi2” product page on both languages and the appropriate price with the corresponding currency seems to be displaying correctly, “CHF224.00 inkl. MwSt.” on the CH domain and “€224,00 inkl. MwSt.” on DE. Is the issue fixed?
Best regards,
IsmaelSeptember 22, 2021 at 8:19 am #1321857Hi Ismael,
thanks for digging into this.
The thing is, that different prices should appear for each language version. The currency is not a problem at all.Best,
DavidSeptember 24, 2021 at 6:11 am #1322108Hi,
Thank you for the info.
According to the following thread, the product price is not translatable. But you can set a different price per currency. Is that how the products are set up?
// https://wpml.org/forums/topic/how-to-translate-product-price-using-woocommerce-multilingual/#post-982377
For multi-currency support, please check this thread.
// https://wpml.org/documentation/related-projects/woocommerce-multilingual/multi-currency-support-woocommerce/
Best regards,
IsmaelSeptember 24, 2021 at 3:42 pm #1322216Hi,
actually, W P M L referred me to you after they checked our backend. They stated this must be a compatibility issue between Enfold and W P M L.
This is how we are setting up different prices for different language versions and currencies, using W P M L’s “WooCommerce Multilingual” extension and the Enfold pagebuilder:
The product pages are set up using the Enfold pagebuilder. We do have this problem ONLY in combination with the Enfold pagebuilder when using these widgets: https://www.screencast.com/t/PcIAqlA6OC7
Native WooCommerce product pages are showing the correct pricing for each language version.
Please double-check this issue again. We are willing to provide you with an WP Admin login. This must be a compatibility issue with Enfold. It has been working correctly for years now.
Best,
David- This reply was modified 3 years, 2 months ago by maucherOnline.
September 27, 2021 at 4:48 am #1322402Hi,
Thank you for the update.
Yes, please post the WordPress and FTP login details in the private field so that we can check the issue properly. We may need to adjust the product shortcodes so that it can properly retrieve prices with different currencies generated by the plugin.
Best regards,
IsmaelSeptember 27, 2021 at 8:47 am #1322430Hi Ismael,
thank you. I’ve pasted them into the private content section.
Best,
DavidSeptember 28, 2021 at 12:32 pm #1322626Hi,
Thank you for the info.
Looks like the plugin is using the wc_price function or filter to adjust the price based on the active currency, but for some reason, when using the Purchase Button element, it is only returning the custom price (euro), but not the default regular price (chf). The shortcode is also using the get_price_html function to retrieve the current price, which is a wrapper for the wc_price function.
We have tagged one of our developers to check the issue. Please wait for his response.
Best regards,
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.