-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Total Amount Calculation issue #21
Comments
@RohitRD31
|
Thanks ... I Will try this and let you know.
Thanks for quick reply.
Regards,
Rohit.
Scriberr.in
…On Tue 9 Oct, 2018, 3:41 PM Subrata Mal, ***@***.***> wrote:
@RohitRD31 <https://github.com/RohitRD31>
There is an error with WooCommerce smart coupon extension. Please use
below code to theme function.php file to fix that bug.
add_action('wp_loaded', 'remove_smart_coupon_hook', 100);
if (!function_exists('remove_smart_coupon_hook')) {
function remove_smart_coupon_hook() {
if (!is_admin() && class_exists('WC_Smart_Coupons')) {
remove_action('woocommerce_after_calculate_totals', array(WC_Smart_Coupons::get_instance(), 'smart_coupons_after_calculate_totals'));
}
}
}
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#21 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/Ap8qY4FsJgTjOtLBz8pljDo8kMeIFRboks5ujHZNgaJpZM4XSKSw>
.
|
Hello @malsubrata , Recently we Enabled Coupon as cashback from woo smart coupons and saw that this above issue is back again. Check the screenshot here we added a 100% cashback coupon upto Rs 500 and as u can see the cashback amount is added in total amount. Please reply soon Regards, |
If used Woowallet with smartcoupons, with cashback setting.
it gives calculation total error for product . check images.
The text was updated successfully, but these errors were encountered: