Leranpress LMS and events manager prices not changing on entire site
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 vihang13 on February 23, 2022, 08:22Hello WOOCS team,.
I am developing a Leranpress LMS website with "Eduma theme" for one of my client. He wants to sell his courses atleast in 2 countries i.e. base will be Australia and second country will be Canada. I have used WOOCS currency switcher on many of my clients site flawlessly but for first time ai am facing issue as it might be due to Learnpress LMS.
The problem is the prices on website frontend is not taing effect when I switch currency from AUD to CAD$. Throughout website it remains the same price except the checkout page when it take effect.
But even on checkout page the WP events manager tickets prices are not being changed eventhough I have used WOO as payment method in that WP events manager.
I have used one code also as someone had same issue, but that also is not working.
code is..
$price= (course)? $course->get_price() : 0;
if ($price) {
if (class_exists('WOOCS')) {
global $WOOCS;
if ($WOOCS->is_multiple_allowed) {
$price = $WOOCS->woocs_exchange_value(floatval($price));
}
}
}
return $price;
Website is
https://petelaurenconsulting.com
If you need admin control I can give the same.
Please help.
Thanks.
Hello WOOCS team,.
I am developing a Leranpress LMS website with"Eduma theme" for one of my client. He wants to sell his courses atleast in 2 countries i.e. base will be Australia and second country will be Canada. I have used WOOCS currency switcher on many of my clients site flawlessly but for first time ai am facing issue as it might be due to Learnpress LMS.
The problem is the prices on website frontend is not taing effect when I switch currency from AUD to CAD$. Throughout website it remains the same price except the checkout page when it take effect.
But even on checkout page the WP events manager tickets prices are not being changed eventhough I have used WOO as payment method in that WP events manager.
I have used one code also as someone had same issue, but that also is not working.
code is..
$price= (course)? $course->get_price() : 0;
if ($price) {
if (class_exists('WOOCS')) {
global $WOOCS;
if ($WOOCS->is_multiple_allowed) {
$price = $WOOCS->woocs_exchange_value(floatval($price));
}
}
}
return $price;
Website is
https://petelaurenconsulting.com
If you need admin control I can give the same.
Please help.
Thanks.
Quote from Pablo Borysenco on February 23, 2022, 12:10Hello
Please read this - https://currency-switcher.com/woocs-labs
Hello
Please read this - https://currency-switcher.com/woocs-labs
Quote from vihang13 on February 23, 2022, 12:17Yes, I read that, and I used your adaptation code given to so.e other user. But it isn't working on my website.
So I had to raise a ticket. If you can please help me.
The above code mentioned itself is adaptation code giv3n by your team.
Yes, I read that, and I used your adaptation code given to so.e other user. But it isn't working on my website.
So I had to raise a ticket. If you can please help me.
The above code mentioned itself is adaptation code giv3n by your team.
Quote from Pablo Borysenco on February 23, 2022, 13:22Hello
Ok! as described in this article you can create a new adaptation request
Please add wp-admin+FTP access to your test site - https://share.pluginus.net/image/i20210618130558.png ->https://share.pluginus.net/image/i20210618130637.png
And I will add the plugin to the queue
Hello
Ok! as described in this article you can create a new adaptation request
Please add wp-admin+FTP access to your test site - https://share.pluginus.net/image/i20210618130558.png ->https://share.pluginus.net/image/i20210618130637.png
And I will add the plugin to the queue
Quote from vihang13 on February 23, 2022, 14:26Thanks a lot.
I am sending the FTP and wp admin details.
Thanks a lot.
I am sending the FTP and wp admin details.
Quote from Pablo Borysenco on February 24, 2022, 12:18Hello
I added the plugin to the adaptation queue
I will write to you as soon as we get the result
Hello
I added the plugin to the adaptation queue
I will write to you as soon as we get the result
Quote from vihang13 on February 24, 2022, 15:02Thanks a lot Pablo.
I will be waiting.
Thanks a lot Pablo.
I will be waiting.
Quote from Pablo Borysenco on February 25, 2022, 20:15Hello
our plugin is designed for woocommerce products. The code you pasted earlier should work if the courses will use the products template
in file - wp-content\plugins\learnpress\inc\course\abstract-course.php - You can add this code - https://c2n.me/4f38HMw.png
if ($sale_price_value) {
if (class_exists('WOOCS')) {
global $WOOCS;
if ($WOOCS->is_multiple_allowed) {
$sale_price_value = $WOOCS->woocs_exchange_value(floatval($sale_price_value));
}
}
}and - https://share.pluginus.net/image/i20220225181238.png
if ($price) {
if (class_exists('WOOCS')) {
global $WOOCS;
if ($WOOCS->is_multiple_allowed) {
$price = $WOOCS->woocs_exchange_value(floatval($price));
}
}
}and - https://share.pluginus.net/image/i20220225181349.png
return wc_price($this->get_price());
But I don't guarantee that it will work well.
Hello
our plugin is designed for woocommerce products. The code you pasted earlier should work if the courses will use the products template
in file - wp-content\plugins\learnpress\inc\course\abstract-course.php - You can add this code - https://c2n.me/4f38HMw.png
if ($sale_price_value) {
if (class_exists('WOOCS')) {
global $WOOCS;
if ($WOOCS->is_multiple_allowed) {
$sale_price_value = $WOOCS->woocs_exchange_value(floatval($sale_price_value));
}
}
}
and - https://share.pluginus.net/image/i20220225181238.png
if ($price) {
if (class_exists('WOOCS')) {
global $WOOCS;
if ($WOOCS->is_multiple_allowed) {
$price = $WOOCS->woocs_exchange_value(floatval($price));
}
}
}
and - https://share.pluginus.net/image/i20220225181349.png
return wc_price($this->get_price());
But I don't guarantee that it will work well.
Quote from vihang13 on February 26, 2022, 04:40Ok, thanks a lot.
I will add this codes and update you.
Ok, thanks a lot.
I will add this codes and update you.
Quote from vihang13 on February 26, 2022, 11:23Thanks a lot. Its working on learnpress courses. But same issue is with this page also.
https://petelaurenconsulting.com/events/
For which the price remains fixed i.e. while on product page to book tickets and even once its added to cart, it shows the same amount even if the currency is being changed. I am using woo payment gateway for it too.
Thanks in advance
Thanks a lot. Its working on learnpress courses. But same issue is with this page also.
https://petelaurenconsulting.com/events/
For which the price remains fixed i.e. while on product page to book tickets and even once its added to cart, it shows the same amount even if the currency is being changed. I am using woo payment gateway for it too.
Thanks in advance
Quote from Pablo Borysenco on February 28, 2022, 12:35Hello
as I wrote earlier:
our plugin is designed for woocommerce products. And if that 3rd party plugin doesn't use the features of the Woo products, in this case you need a currency converter that is designed specifically for learnpress
Hello
as I wrote earlier:
our plugin is designed for woocommerce products. And if that 3rd party plugin doesn't use the features of the Woo products, in this case you need a currency converter that is designed specifically for learnpress
Quote from vihang13 on March 1, 2022, 10:09Ok, got it.
No problem, your above code resolved my issue of Learnpress. And you can mark this topic as resolved.
And thanks a lot once again for your help.
Ok, got it.
No problem, your above code resolved my issue of Learnpress. And you can mark this topic as resolved.
And thanks a lot once again for your help.
Quote from Pablo Borysenco on March 1, 2022, 12:19Hello
Welcome;)
Hello
Welcome;)