<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Tips and Tricks Archives - First Class Code</title>
	<atom:link href="https://firstclasscode.com/category/tips-and-tricks/feed/" rel="self" type="application/rss+xml" />
	<link></link>
	<description>Affordable eCommerce, Web Design, &#38; SEO</description>
	<lastBuildDate>Wed, 07 Jun 2017 18:33:55 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://firstclasscode.com/wp-content/uploads/2016/10/cropped-favicon_final-32x32.png</url>
	<title>Tips and Tricks Archives - First Class Code</title>
	<link></link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>WooCommerce: Disable Free Shipping if another shipping method is active</title>
		<link>https://firstclasscode.com/woocommerce-guide-disable-free-shipping-specific-method-active/</link>
		
		<dc:creator><![CDATA[Reece Young]]></dc:creator>
		<pubDate>Tue, 30 May 2017 19:45:01 +0000</pubDate>
				<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[WooCommerce]]></category>
		<guid isPermaLink="false">https://firstclasscode.com/?p=2921</guid>

					<description><![CDATA[<p>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 &#8220;Distance Rate&#8221; rules applied to the order. For you, it may be another case &#8211; but this tutorial should help you get &#8230;</p>
<p>The post <a href="https://firstclasscode.com/woocommerce-guide-disable-free-shipping-specific-method-active/">WooCommerce: Disable Free Shipping if another shipping method is active</a> appeared first on <a href="https://firstclasscode.com">First Class Code</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Hello Reader,</p>
<p>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 &#8220;<a href="https://woocommerce.com/products/woocommerce-distance-rate-shipping/">Distance Rate</a>&#8221; rules applied to the order. For you, it may be another case &#8211; but this tutorial should help you get the job done right. This tutorial is suited for websites running WooCommerce 2.6 or higher.</p>
<p>Here is what my screen looked like before applying the proper code to charge the user for shipping.</p>
<p><img fetchpriority="high" decoding="async" class="alignnone size-full wp-image-2922" src="https://firstclasscode.com/wp-content/uploads/2017/05/order_2_methods.png" alt="WooCommerce Disable Free Shipping" width="502" height="621" srcset="https://firstclasscode.com/wp-content/uploads/2017/05/order_2_methods.png 502w, https://firstclasscode.com/wp-content/uploads/2017/05/order_2_methods-243x300.png 243w, https://firstclasscode.com/wp-content/uploads/2017/05/order_2_methods-449x555.png 449w" sizes="(max-width: 502px) 100vw, 502px" /></p>
<p>Here is the code I used to disable the free shipping method when the distance rate shipping applied.</p>
<p><script src="https://gist.github.com/FirstClassCode/48dd90c6cf4e4e832547f20b392093f5.js"></script></p>
<p>You will need to replace &#8220;distance_rate&#8221; 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:</p>
<p><a href="https://firstclasscode.com/wp-content/uploads/2017/05/method_name.png"><img decoding="async" class="alignnone wp-image-2923 size-full" src="https://firstclasscode.com/wp-content/uploads/2017/05/method_name.png" alt="WooCommerce Shipping Method Name" width="1919" height="669" srcset="https://firstclasscode.com/wp-content/uploads/2017/05/method_name.png 1919w, https://firstclasscode.com/wp-content/uploads/2017/05/method_name-300x105.png 300w, https://firstclasscode.com/wp-content/uploads/2017/05/method_name-1024x357.png 1024w, https://firstclasscode.com/wp-content/uploads/2017/05/method_name-555x193.png 555w" sizes="(max-width: 1919px) 100vw, 1919px" /></a></p>
<p>After you have applied the code in your theme&#8217;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:</p>
<p><img decoding="async" class="alignnone size-full wp-image-2924" src="https://firstclasscode.com/wp-content/uploads/2017/05/shipping_1_method.png" alt="WooCommerce Disable Free Shipping For Another Method" width="481" height="548" srcset="https://firstclasscode.com/wp-content/uploads/2017/05/shipping_1_method.png 481w, https://firstclasscode.com/wp-content/uploads/2017/05/shipping_1_method-263x300.png 263w" sizes="(max-width: 481px) 100vw, 481px" /></p>
<p>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 <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
<p><strong>Do you need help getting your WooCommerce store to work the way you want?</strong> I am available for web design and development at affordable rates! You can get in touch with me by visiting my <a href="https://firstclasscode.com/contact/">contact page</a>.</p>
<p>The post <a href="https://firstclasscode.com/woocommerce-guide-disable-free-shipping-specific-method-active/">WooCommerce: Disable Free Shipping if another shipping method is active</a> appeared first on <a href="https://firstclasscode.com">First Class Code</a>.</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
