Title: Fee shipping calculation doesn&#8217;t work
Last modified: January 7, 2025

---

# Fee shipping calculation doesn’t work

 *  Resolved [tatummatlock](https://wordpress.org/support/users/tatummatlock/)
 * (@tatummatlock)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/fee-shipping-calculation-doesnt-work/)
 * I am experiencing a similar issue that people in the following threads have faced:
   
   [https://wordpress.org/support/topic/shipping-fee-calculation-problem-after-version-9-0-1-2/#post-17841622](https://wordpress.org/support/topic/shipping-fee-calculation-problem-after-version-9-0-1-2/#post-17841622)
   [https://wordpress.org/support/topic/woocommerce-fee-shipping-calculation-doesnt-work/](https://wordpress.org/support/topic/woocommerce-fee-shipping-calculation-doesnt-work/)
 * I am setting up 2 flat rate shipping options that have calculations. The first
   is “Ground” which has the calculation [fee percent=”10” min_fee=”12″] and the
   second is “Overnight” which has the calculation [fee percent=”30” min_fee=”40″]
   they are not calculating for the fee percents over the minimum – in fact when
   I remove the min_fee it shows as free shipping.
 * I have tried the following things on a local instance:
   Updating WooCommerce to
   the latest release and beta releaseDowngrading WooCommerce to 8.9.1Removing the
   decimal and comma from the thousands and decimal separatorDeactivating all plugins
   except WooCommerce and deactivating the themeCan someone help with this? Thank
   you!
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ffee-shipping-calculation-doesnt-work%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [Zee](https://wordpress.org/support/users/doublezed2/)
 * (@doublezed2)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/fee-shipping-calculation-doesnt-work/#post-18231581)
 * Hello [tatummatlock](https://wordpress.org/support/users/tatummatlock/),
 * Thank you for contacting WooCommerce support.
 * Could you please share screenshots of the Shipping Options you have set up?
   Also,
   share screenshots of the checkout page where incorrect calculations are showing
   up.You may use a tool like [https://snipboard.io](https://snipboard.io/) to share
   images with me.
 * I will use that information to recreate the issue on my test site and find out
   what is happening.
 * Looking forward to your response. 🙂
 *  Thread Starter [tatummatlock](https://wordpress.org/support/users/tatummatlock/)
 * (@tatummatlock)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/fee-shipping-calculation-doesnt-work/#post-18232825)
 * Hi there, thanks for the quick reply. Here are some screenshots:
 * Ground Flat Rate: [https://snipboard.io/Pu7lqo.jpg](https://snipboard.io/Pu7lqo.jpg)
   
   Overnight Flat Rate: [https://snipboard.io/HerZy6.jpg](https://snipboard.io/HerZy6.jpg)
 * Cart page which shows “0” for Ground and “$40” for Overnight (that’s the minimum
   I had set)
   [https://snipboard.io/PhqHEB.jpg](https://snipboard.io/PhqHEB.jpg)
 * It’s not calculating the percentage. Let me know if you need any other information.
   Thanks again.
 *  [Reynier (a11n)](https://wordpress.org/support/users/reynierc/)
 * (@reynierc)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/fee-shipping-calculation-doesnt-work/#post-18233144)
 * Hi [@tatummatlock](https://wordpress.org/support/users/tatummatlock/)
 * Thanks for sharing the screenshot! I noticed that both the Ground Flat Rate (
   2-8 days) and Overnight Flat Rate cost settings had curly quotes, specifically
   after the fee percent condition [here](https://snipboard.io/mTJl6u.jpg) and [here](https://snipboard.io/oLKjcy.jpg).
 * Please replace the curly quotes with straight quotes. For example, cost of your“
   Ground Flat Rate (2-8 days)” should be `[fee percent="10"]` and “Overnight Flat
   Rate” should be `[fee percent="30" min_fee="40"]`.
 * Once you update these, test to see if the fees calculate correctly. Let us know
   the outcome.
 *  Thread Starter [tatummatlock](https://wordpress.org/support/users/tatummatlock/)
 * (@tatummatlock)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/fee-shipping-calculation-doesnt-work/#post-18233157)
 * That worked! Thank you. I just want to point out that I copied this code directly
   from this page of your documentation here: [https://woocommerce.com/document/flat-rate-shipping/#advanced-costs](https://woocommerce.com/document/flat-rate-shipping/#advanced-costs)
   and then added my own values. I normally do it this way to prevent situations
   like this where I use the wrong character. I’m not sure if it’s possible to replace
   those in the documentation with the correct quotes in case this happens to someone
   else. Thanks again for your help!
    -  This reply was modified 1 year, 4 months ago by [tatummatlock](https://wordpress.org/support/users/tatummatlock/).
 *  [Reynier (a11n)](https://wordpress.org/support/users/reynierc/)
 * (@reynierc)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/fee-shipping-calculation-doesnt-work/#post-18233167)
 * Hi [@tatummatlock](https://wordpress.org/support/users/tatummatlock/)
 * I’m glad to hear it worked! Also, thanks for pointing out the documentation/source.
   It’s likely because one was a curly quote, and the others were changed to straight
   quotes. But we’ll definitely look into it!
 * If anything else comes up, please feel free to [open a new topic](https://wordpress.org/support/plugin/woocommerce/#new-topic-0).
   🙂

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Fee shipping calculation doesn’t work’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

## Tags

 * [calculation](https://wordpress.org/support/topic-tag/calculation/)
 * [fee](https://wordpress.org/support/topic-tag/fee/)
 * [flat rate](https://wordpress.org/support/topic-tag/flat-rate/)
 * [percent](https://wordpress.org/support/topic-tag/percent/)
 * [shipping](https://wordpress.org/support/topic-tag/shipping/)

 * 5 replies
 * 3 participants
 * Last reply from: [Reynier (a11n)](https://wordpress.org/support/users/reynierc/)
 * Last activity: [1 year, 4 months ago](https://wordpress.org/support/topic/fee-shipping-calculation-doesnt-work/#post-18233167)
 * Status: resolved