WooCommerce Smart Coupons problems
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 dplista on November 26, 2021, 03:59Hello there,
Can I ask if your plugin is compatible with the:
WooCommerce Smart Coupons problems
https://woocommerce.com/products/smart-coupons/
Or have some adaptation to make this works?I record a video, https://www.dropbox.com/s/ofbxaq2i11xn5u3/woocs.mov?dl=0
Basically, everything it's wrong if I use a coupon with a different currency.
Also, if I enable the "Individual fixed amount for coupon" the balance it's wrong.I have a very clean environment and I share the access with my pro version key.
Can be great if you can makes this works, we can't use your plugin since we buy for this problems.
Thank you in advance.-
Hello there,
Can I ask if your plugin is compatible with the:
WooCommerce Smart Coupons problems
https://woocommerce.com/products/smart-coupons/
Or have some adaptation to make this works?
I record a video, https://www.dropbox.com/s/ofbxaq2i11xn5u3/woocs.mov?dl=0
Basically, everything it's wrong if I use a coupon with a different currency.
Also, if I enable the"Individual fixed amount for coupon" the balance it's wrong.
I have a very clean environment and I share the access with my pro version key.
Can be great if you can makes this works, we can't use your plugin since we buy for this problems.
Thank you in advance.-
Quote from Pablo Borysenco on November 26, 2021, 12:31Hello
Please read this - https://currency-switcher.com/woocs-labs
Hello
Please read this - https://currency-switcher.com/woocs-labs
Quote from dplista on November 30, 2021, 06:05Hello and thank you for your update.
Please, can I request a "adaptation script" for your plugin and WooCommerce Smart Coupons problems - https://woocommerce.com/products/smart-coupons/
The "WooCommerce Smart Coupons" it's the most popular plugin for coupons, can be great for everyone.
Thank you in advance.-
Hello and thank you for your update.
Please, can I request a"adaptation script" for your plugin and WooCommerce Smart Coupons problems - https://woocommerce.com/products/smart-coupons/
The"WooCommerce Smart Coupons" it's the most popular plugin for coupons, can be great for everyone.
Thank you in advance.-
Quote from Pablo Borysenco on November 30, 2021, 11:08Hello
OK! I added this plugin to the adaptation queue
Hello
OK! I added this plugin to the adaptation queue
Quote from dplista on December 10, 2021, 17:17Hello Pablo, I hope you are doing well.
Just checking if you have some update about this adaptation.
Thank you again!
Hello Pablo, I hope you are doing well.
Just checking if you have some update about this adaptation.
Thank you again!
Quote from Pablo Borysenco on December 10, 2021, 18:25Hello
In file - \wp-content\plugins\woocommerce-smart-coupons\includes\class-wc-sc-coupon-process.php - add code - https://c2n.me/4eitVDB.png
if (class_exists('WOOCS')) {
global $WOOCS;
if ($WOOCS->is_multiple_allowed) {
$currrent = $WOOCS->current_currency;
if ($currrent != $WOOCS->default_currency) {
$currencies = $WOOCS->get_currencies();
$rate = $currencies[$currrent]['rate'];
$credit_remaining = $WOOCS->back_convert($credit_remaining, $rate, $currencies[$WOOCS->default_currency]['decimals']);
}
}
}And do a test
Hello
In file - \wp-content\plugins\woocommerce-smart-coupons\includes\class-wc-sc-coupon-process.php - add code - https://c2n.me/4eitVDB.png
if (class_exists('WOOCS')) {
global $WOOCS;
if ($WOOCS->is_multiple_allowed) {
$currrent = $WOOCS->current_currency;
if ($currrent != $WOOCS->default_currency) {
$currencies = $WOOCS->get_currencies();
$rate = $currencies[$currrent]['rate'];
$credit_remaining = $WOOCS->back_convert($credit_remaining, $rate, $currencies[$WOOCS->default_currency]['decimals']);
}
}
}
And do a test
Quote from dplista on December 12, 2021, 17:27Hello and thank you for your code.
Your adaptation works when the coupon should be use.
But, looks like we need something else to credit the amount again after the order is cancelled.
Here is a video where I share 2 orders, in EUR the store base currency and a different one.
The store credit should be 10 after cancel the second order but the amount is not converted to the store base currency.
https://www.dropbox.com/s/3ud7ikp755q8i2s/woocs2.mov?dl=0
My private information still working, my WordPress credentials, etc.
Please, can you help me?
Thank you in advance.-
Hello and thank you for your code.
Your adaptation works when the coupon should be use.
But, looks like we need something else to credit the amount again after the order is cancelled.
Here is a video where I share 2 orders, in EUR the store base currency and a different one.
The store credit should be 10 after cancel the second order but the amount is not converted to the store base currency.
https://www.dropbox.com/s/3ud7ikp755q8i2s/woocs2.mov?dl=0
My private information still working, my WordPress credentials, etc.
Please, can you help me?
Thank you in advance.-
Quote from Pablo Borysenco on December 13, 2021, 11:41Hello
Ok! I will check it on Friday
Hello
Ok! I will check it on Friday
Quote from dplista on December 13, 2021, 11:45Thank you a lot and thank you again!
Thank you a lot and thank you again!
Quote from Pablo Borysenco on December 17, 2021, 18:39Hello
Please do a test
Hello
Please do a test
Quote from dplista on December 17, 2021, 21:02Hello Pablo and thank you again for your help.
I do need to add some custom code or do something else before to test?
I just test with an order in PLN and looks like still not working.
I have €10 in credit.
One order for 23.36 zł which is €5.
Then I cancel the order and instead of have €10 again, I can see 46.72 as a coupon amount, which looks the amount on zł.
I keep the orders on the WordPress to check.
Please, some idea about how to fix it.
Thank you again.-
Hello Pablo and thank you again for your help.
I do need to add some custom code or do something else before to test?
I just test with an order in PLN and looks like still not working.
I have €10 in credit.
One order for 23.36 zł which is €5.
Then I cancel the order and instead of have €10 again, I can see 46.72 as a coupon amount, which looks the amount on zł.
I keep the orders on the WordPress to check.
Please, some idea about how to fix it.
Thank you again.-
Quote from Pablo Borysenco on December 20, 2021, 11:11Hello
Ok! I got it! Very strange!
Previously, this all worked correctly. I will continue to research
Hello
Ok! I got it! Very strange!
Previously, this all worked correctly. I will continue to research
Quote from dplista on December 20, 2021, 21:57Thank you again!
I will wait for your update!
Thank you again!
Thank you again!
I will wait for your update!
Thank you again!
Quote from Pablo Borysenco on December 24, 2021, 18:12Hello
My test - https://c2n.me/4erLBol
in file - \wp-content\plugins\woocommerce-smart-coupons\includes\class-wc-sc-coupon-process.php - add code - https://c2n.me/4erLNKf.png
if (class_exists('WOOCS')) {
global $WOOCS;
if ($WOOCS->is_multiple_allowed) {
$order_currency = get_post_meta($order_id, '_order_currency', true);
$rate = get_post_meta($order_id, '_woocs_order_rate', true);
//$currrent = $WOOCS->current_currency;
if ($order_currency != $WOOCS->default_currency) {
$currencies = $WOOCS->get_currencies();
if (!$rate) {
$rate = $currencies[$order_currency]['rate'];
}$coupon_amount = $WOOCS->back_convert( $coupon_amount, $rate, $currencies[$WOOCS->default_currency]['decimals']);
}
}
}
Hello
My test - https://c2n.me/4erLBol
in file - \wp-content\plugins\woocommerce-smart-coupons\includes\class-wc-sc-coupon-process.php - add code - https://c2n.me/4erLNKf.png
if (class_exists('WOOCS')) {
global $WOOCS;
if ($WOOCS->is_multiple_allowed) {
$order_currency = get_post_meta($order_id, '_order_currency', true);
$rate = get_post_meta($order_id, '_woocs_order_rate', true);
//$currrent = $WOOCS->current_currency;
if ($order_currency != $WOOCS->default_currency) {
$currencies = $WOOCS->get_currencies();
if (!$rate) {
$rate = $currencies[$order_currency]['rate'];
}
$coupon_amount = $WOOCS->back_convert( $coupon_amount, $rate, $currencies[$WOOCS->default_currency]['decimals']);
}
}
}