One Click Upsell Funnel for WooCommerce By WP Swings
- in file wp-content\plugins\woocommerce-currency-switcher\classes\woocs.php add next code:
if (function_exists('mwb_upsell_change_product_price')) { $product = mwb_upsell_change_product_price($product); }
- In file wp-content\plugins\woocommerce-one-click-upsell-funnel-pro\includes\class-woocommerce_one_click_upsell_funnel_pro-global_functions.php add next code:
if (class_exists('WOOCS')) { global $WOOCS; $currency = $WOOCS->current_currency; if ($currency != $WOOCS->default_currency) { $currencies = $WOOCS->get_currencies(); $payable_price = $WOOCS->back_convert($payable_price, $currencies[$currency]['rate']); $sale_price = $WOOCS->back_convert($sale_price, $currencies[$currency]['rate']); $regular_price = $WOOCS->back_convert($regular_price, $currencies[$currency]['rate']); } }
This edit is inside another plugin's file, so a plugin update will undo it. Write the change down, and re-apply it after every update of that plugin — or ask its authors to include the fix on their side, which is the only version that survives. If the change is inside FOX itself, tell us: a fix that has to be re-applied by hand is a bug on our side, not a solution.