WooCommerce: Disable Free Shipping if another shipping method is active

Hello Reader,

You have no doubt landed here while trying to figure out how to disable free shipping when another specific method is available. For me personally I needed to disable free shipping when “Distance Rate” rules applied to the order. For you, it may be another case – but this tutorial should help you get the job done right. This tutorial is suited for websites running WooCommerce 2.6 or higher.

Here is what my screen looked like before applying the proper code to charge the user for shipping.

WooCommerce Disable Free Shipping

Here is the code I used to disable the free shipping method when the distance rate shipping applied.

You will need to replace “distance_rate” on line 12, with the name of the shipping method you need to show. If you are not sure what the name of the method is you will need to grab it from the source on the cart or order page. I have provided you with a screenshot on how to do this below:

WooCommerce Shipping Method Name

After you have applied the code in your theme’s functions.php file and emptied your cart (important to clear the cache) and added an item to your cart you should see the following:

WooCommerce Disable Free Shipping For Another Method

That concludes the tutorial on how to disable free shipping when another shipping method is active. I hope I was able to help you solve your dilemma 🙂

Do you need help getting your WooCommerce store to work the way you want? I am available for web design and development at affordable rates! You can get in touch with me by visiting my contact page.

Web Design Temecula

Temecula Web Design: Design, Management, and More

Having a great website is vital for any business. Regardless of the size of your operation or the industry you’re in, we all know that a presence in the digital world can help you network and convert viewers into paying customers. But what exactly should you look for in Temecula web design?

A good website is able to combine aesthetic appeal with quality content. By catching a user’s attention and then giving them the information they’re looking for, a good website can help any business succeed. With proper website design and the ability to update and manage the site with ease, anyone can reap the benefits of proper web design in Temecula.

What Should a Quality Website Offer?

A website should be able to get a user’s attention – and keep it. It can be hard to gain visibility on the web these days, but we all know that optimizing your content properly can help a site be discovered more easily. Not only that, but a website with quality design can catch a user’s attention, make a lasting impression, and give them the information they need.

Responsive web design offers users the ability to get an optimal experience regardless of what platform they choose to view the site with. Whether they utilize a desktop computer, a tablet, or a mobile phone, quality web design allows a user to get the most out of their experience when they view a website.

The Importance of Ongoing Management

Managing a website is a continuous process – a site may need to be updated and changed over time for a variety of reasons. A good website will have the most relevant and up-to-date content available, meaning periodic updates are of the utmost importance. Likewise, you may also decide you want the structure, layout, or design of your site changed.

Maintenance for your website is an important aspect of Temecula web design. By working with web designers who are dedicated to providing you with a quality site and the ability to service it the way you want, you can help your business excel.

Launch of New Website & Temecula Location

When I began my career in web design, I promised myself and my clients to always meet or exceed their standards, to handle projects from start to finish, and ensure their success. Besides knowledge, skills, hard work, and commitment, keeping this promise requires inspiration. Changing the scenery and making new friends has always worked for me.

This time, I found my inspiration in the City of Temecula. I don’t know if it’s due to the Temecula hospitality, Old Town, Wine Country, the proximity to San Diego, or all of them together, but I have a myriad of great new ideas I can’t wait to bring to life and share with you. With these ideas comes a new website, a more accurate reflection of my current views and principles.

I look forward to providing my services in Temecula and the surrounding areas, as well as continuing to offer them in Apple Valley, Victorville & Hesperia. Don’t be a stranger! Contact me now, tell me more about your business, and let’s make it successful with my First Class Service! Are you looking for a specific service? Try these links: Temecula SEO, Temecula Web Design, Victorville Web Design.