[WOOCS LABS] Recurrent Discount Price not being converted
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 SalomnA on September 20, 2021, 16:37I will try to explain this as clear as possible.
I create a Woocommerce coupon for a recurrent product. The coupon should give the user a discount for 3 months and then apply the full price of the subscription.
When the user is in the checkout page and is not using the main currency, the plugin don't make the proper currency conversion for the discount price and, in consequence, the total price is off.
I'm using Woocommerce Subscriptions for the subscriptions. I already implemented the solution yo provide for Woocommerce subscriptions but doesn't seems to be the same problem.
I will try to explain this as clear as possible.
I create a Woocommerce coupon for a recurrent product. The coupon should give the user a discount for 3 months and then apply the full price of the subscription.
When the user is in the checkout page and is not using the main currency, the plugin don't make the proper currency conversion for the discount price and, in consequence, the total price is off.
I'm using Woocommerce Subscriptions for the subscriptions. I already implemented the solution yo provide for Woocommerce subscriptions but doesn't seems to be the same problem.
Quote from Pablo Borysenco on September 21, 2021, 10:32Hello
Do you use standard coupons?
Can you drop me wp-admin+FTP access to your test site - https://share.pluginus.net/image/i20210618130558.png -> https://share.pluginus.net/image/i20210618130637.png
Hello
Do you use standard coupons?
Can you drop me wp-admin+FTP access to your test site - https://share.pluginus.net/image/i20210618130558.png -> https://share.pluginus.net/image/i20210618130637.png
Quote from SalomnA on September 21, 2021, 15:02We have Woocommerce Smart Coupons implemented but I'm sure this is a standard coupon functionality
Info attached
We have Woocommerce Smart Coupons implemented but I'm sure this is a standard coupon functionality
Info attached
Quote from Pablo Borysenco on September 22, 2021, 10:46Hello
I'm sure this is a standard coupon functionality - Very important! Does this error happen with standard coupons? If you disable this third-party(Woocommerce Smart Coupons) plugin, the error persists?
Hello
I'm sure this is a standard coupon functionality - Very important! Does this error happen with standard coupons? If you disable this third-party(Woocommerce Smart Coupons) plugin, the error persists?
Quote from SalomnA on September 22, 2021, 15:08I disabled Woocommerce Smart Coupons and the error persist
I disabled Woocommerce Smart Coupons and the error persist
Quote from Pablo Borysenco on September 23, 2021, 09:49Hello
Ok! Thank you
I added this to the adaptation queue
Hello
Ok! Thank you
I added this to the adaptation queue
Quote from SalomnA on September 27, 2021, 19:47Hi, any news?
Hi, any news?
Quote from Pablo Borysenco on September 28, 2021, 10:15Hello
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 Pablo Borysenco on October 1, 2021, 17:54Hello
Please check your access - https://c2n.me/4dwy95A.png
Hello
Please check your access - https://c2n.me/4dwy95A.png
Quote from Pablo Borysenco on October 4, 2021, 10:26Hello
Ok! I will check it
Hello
Ok! I will check it
Quote from Pablo Borysenco on October 8, 2021, 18:16Hello
I don't see any coupons - https://c2n.me/4dBgNLg.png
Please prepare the site completely. We don't have time to customize your site
And describe in more detail which product and which coupon should I add to the cart to get the error
I also see that you are using one license for several sites. it is unacceptable
and renew your support
Hello
I don't see any coupons - https://c2n.me/4dBgNLg.png
Please prepare the site completely. We don't have time to customize your site
And describe in more detail which product and which coupon should I add to the cart to get the error
I also see that you are using one license for several sites. it is unacceptable
and renew your support
Quote from SalomnA on October 8, 2021, 18:58It must be expired because of the time
You should add the "Suscripción Regular" Product: https://staging-dondefluirdanzas.kinsta.cloud/finalizar-compra/?add-to-cart=1503 and use the coupon code: testcoupon50
We are using the plugin in the production site and the staging site only
If we have to renew our support why you bring it right now and not before? We need this asap is been almost 4 weeks since my first request.
It must be expired because of the time
You should add the"Suscripción Regular" Product: https://staging-dondefluirdanzas.kinsta.cloud/finalizar-compra/?add-to-cart=1503 and use the coupon code: testcoupon50
We are using the plugin in the production site and the staging site only
If we have to renew our support why you bring it right now and not before? We need this asap is been almost 4 weeks since my first request.
Quote from Pablo Borysenco on October 11, 2021, 10:09Hello
We are using the plugin in the production site and the staging site - We have already made you an adaptation for another site( With this license )
We need this asap is been almost 4 weeks since my first request. - this is not true. I added this to the adaptation queue - https://c2n.me/4dCdek7.png But you provided incorrect data - https://c2n.me/4dCdpL0.png then, you have not prepared the site for adaptation - https://share.pluginus.net/image/i20211011105236.png The delay is not our fault. I also ask you to pay attention that the adaptation of third-party plugins is not part of the support
Hello
We are using the plugin in the production site and the staging site - We have already made you an adaptation for another site( With this license )
We need this asap is been almost 4 weeks since my first request. - this is not true. I added this to the adaptation queue - https://c2n.me/4dCdek7.png But you provided incorrect data - https://c2n.me/4dCdpL0.png then, you have not prepared the site for adaptation - https://share.pluginus.net/image/i20211011105236.png The delay is not our fault. I also ask you to pay attention that the adaptation of third-party plugins is not part of the support
Quote from SalomnA on October 11, 2021, 12:37The adaptation you made was for the same site (https://dondefluirdanzas.com), you can check it here https://pluginus.net/support/topic/incompatibility-with-yith-gift-cards-premium/ . The info a have send you is the one for the staging site of that domain.
I hope we can achieve a solution, I think this is something that can affect other people since is a core Woocommerce functionality. Is there anything I can do to accelerate this process?
The adaptation you made was for the same site (https://dondefluirdanzas.com), you can check it here https://pluginus.net/support/topic/incompatibility-with-yith-gift-cards-premium/ . The info a have send you is the one for the staging site of that domain.
I hope we can achieve a solution, I think this is something that can affect other people since is a core Woocommerce functionality. Is there anything I can do to accelerate this process?
Quote from Pablo Borysenco on October 12, 2021, 09:32I think this is something that can affect other people since is a core Woocommerce functionality - Coupons work well for standard products. Issue only for subscription products. I'm right
Is there anything I can do to accelerate this process? - Prepare a website and a description of the problem so that the developer can go in and easily reproduce the error
I think this is something that can affect other people since is a core Woocommerce functionality - Coupons work well for standard products. Issue only for subscription products. I'm right
Is there anything I can do to accelerate this process? - Prepare a website and a description of the problem so that the developer can go in and easily reproduce the error
Quote from SalomnA on October 15, 2021, 17:08Yes, the problem is only with subscription products.
Website is ready. The problem is the next:
When you are in the checkout page after adding a subscription product and using a coupon, the WOOCS plugin does not make the necessary currency conversion if the currency is different from the main one.
The main currency is USD, US dollars. You have to use a VPN to locate yourself in one of the next countrys to see the error:
- Argentina
- Colombia
- Perú
- Chile
- Uruguay
You can add the "Sucripción Regular" product to test. The ID is 1503. You can also use the next direct url: https://staging-dondefluirdanzas.kinsta.cloud/finalizar-compra/?add-to-cart=1503.
The coupon code is: testcoupon50
Yes, the problem is only with subscription products.
Website is ready. The problem is the next:
When you are in the checkout page after adding a subscription product and using a coupon, the WOOCS plugin does not make the necessary currency conversion if the currency is different from the main one.
The main currency is USD, US dollars. You have to use a VPN to locate yourself in one of the next countrys to see the error:
- Argentina
- Colombia
- Perú
- Chile
- Uruguay
You can add the"Sucripción Regular" product to test. The ID is 1503. You can also use the next direct url: https://staging-dondefluirdanzas.kinsta.cloud/finalizar-compra/?add-to-cart=1503.
The coupon code is: testcoupon50
Quote from Pablo Borysenco on October 15, 2021, 17:51Hello
In file - public\wp-content\plugins\woocommerce-subscriptions\includes\class-wc-subscriptions-coupon.php - add code - https://c2n.me/4dFEwXJ.png
if (class_exists('WOOCS') AND $discount_amount) {
global $WOOCS;
if ($WOOCS->is_multiple_allowed) {
$currrent = $WOOCS->current_currency;
if ($currrent != $WOOCS->default_currency) {
$currencies = $WOOCS->get_currencies();
$rate = $currencies[$currrent]['rate'];
$discount_amount = $discount_amount / $rate;
}
}
}And do a test please
Hello
In file - public\wp-content\plugins\woocommerce-subscriptions\includes\class-wc-subscriptions-coupon.php - add code - https://c2n.me/4dFEwXJ.png
if (class_exists('WOOCS') AND $discount_amount) {
global $WOOCS;
if ($WOOCS->is_multiple_allowed) {
$currrent = $WOOCS->current_currency;
if ($currrent != $WOOCS->default_currency) {
$currencies = $WOOCS->get_currencies();
$rate = $currencies[$currrent]['rate'];
$discount_amount = $discount_amount / $rate;
}
}
}
And do a test please
Quote from SalomnA on October 15, 2021, 21:20It doesn't work. What I can see is that the discount is being made over the price in the main currency.
For example: In Argentina, instead of discounting $850 (the equivalent of %50 for the conversion rate), is discounting $10. $10 is 50% for the price in USD.
https://imgur.com/a/GDJEl4J
It doesn't work. What I can see is that the discount is being made over the price in the main currency.
For example: In Argentina, instead of discounting $850 (the equivalent of %50 for the conversion rate), is discounting $10. $10 is 50% for the price in USD.
Quote from Pablo Borysenco on October 18, 2021, 11:15Hello
Ok! I will check it
Hello
Ok! I will check it