Good to hear nmedia ??
Somehow when “is multiple allowed”, the base product price is multiplied by the currency rate twice in the summary box on the product page.
I found a temporary fix for this:
I commented out line 177 in this file:
/wp-content/plugins/woocommerce-product-addon/inc/functions.php
So it looks like this:
// Get product price after some filters like currency switcher
function ppom_get_product_price( $product ) {
$product_price = $product->get_price();
if( has_filter('woocs_exchange_value') ) {
global $WOOCS;
if($WOOCS->current_currency != $WOOCS->default_currency) {
//$product_price = apply_filters('woocs_exchange_value', $product_price);
}
}
return apply_filters('ppom_product_price', $product_price, $product);
}
But if I then turn off multiple is allowed, then the base product price is not multiplied at all.. So I guess there is a problem somewhere else in the code, not sure which file.
Images:
How it looks with “IS MULTIPLE ALLOWED” NO
When “IS MULTIPLE ALLOWED” is Yes
When my quick fix is applied
And here’s what happens when I set “IS MULTIPLE ALLOWED” back to No