• Resolved Pradeep

    (@pmaheepala)


    Hello,

    I just installed this to test it on a client’s site and I accidentally activated it while WooCommerce Services plugin activated. Your plugin started displaying the message: “Simple Sales Tax found extra rates in your tax tables. Please choose to keep the rates or delete them.”. Straingly no matter what I did, it’s not going away, even after I deactivated and deleted the plugin.

    Any idea how I can get rid of this message?

    Thanks and regards,

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Brett Porcelli

    (@bporcelli)

    Hi Pradeep,

    Clicking either one of those options should have caused the notice to disappear; however, if you chose “delete” and WooCommerce Services added another tax rate immediately thereafter the notice would perpetually reappear.

    In any case, now that you’ve deactivated and uninstalled the plugin, your best bet would be to just add some code like this into your functions.php temporarily to remove that notice:

    
    add_action( 'init', function() {
        if ( function_exists( 'WC' ) ) {
            if ( ! class_exists( 'WC_Admin_Notices' ) ) {
                require WC()->plugin_path() . '/admin/class-wc-admin-notices.php';
            }
    
            WC_Admin_Notices::remove_notice( 'sst_rates' );
        }
    } );
    

    Once that snippet is added to your theme’s functions.php file, just access any page once and the notice should disappear. You can then remove the snippet from functions.php completely.

    Let me know if you have any questions.

    Thread Starter Pradeep

    (@pmaheepala)

    Hi Bret,

    Many thanks for the tip. It worked!

    Best regards,

    Pradeep

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘‘Simple Sales Tax found extra rates in your tax tables’ message’ is closed to new replies.