Support » Plugin: WooCommerce » Can’t Add Tax Rate Row

  • Resolved horizon70s

    (@horizon70s)


    I’m having a weird issue with WooCommerce.

    I’m trying to setup a tax rate of 5% for my state in the USA.

    I’m in Woocommerce > Settings > Tax > Standard Tax Rate.

    When I add a new row, and fill out the info, and hit Save…it disappears, every time.

    So I literally cannot add a rate.

    I’ve tried to manually add it in phpmyadmin, but can’t find the table either.

    Any ideas? Thanks

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Support Shaun Kuschel a11n

    (@shaunkuschel)

    Automattic Happiness Engineer

    Hey @horizon70s,

    There are a few reasons why this can happen, but I would suggest the following:

    – Double check that the info being used for the rates is “US” in the “Country code” column and the 2-letter abbreviation for your state in the “State code” column. I’m based in Texas, so I have a tax rate set up like this, which uses “TX” as the State code.
    – If the 2-letter abbreviations are being used but the table isn’t saving, I would then go to the WooCommerce > Status > Logs page and look through the dropdown list of saved logs for anything that starts with “fatal-errors” and has a recent date. Here is an example of what that looks like from my site, but this is an error from April 22nd of this year, as it shows “2021-04-22” as the date).
    – If there aren’t any fatal errors, I would suggest making sure that the user account making the changes to the tax rate table has the correct “read/write” database permissions (so that new rates can be added).

    Let me know if any of this helps or not, as I’ve got a couple other suggestions too (depending on what you find).

    Thread Starter horizon70s

    (@horizon70s)

    Hello,

    Sorry it took so long to reply, and thanks for the help.

    I tried it all, and it doesn’t work. It simply won’t take a value?

    Plugin Support Shaun Kuschel a11n

    (@shaunkuschel)

    Automattic Happiness Engineer

    Hey @horizon70s,

    No worries! Since it doesn’t seem to accept the value, it could be related to code conflict or something preventing the update from being successfully applied (like specific functionality added by a particular plugin). For example, the “Automated Taxes” option in the WooCommerce Shipping & Tax plugin calculates rates via the API and automatically adds them to the tax rate table, so any additions added manually get removed (so only API rates are used).

    If you use the Shipping & Tax plugin, that could be the reason. However, if not, I’d suggest temporarily switching to a default WordPress theme and deactivating all plugins except WooCommerce and try adding the tax rates then to see if that makes a difference.

    Thread Starter horizon70s

    (@horizon70s)

    I tried the shipping & tax plugin, without luck.

    Plugin Support Shaun Kuschel a11n

    (@shaunkuschel)

    Automattic Happiness Engineer

    Hey @horizon70s,

    Thanks for letting me know. It didn’t sound like WooCommerce Shipping & Tax would quite work for you, but I wanted to mention it just in case you were already using it.

    I’d suggest making a staging copy of the site that you can do some additional testing on, to make sure that the live site isn’t impacted by any of those tests. If you don’t have a staging site already, I’d suggest checking with your host to see if they can create one for you (using the current version of the site for the copy). If your host doesn’t offer that option, there are some free plugins here on WordPress.org that can create staging copies- such as this example. However, it is generally a better idea to have the host create the staging site if possible, to make sure that it doesn’t impact the performance of the live site (since it duplicates the database on the server).

    Thread Starter horizon70s

    (@horizon70s)

    Can’t we just insert a value in a table via phpmyadmin?

    Plugin Support Shaun Kuschel a11n

    (@shaunkuschel)

    Automattic Happiness Engineer

    Hey @horizon70s,

    From what I can tell, the values are already there but they aren’t being applied.

    Plugin Support Shaun Kuschel a11n

    (@shaunkuschel)

    Automattic Happiness Engineer

    Hey @horizon70s,

    Since we haven’t heard anything in a while, I’m going to close out this thread. However, if you have any other questions about this issue (or anything else), feel free to create a new post. Thanks!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Can’t Add Tax Rate Row’ is closed to new replies.