Currency + Interest
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 leanazar on August 14, 2019, 20:37Hi Pablo how are you, i like to ask something.
I see when add a currency, have the option to add Interest.
Is there any way that instead of adding a percentage, add an amount.
For example if a product costs U$ 10, and if my secondary currency is $ 3, the product would look at $ 30.
If at this time I add interest 10, the product would look at $ 33.
My idea is that if I put in interest 10, the product looks at $ 40 (U$ 10 * $ 3 + $ 10) that is something like an extra charge or fee for each product but is the same for every product.
Thanks
Thank you
Hi Pablo how are you, i like to ask something.
I see when add a currency, have the option to add Interest.
Is there any way that instead of adding a percentage, add an amount.
For example if a product costs U$ 10, and if my secondary currency is $ 3, the product would look at $ 30.
If at this time I add interest 10, the product would look at $ 33.
My idea is that if I put in interest 10, the product looks at $ 40 (U$ 10 * $ 3 + $ 10) that is something like an extra charge or fee for each product but is the same for every product.
Thanks
Thank you
Quote from Pablo Borysenco on August 15, 2019, 12:05Hello
the plugin doesn’t have such a feature. You need code customization.
You can use this hooks - https://currency-switcher.com/hook/woocs_raw_woocommerce_price/ AND https://currency-switcher.com/hook/woocs_woocommerce_variation_prices/
Hello
the plugin doesn’t have such a feature. You need code customization.
You can use this hooks - https://currency-switcher.com/hook/woocs_raw_woocommerce_price/ AND https://currency-switcher.com/hook/woocs_woocommerce_variation_prices/
Quote from leanazar on August 15, 2019, 15:17Hi Pablo i already try, and after a few moments i see when the plugin have the number 60 dosent work, i leave a video on the private area.
Thanks in advance
Im testing and its every time you put any multiplier of 30 on the currency i try with 30/60/90/120
Hi Pablo i already try, and after a few moments i see when the plugin have the number 60 dosent work, i leave a video on the private area.
Thanks in advance
Im testing and its every time you put any multiplier of 30 on the currency i try with 30/60/90/120
Quote from Pablo Borysenco on August 16, 2019, 12:27Hello
Please add the number here - https://c2n.me/437wcwH.jpg
Hello
Please add the number here - https://c2n.me/437wcwH.jpg
Quote from leanazar on August 16, 2019, 14:49Hi Pablo thanks, for all, if i put the number where you tellme dont do nothing.
Finally i put this and work.
add_filter('woocs_raw_woocommerce_price', function($price) {
return((ceil($price)%5 === 0) ? ceil($price) : round(($price+5/2)/5)*5)+70;
});add_filter('woocs_woocommerce_variation_prices', function($price) {
return((ceil($price)%5 === 0) ? ceil($price) : round(($price+5/2)/5)*5)+70;
});
Thanks for all
Hi Pablo thanks, for all, if i put the number where you tellme dont do nothing.
Finally i put this and work.
add_filter('woocs_raw_woocommerce_price', function($price) {
return((ceil($price)%5 === 0) ? ceil($price) : round(($price+5/2)/5)*5)+70;
});
add_filter('woocs_woocommerce_variation_prices', function($price) {
return((ceil($price)%5 === 0) ? ceil($price) : round(($price+5/2)/5)*5)+70;
});
Thanks for all
Quote from leanazar on August 19, 2019, 04:42Hi Pablo, the last question,
Is there any way to make some user roles see one formula and others another?
For Example Admin
add_filter('woocs_raw_woocommerce_price', function($price) {
return((ceil($price)%5 === 0) ? ceil($price) : round(($price+5/2)/5)*5)+70;
});Customers
add_filter('woocs_raw_woocommerce_price', function($price) {
return((ceil($price)%10 === 0) ? ceil($price) : round(($price+10/2)/10)*10)+100;
});Thanks
Hi Pablo, the last question,
Is there any way to make some user roles see one formula and others another?
For Example Admin
add_filter('woocs_raw_woocommerce_price', function($price) {
return((ceil($price)%5 === 0) ? ceil($price) : round(($price+5/2)/5)*5)+70;
});
Customers
add_filter('woocs_raw_woocommerce_price', function($price) {
return((ceil($price)%10 === 0) ? ceil($price) : round(($price+10/2)/10)*10)+100;
});
Thanks
Quote from Pablo Borysenco on August 19, 2019, 12:04Hello
Yes! Read this - https://wordpress.stackexchange.com/questions/5047/how-to-check-if-a-user-is-in-a-specific-role
Hello
Yes! Read this - https://wordpress.stackexchange.com/questions/5047/how-to-check-if-a-user-is-in-a-specific-role