
Pablo Borysenco(@pavlo_borysenco)
34,196 Posts
Quote from Pablo Borysenco on September 3, 2025, 11:00
Hello
Ok! I will check it
Hello
Ok! I will check it

Pablo Borysenco(@pavlo_borysenco)
34,196 Posts
Quote from Pablo Borysenco on September 5, 2025, 15:08
Hello
I added in file - \woocommerce-currency-switcher\classes\woocs.php - this code - https://share.pluginus.net/image/i20250905160205.png
$value = $coupon->get_meta( 'wc_sc_original_amount', true );
if($value) {
$prices['amount'] = $value;
}
and in file - woocommerce-smart-coupons\includes\class-wc-smart-coupons.php - this code - https://share.pluginus.net/image/i20250905160544.png
if (class_exists('WOOCS')) {
global $WOOCS;
if ($WOOCS->is_multiple_allowed) {
$currrent = $WOOCS->current_currency;
if ($currrent != $WOOCS->default_currency) {
$currencies = $WOOCS->get_currencies();
$rate = $currencies[$currrent]['rate'];
$amount = $amount / $rate;
}
}
}
This fixed the amounts a little but unfortunately did not solve the compatibility issues.
More time is needed for further development, but unfortunately we no longer have the resources for this adaptation. Unfortunately we have to stop adapting this third-party plugin.
Hello
I added in file - \woocommerce-currency-switcher\classes\woocs.php - this code - https://share.pluginus.net/image/i20250905160205.png
$value = $coupon->get_meta( 'wc_sc_original_amount', true );
if($value) {
$prices['amount'] = $value;
}
if (class_exists('WOOCS')) {
global $WOOCS;
if ($WOOCS->is_multiple_allowed) {
$currrent = $WOOCS->current_currency;
if ($currrent != $WOOCS->default_currency) {
$currencies = $WOOCS->get_currencies();
$rate = $currencies[$currrent]['rate'];
$amount = $amount / $rate;
}
}
}
This fixed the amounts a little but unfortunately did not solve the compatibility issues.
More time is needed for further development, but unfortunately we no longer have the resources for this adaptation. Unfortunately we have to stop adapting this third-party plugin.