Not seeing the right currency, after it was ok
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 gabriel.pribeagu on April 1, 2021, 15:30Hello,
Hello, I am from Romania and sell furniture only for Romania so I need RON currency to be displayed. The products are imported from Italy and I want to set their price in Euro. So i set default currency to Euro.
My computer is in Romania.
I
ve made all the right settings and finally after hours of fails operations of showing RON the problem was because I didnt set the maxmind license.Anyway, 2 days ago everything worked ok.
But today the currency showed switched back to EURO. I need RON.
I put another new license from maxmind, but nothing new.
And it is not a another plugin conflict. Already tested that.
Here are the settings:
https://clip2net.com/s/4bwS1zQ
https://clip2net.com/s/4bwS3Jc
https://clip2net.com/s/4bwS53m
https://clip2net.com/s/4bwS6Tl
https://clip2net.com/s/4bwSTbn
In the private area you have acces to admin
also to licence wooks key
thank you
Hello,
Hello, I am from Romania and sell furniture only for Romania so I need RON currency to be displayed. The products are imported from Italy and I want to set their price in Euro. So i set default currency to Euro.
My computer is in Romania.
Ive made all the right settings and finally after hours of fails operations of showing RON the problem was because I didnt set the maxmind license.
Anyway, 2 days ago everything worked ok.
But today the currency showed switched back to EURO. I need RON.
I put another new license from maxmind, but nothing new.
And it is not a another plugin conflict. Already tested that.
Here are the settings:
https://clip2net.com/s/4bwS1zQ
https://clip2net.com/s/4bwS3Jc
https://clip2net.com/s/4bwS53m
https://clip2net.com/s/4bwS6Tl
https://clip2net.com/s/4bwSTbn
In the private area you have acces to admin
also to licence wooks key
thank you
Quote from Pablo Borysenco on April 2, 2021, 10:14Hello
If you don't want the user to be unable to switch currency. In functions.php add code:
add_filter('wp_head',function(){
if (class_exists('WOOCS')) {
global $WOOCS;
$WOOCS->set_currency('RON');
}
});
Hello
If you don't want the user to be unable to switch currency. In functions.php add code:
add_filter('wp_head',function(){
if (class_exists('WOOCS')) {
global $WOOCS;
$WOOCS->set_currency('RON');
}
});
Quote from gabriel.pribeagu on April 27, 2021, 14:44Sorry for the late reply. It worked.
I saw this code for price manipulation
add_filter('woocs_currency_data_manipulation', 'woocs_currency_data_manipulation', 1, 1);
function woocs_currency_data_manipulation($currencies)
{
foreach ($currencies as $key => $value)
{
if ($key == 'RON')
{
$currencies[$key]['rate'] = $value['rate'] + 0.04*$value['rate'];//add 4%
break;
}
}
return $currencies;
}It is possible to insert different formulas for different taxonomies like brands (manufacturers)?
Example.
If a product is produced by Nike (pa_brand) the price will be bigger with 6%
If a product is produced by Adidas(pa_brand) the price will be bigger with 10%
I need a small example with this kind of conditional in the manipuation of currency context.
Thank you
Sorry for the late reply. It worked.
I saw this code for price manipulation
add_filter('woocs_currency_data_manipulation', 'woocs_currency_data_manipulation', 1, 1);
function woocs_currency_data_manipulation($currencies)
{
foreach ($currencies as $key => $value)
{
if ($key == 'RON')
{
$currencies[$key]['rate'] = $value['rate'] + 0.04*$value['rate'];//add 4%
break;
}
}
return $currencies;
}
It is possible to insert different formulas for different taxonomies like brands (manufacturers)?
Example.
If a product is produced by Nike (pa_brand) the price will be bigger with 6%
If a product is produced by Adidas(pa_brand) the price will be bigger with 10%
I need a small example with this kind of conditional in the manipuation of currency context.
Thank you
Quote from Pablo Borysenco on April 28, 2021, 10:31Hello
The plugin does not have this feature
You should find a third party pricing plugin
Hello
The plugin does not have this feature
You should find a third party pricing plugin
Quote from gabriel.pribeagu on May 3, 2021, 09:17Hello :)
Ok, I took your advice and bought a plugin that modified the inputed regular price by a formula and display the new value on the product page.
The only problem that I see now is that "by_price" woof filter doesn`t use the calculated values but the original values.
see pictures
Image b8d8a-clip-163kb.png (clip2net.com)
Image 35b58-clip-509kb.png (clip2net.com)
https://novelnorth.ro/product-category/mobilier/scaune/
Can you help me with a snipped to have the price range displayed correctly?
You have access info in pribate area
Thank you
Hello :)
Ok, I took your advice and bought a plugin that modified the inputed regular price by a formula and display the new value on the product page.
The only problem that I see now is that"by_price" woof filter doesn`t use the calculated values but the original values.
see pictures
Image b8d8a-clip-163kb.png (clip2net.com)
Image 35b58-clip-509kb.png (clip2net.com)
https://novelnorth.ro/product-category/mobilier/scaune/
Can you help me with a snipped to have the price range displayed correctly?
You have access info in pribate area
Thank you
Quote from Pablo Borysenco on May 3, 2021, 10:58Hello
I'm not sure if this will work correctly with any filter by price
You can try to use this option - https://c2n.me/4bUgAGr.png
Hello
I'm not sure if this will work correctly with any filter by price
You can try to use this option - https://c2n.me/4bUgAGr.png
Quote from gabriel.pribeagu on May 3, 2021, 21:46The taxes field (available only for Ion slider) only allow me to insert a simple adjutment procent value. In reality I need complex conditional formulas based on category.
But let me understand something.
The simple fact that your Ion slier can display another a calculated value with taxes applied over inputed regular price, points me to the ideea that this Ion slider you created, can also use, via a small snippet, another calculated value like the one that was calculated for displaying the price of products by the “product price by formula plugin”.
I mean it is a simple swap of source parameters :)
Can you help me ? Please
The taxes field (available only for Ion slider) only allow me to insert a simple adjutment procent value. In reality I need complex conditional formulas based on category.
But let me understand something.
The simple fact that your Ion slier can display another a calculated value with taxes applied over inputed regular price, points me to the ideea that this Ion slider you created, can also use, via a small snippet, another calculated value like the one that was calculated for displaying the price of products by the “product price by formula plugin”.
I mean it is a simple swap of source parameters :)
Can you help me ? Please
Quote from Pablo Borysenco on May 4, 2021, 11:23Hello
In reality I need complex conditional formulas based on category. - unfortunately the plugin does not have such an option, because the price data is taken from the database
You can chenge prices in file - wp-content\plugins\woocommerce-products-filter-free\classes\helper.php - function get_filtered_price
Hello
In reality I need complex conditional formulas based on category. - unfortunately the plugin does not have such an option, because the price data is taken from the database
You can chenge prices in file - wp-content\plugins\woocommerce-products-filter-free\classes\helper.php - function get_filtered_price
Quote from gabriel.pribeagu on May 5, 2021, 14:57"You can chenge prices in file - wp-content\plugins\woocommerce-products-filter-free\classes\helper.php - function get_filtered_price"
But how do I replace? I`m lost.
Here is that function
public static function get_filtered_price($additional_taxes = "") {
global $wpdb, $wp_the_query, $WOOF;$args = $wp_the_query->query_vars;
$tax_query = isset($args['tax_query']) ? $args['tax_query'] : array();if (is_object($wp_the_query->tax_query)) {
$tax_query = $wp_the_query->tax_query->queries; //fix for cat page
}$meta_query = isset($args['meta_query']) ? $args['meta_query'] : array();
I do not know what to change :)) Maybe it is very simple, to put the displayed price of products in your function(the "product price by formula" plugin has to put that values somewere). I`m assuming I have to pass another parameter, not the $additional_taxes?
If it is a small custom work, I can pay for it. I have my email in private area.
please help me or guide me to solve this thing.
Thank you :)
"You can chenge prices in file - wp-content\plugins\woocommerce-products-filter-free\classes\helper.php - function get_filtered_price"
But how do I replace? I`m lost.
Here is that function
public static function get_filtered_price($additional_taxes ="") {
global $wpdb, $wp_the_query, $WOOF;
$args = $wp_the_query->query_vars;
$tax_query = isset($args['tax_query']) ? $args['tax_query'] : array();
if (is_object($wp_the_query->tax_query)) {
$tax_query = $wp_the_query->tax_query->queries; //fix for cat page
}
$meta_query = isset($args['meta_query']) ? $args['meta_query'] : array();
I do not know what to change :)) Maybe it is very simple, to put the displayed price of products in your function(the"product price by formula" plugin has to put that values somewere). I`m assuming I have to pass another parameter, not the $additional_taxes?
If it is a small custom work, I can pay for it. I have my email in private area.
please help me or guide me to solve this thing.
Thank you :)
Quote from Pablo Borysenco on May 6, 2021, 11:16Hello
Unfortunately, we don't have time for custom tasks. In this case, you should find a third-party developer.
Hello
Unfortunately, we don't have time for custom tasks. In this case, you should find a third-party developer.