[Resolved] WPML Multicurrency is not working with YITH Auction plugin
This thread is resolved. Here is a description of the problem and solution.
Problem: The client is experiencing issues with WPML Multicurrency not working with the YITH Auction plugin, even after upgrading to the PRO versions of both plugins. Solution: We recommend adding the following code to the functions.php file of your theme:
function wpml_compsupp7424_filter_yith_auction_minimum_increment_amount ($null, $object_id, $meta_key, $single) {
// Target the specific meta key
if ($meta_key !== '_yith_auction_minimum_increment_amount') {
return $null;
}
$current_filter = 'wpml_compsupp7424_filter_yith_auction_minimum_increment_amount';
// Prevent recursion by temporarily removing the filter
remove_filter('get_post_metadata', $current_filter, 10);
// Fetch the original meta value
$value = get_post_meta($object_id, $meta_key, $single);
// Re-add the filter
add_filter('get_post_metadata', $current_filter, 10, 4);
$value = apply_filters('wcml_raw_price_amount', $value);
return $value;
}
If this solution does not resolve your issue or seems irrelevant due to updates or differences in your setup, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If further assistance is needed, please open a new support ticket at WPML support forum.
This is the technical support forum for WPML - the multilingual WordPress plugin.
Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.
Background of the issue:
I want to use multicurrency with YITH Auction plugin on my website hidden link. I am using PRO versions of both WPML and YITH Auction. The free version was only changing the currency sign, so I purchased CMS as suggested by your team, but CMS is not even doing that.
I am very particular about Multicurrency.
Symptoms:
WPML Multicurrency is not working with YITH Auction plugin.
Questions:
Why is WPML Multicurrency not working with YITH Auction plugin on my website?
What steps can I take to make WPML Multicurrency work with YITH Auction plugin?
Can you please check again, it is not working, I have tested creating new products also.
hidden link
and also when I am changing the currency, when I am trying to edit things in the "edit product" like changing the minimum increment price, and it starts showing to the chosen currency for the front end.
I hope you already have access of backend of the website.
YOu can try to put cod by yourself also thru WordPress dashboard -> WP file manager
I see the minimum bid increment set to 20 but even in default currency, it's being incremented by 10, can you confirm once if the bid increment is working for you on default currency? hidden link
Also, can you test on this testsite once? hidden link
If it works on test site, which I confirmed before providing you the code, then we might need to disable plugins/themes one by one on your site to see if they are happening due to conflicts.
It is increasing by 10 even with default currency, and with other currency also.
And there is one big problem is, when I am changing the currency from the frontend of the website, then the "Minimum increment amount (kr)" is getting changed in backend, that seems very strange.
There is not much traffic on the website, you can try disabling the plugins.
Since you confirmed it's moved by 10 even in default language, can you disable WPML and see if you can find the same issue, if yes, please contact the plugin author to ask why increment is not working as selected.
It is basically sorted, only INR is not working correctly, will try that too meanwhile I need one thing from you, like the currency conversion option shown in after Add to Wishlist, can we show that next to price?