Disable shipping calculation when adding to cart

Question

When adding an item to the cart in Woocommerce (via the Ajax add to cart button on the product page), Woocommerce automatically runs shipping calculations as if the user were already on the cart page. This causes the Add to Cart button to take longer to actually add the item to the cart. In our case, we are using a plugin that gets realtime rates from UPS, so it causes the Add to Cart button to take 3-5 seconds to add the item.

Is there a way for us to hook in to the add to cart action and prevent Woocommerce from calculating shipping every time something is added to the cart?

0
jrose 4 months 0 Answers 17 views 0

Leave an answer