Extra Fees for WooCommerce
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday. If you have problems with registration ask help on contact us page pleaseIf you not got email within 24~36 business hours, firstly check your spam box, and if no any email from the support there - back to the forum and read answer here. DO NOT ANSWER ON EMAILS [noreply@pluginus.net] FROM THE FORUM!! Emails are just for your info, all answers should be published only here.
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday.
Quote from nimbus on May 27, 2021, 17:42https://woocommerce.com/products/extra-fees-for-woocommerce/
I was thinking of adding a predetermined fee for each payment method in this plugin.
However, when I use it to add a commission, the amount is displayed as it is without being able to change the currency. For example, $20 is 20YEN.Is it possible to convert the currency for the custom amount added?
https://woocommerce.com/products/extra-fees-for-woocommerce/
I was thinking of adding a predetermined fee for each payment method in this plugin.
However, when I use it to add a commission, the amount is displayed as it is without being able to change the currency. For example, $20 is 20YEN.
Is it possible to convert the currency for the custom amount added?
Quote from Pablo Borysenco on May 28, 2021, 11:16Hello
Read this please -https://currency-switcher.com/woocs-labs/
Hello
Read this please -https://currency-switcher.com/woocs-labs/
Quote from nimbus on May 28, 2021, 19:59[WOOCS LABS]
Hi,
I could not find the code for my plugin.
https://currency-switcher.com/codex/#compatibility
I'm going to send more detail information.
[WOOCS LABS]
Hi,
I could not find the code for my plugin.
https://currency-switcher.com/codex/#compatibility
I'm going to send more detail information.
Quote from Pablo Borysenco on May 31, 2021, 10:12Hello
Ok! Please add FTP access
I'll add this to the adaptation queue
Hello
Ok! Please add FTP access
I'll add this to the adaptation queue
Quote from nimbus on May 31, 2021, 20:17Sure, I send them via private mode in next 5 mins.
Sure, I send them via private mode in next 5 mins.
Quote from Pablo Borysenco on June 1, 2021, 11:50Hello
I added the plugin to the adaptation queue
Hello
I added the plugin to the adaptation queue
Quote from nimbus on June 1, 2021, 15:16The currency exchange does not seem to apply yet.
The $20 is still displayed as 20YEN.
Today's rate is $1=109.80YEN and the rate is not reflected.
The currency exchange does not seem to apply yet.
The $20 is still displayed as 20YEN.
Today's rate is $1=109.80YEN and the rate is not reflected.
Quote from Pablo Borysenco on June 2, 2021, 10:36Hello
Please read my messages - https://share.pluginus.net/image/i20210602113311.png - We will start working with your site when your turn comes.
Hello
Please read my messages - https://share.pluginus.net/image/i20210602113311.png - We will start working with your site when your turn comes.
Quote from nimbus on June 2, 2021, 17:41Okay, could you please keep updating here?
Okay, could you please keep updating here?
Quote from Pablo Borysenco on June 3, 2021, 10:28Hello
I will write to you as soon as we get the result
Hello
I will write to you as soon as we get the result
Quote from nimbus on June 7, 2021, 17:21Hi,
Any update for the case?
Hi,
Any update for the case?
Quote from Pablo Borysenco on June 8, 2021, 10:27Hello
As I wrote earlier, your request is in the adaptation queue. And I'll write you as soon as your turn comes
Hello
As I wrote earlier, your request is in the adaptation queue. And I'll write you as soon as your turn comes
Quote from Pablo Borysenco on June 11, 2021, 18:04Hello
I added in functions.php :
add_filter( 'efw_gateway_fee_after_calculate' , function($fee_value){
if (class_exists('WOOCS') AND $fee_value) {
global $WOOCS;
$fee_value = $WOOCS->woocs_exchange_value(floatval($fee_value));
}return $fee_value;
} ) ;
add_filter( 'efw_order_fee_after_calculate', function($fee_value){
if (class_exists('WOOCS') AND $fee_value) {
global $WOOCS;
$fee_value = $WOOCS->woocs_exchange_value(floatval($fee_value));
}return $fee_value;
} ) ;
Pleasse do a test
Hello
I added in functions.php :
add_filter( 'efw_gateway_fee_after_calculate' , function($fee_value){
if (class_exists('WOOCS') AND $fee_value) {
global $WOOCS;
$fee_value = $WOOCS->woocs_exchange_value(floatval($fee_value));
}
return $fee_value;
} ) ;
add_filter( 'efw_order_fee_after_calculate', function($fee_value){
if (class_exists('WOOCS') AND $fee_value) {
global $WOOCS;
$fee_value = $WOOCS->woocs_exchange_value(floatval($fee_value));
}
return $fee_value;
} ) ;
Pleasse do a test
Quote from nimbus on June 22, 2021, 22:45Sorry for the delay in confirmation.
Also, this issue was successfully resolved!
Thank you very much for taking care of it as soon as possible. I have a new question, so I will send another ticket.
Sorry for the delay in confirmation.
Also, this issue was successfully resolved!
Thank you very much for taking care of it as soon as possible. I have a new question, so I will send another ticket.
Quote from nimbus on June 22, 2021, 23:05Since it is a related subject, I will continue here instead of a new ticket.
https://currency-switcher.com/round-prices-500/ - How to round prices to 500
I inserted this code into my child theme's function.php to round up fractions when converting from dollars to Japanese yen.
This worked fine for the product prices, but the "Extra Fee" part that you extended does not round up the fraction.
Can you please help me a little more with this?
Since it is a related subject, I will continue here instead of a new ticket.
https://currency-switcher.com/round-prices-500/ - How to round prices to 500
I inserted this code into my child theme's function.php to round up fractions when converting from dollars to Japanese yen.
This worked fine for the product prices, but the"Extra Fee" part that you extended does not round up the fraction.
Can you please help me a little more with this?
Quote from Pablo Borysenco on June 23, 2021, 09:33Hello
Add this code here - https://share.pluginus.net/image/i20210623103006.png
if (($fee_value <= 1000)) {
$fee_value = round($fee_value / 1000, 0) * 1000;
}
else {
$fee_value = ceil($fee_value / 500) * 500 ;
}
Hello
Add this code here - https://share.pluginus.net/image/i20210623103006.png
if (($fee_value <= 1000)) {
$fee_value = round($fee_value / 1000, 0) * 1000;
}
else {
$fee_value = ceil($fee_value / 500) * 500 ;
}
Quote from nimbus on June 23, 2021, 16:39Your code did exactly what I expected it to do. Thank you for taking care of it so quickly.
Your code did exactly what I expected it to do. Thank you for taking care of it so quickly.
Quote from nimbus on June 30, 2021, 19:44Hello again,
I now need a little more help from you regarding rounding up numbers.
$120 item would be rounded up to $150.
I don't want to round up the numbers when in dollars.
Only when converting to Japanese yen, I want to do the current rounding up.When there are variations in the product price, the code added to function.php in the admin panel causes an error. In addition, the display of the amount of money for the variation (e.g. $150-$300), etc. does not round up the number when switching to the Japanese yen display.
Current function.php is here;
add_filter( 'efw_gateway_fee_after_calculate' , function($fee_value){
if (class_exists('WOOCS') AND $fee_value) {
global $WOOCS;
$fee_value = $WOOCS->woocs_exchange_value(floatval($fee_value));
if (($fee_value <= 100)) {
$fee_value = round($fee_value / 100, 0) * 100;
}
else {
$fee_value = ceil($fee_value / 50) * 50 ;
}
}return $fee_value;
} ) ;
add_filter( 'efw_order_fee_after_calculate', function($fee_value){
if (class_exists('WOOCS') AND $fee_value) {
global $WOOCS;
$fee_value = $WOOCS->woocs_exchange_value(floatval($fee_value));
if (($fee_value <= 100)) {
$fee_value = round($fee_value / 100, 0) * 100;
}
else {
$fee_value = ceil($fee_value / 50) * 50 ;
}
}return $fee_value;
} ) ;
add_filter('woocs_raw_woocommerce_price', function($price) {
if (($price <= 100))
{
$price = round($price / 100, 0) * 100;
return $price;
} else
{
$price = ceil($price / 50) * 50;
return $price;
}
});
Hello again,
I now need a little more help from you regarding rounding up numbers.
$120 item would be rounded up to $150.
I don't want to round up the numbers when in dollars.
Only when converting to Japanese yen, I want to do the current rounding up.
When there are variations in the product price, the code added to function.php in the admin panel causes an error. In addition, the display of the amount of money for the variation (e.g. $150-$300), etc. does not round up the number when switching to the Japanese yen display.
Current function.php is here;
add_filter( 'efw_gateway_fee_after_calculate' , function($fee_value){
if (class_exists('WOOCS') AND $fee_value) {
global $WOOCS;
$fee_value = $WOOCS->woocs_exchange_value(floatval($fee_value));
if (($fee_value <= 100)) {
$fee_value = round($fee_value / 100, 0) * 100;
}
else {
$fee_value = ceil($fee_value / 50) * 50 ;
}
}
return $fee_value;
} ) ;
add_filter( 'efw_order_fee_after_calculate', function($fee_value){
if (class_exists('WOOCS') AND $fee_value) {
global $WOOCS;
$fee_value = $WOOCS->woocs_exchange_value(floatval($fee_value));
if (($fee_value <= 100)) {
$fee_value = round($fee_value / 100, 0) * 100;
}
else {
$fee_value = ceil($fee_value / 50) * 50 ;
}
}
return $fee_value;
} ) ;
add_filter('woocs_raw_woocommerce_price', function($price) {
if (($price <= 100))
{
$price = round($price / 100, 0) * 100;
return $price;
} else
{
$price = ceil($price / 50) * 50;
return $price;
}
});
Quote from Pablo Borysenco on July 1, 2021, 11:05Hello
Please read this - https://currency-switcher.com/hook/woocs_woocommerce_variation_prices/
To get current currency - https://currency-switcher.com/function/woocs-current_currency/
So you can use something like this:
if( $WOOCS->current_currency!='JPY'){
// round price
}
Hello
Please read this - https://currency-switcher.com/hook/woocs_woocommerce_variation_prices/
To get current currency - https://currency-switcher.com/function/woocs-current_currency/
So you can use something like this:
if( $WOOCS->current_currency!='JPY'){
// round price
}