<?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>UPS Shipping Method - CODIBU</title>
	<atom:link href="https://help.codibu.com/kbtopic/ups-shipping-method/feed/" rel="self" type="application/rss+xml" />
	<link>https://help.codibu.com</link>
	<description>Hosting &#38; Domain,  Development &#38; Design, SEO &#38; Marketing, 2300+ Themes &#38; Plugins, Free SEO analysis &#38; tools</description>
	<lastBuildDate>Sun, 08 Nov 2020 15:45:31 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	

<image>
	<url>https://help.codibu.com/wp-content/uploads/2022/07/favicon.png</url>
	<title>UPS Shipping Method - CODIBU</title>
	<link>https://help.codibu.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>UPS Shipping Method</title>
		<link>https://help.codibu.com/blog/ups-shipping-method/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=ups-shipping-method</link>
					<comments>https://help.codibu.com/blog/ups-shipping-method/#respond</comments>
		
		<dc:creator><![CDATA[JN C]]></dc:creator>
		<pubDate>Sun, 08 Nov 2020 15:45:31 +0000</pubDate>
				<guid isPermaLink="false">https://help.codibu.com/kb/ups-shipping-method/</guid>

					<description><![CDATA[<p>UPS Shipping Method allows you to get shipping rates from the UPS API. It requires that your server uses SimpleXML. The extension primarily works with measurements in Inches (in) and weight in Pounds (lbs),<span class="excerpt-hellip"> […]</span></p>
<p>The post <a href="https://help.codibu.com/blog/ups-shipping-method/">UPS Shipping Method</a> first appeared on <a href="https://help.codibu.com">CODIBU</a>.</p>]]></description>
										<content:encoded><![CDATA[<p><a href="https://help.codibu.com/blog/kb/ups-shipping-method/" rel="noopener noreferrer">UPS Shipping Method</a> allows you to get shipping rates from the UPS API. It requires that your server uses SimpleXML. The extension primarily works with measurements in <strong>Inches (in)</strong> and weight in <strong>Pounds (lbs)</strong>, but other units can be converted automatically. Returned rates’ currency is based on origin country in the shipping instance setting.</p>
<p>UPS can calculate quotes for both domestic and international parcels.</p>
<div class="woo-sc-box note   "><strong>Note</strong><b>:</b> This extension does not handle freight shipping, and there is a weight limit of 150 lbs. The API and the built-in box packer require that non-virtual products have weights and dimensions set. More at: <a href="https://help.codibu.com/blog/kb/adding-shipping-dimensions-to-products/" rel="noopener noreferrer">Adding Shipping Dimensions and Weights to Products</a>.</div>
<h2 id="section-1">Installation</h2>
<ol>
<li>Download the extension from your <a href="https://woocommerce.com/my-account/downloads/">WooCommerce dashboard.</a></li>
<li>Go to <strong>Plugins &gt; Add New &gt; Upload</strong> and select the ZIP file you just downloaded.</li>
<li>Click Install Now, and then Activate.</li>
</ol>
<p>More information at: <span class="woo-sc-ilink"><a class="info" href="https://help.codibu.com/blog/kb/managing-plugins/#Installing_Plugins">Installing and Managing Plugins</a></span>.</p>
<h2 id="section-2"><strong>API &amp; Debug </strong></h2>
<p><strong>Go to</strong>: <strong>WooCommerce &gt; Settings &gt; Shipping &gt; UPS</strong>.</p>
<ol>
<li><strong>UPS User ID</strong> – Get your UPS User ID from the developer site by signing up at UPS Developer Kit.</li>
<li><strong>UPS Password</strong> – Set by you during signup.</li>
<li><strong>UPS Access Key</strong> – Sent to you after signup.</li>
<li><strong>UPS Account Number</strong> – Sent to you after signup.</li>
<li><strong>Customer Classification </strong>– Determines what rates are returned. Note that Retail Rates will match the online calculator.</li>
<li><strong>Debug Mode</strong> – Enable/disable debug mode to show debugging information on your cart/checkout.</li>
<li><strong>Save changes</strong>.</li>
</ol>
<h2 id="section-3">Configuration</h2>
<ol>
<li><strong>Go to</strong>: <strong>WooCommerce &gt; Settings &gt; Shipping</strong>.</li>
<li><strong>Select</strong> your Shipping Zone that you want to add the method to, and press the Add shipping method + button on the right<br />
<a href="https://help.codibu.com/wp-content/uploads/2020/11/selectflatboxes.png"><img fetchpriority="high" decoding="async" class="aligncenter size-full wp-image-10737" src="https://help.codibu.com/wp-content/uploads/2020/11/selectflatboxes.png" alt="" width="2154" height="344" /></a>
</li>
<li><strong>Select</strong> UPS from the dropdown and press Add shipping method:<br />
<a href="https://help.codibu.com/wp-content/uploads/2020/11/screen-shot-2016-10-07-at-11-09-04-am.png"><img decoding="async" class="aligncenter size-full wp-image-10735" src="https://help.codibu.com/wp-content/uploads/2020/11/screen-shot-2016-10-07-at-11-09-04-am.png" alt="" width="545" height="296" /></a>
</li>
<li><strong>Configure</strong> the settings:
<ul>
<li><strong>Method &amp; Origin Settings</strong>
<ol>
<li><strong>Method Title </strong>– Name the shipping method. This is visible to customers.</li>
<li><strong>Origin City</strong> – Enter city you are sending from.</li>
<li><strong>Origin Postcode</strong> – Set to the postcode from where you ship. It is sent to the UPS API.</li>
<li><strong>Origin Country</strong> – Set to the country from where you ship. It is sent to the UPS API.</li>
</ol>
</li>
<li><strong>Services and Packaging</strong>
<ol>
<li><strong>Services</strong> – Choose to rename and/or rearrange the order of UPS shipping rates.</li>
<li><strong>Offer Rates</strong> – Select whether to display all rates available or only the cheapest.</li>
<li><strong>Negotiated Rates</strong> – Enable negotiated rates or not. More at: Account-Specific Negotiated Rates. This must be approved by UPS, or the API returns an error. It is sent to the UPS API.</li>
<li><strong>Delivery Confirmation</strong> – Optionally you may charge customers for delivery confirmation. This just adds the specified amount to the returned rates.</li>
<li><strong>Parcel Packing Method</strong> – See below.</li>
<li><strong>UPS Packaging</strong> – You can select from a built-in list of standard UPS packaging to use.</li>
<li><strong>Custom Boxes</strong> – Here you can add custom box sizes to pack into.</li>
</ol>
</li>
<li><strong>Advanced Options</strong>
<ol>
<li><strong>Origin Address</strong> – Sometimes you may need to enter the address for the sender/origin.</li>
<li><strong>Residential</strong> – Choose whether to indicate deliveries as residential or commercial addresses.<br />
* Users are permitted to enter PO Boxes as a shipping address, even though UPS does not allow it.</li>
<li><strong>Insured value</strong> – Request Insurance to be included in UPS rates.</li>
<li><strong>Fallback</strong> – Enter a fallback amount for shipping, if no rates are found.</li>
<li><strong>Weight/Dimension Units</strong> – Only change this if you’re getting the “This measurement system is not valid for the selected country method.”</li>
</ol>
</li>
</ul>
</li>
</ol>
<div class="woo-sc-box note   "><strong>Note:</strong> The UPS shipping extension is a calculator for all products in the cart and does not exclude products based on shipping classes.</div>
<h2 id="section-4">Parcel Packing Methods</h2>
<p>There are two packing methods with UPS, and each affects the parcels you send to the API.</p>
<h3 id="section-5">Pack items individually (Default)</h3>
<p>Each item in your cart (non-virtual) is sent to the UPS API. Quotes for all items are combined to calculate the final cost. Only the weight is required, but also entering product dimensions produces a more accurate quote. For even more accuracy, we recommend the box packer method.</p>
<p>To use this method, <a title="WooCommerce How to add a product" href="https://help.codibu.com/blog/kb/adding-and-managing-products/">add a new product</a> then scroll down to <strong>Product Data &gt; Shipping</strong> to enter the product dimensions.</p>
<h3 id="section-6">Pack into boxes with weights and dimensions (Recommended)</h3>
<p>Using this method, you create your own custom box sizes in UPS Settings. The extension uses the weight/dimensions of products added to the cart, filling the custom box size from smallest to largest based on volume and size, then sends the number of boxes/size to the UPS API for a shipping estimate. Both product weight and dimensions are needed for this option to accurately calculate what boxes are needed.</p>
<p>Selecting this option you must follow the steps listed below for <strong>UPS Packaging</strong> or <strong>Custom Box Packing</strong> for this method to work.</p>
<h2 id="section-7">UPS Packaging</h2>
<p>UPS offers standard boxes for shipping. <strong>UPS Packaging</strong>:</p>
<p><a href="https://help.codibu.com/wp-content/uploads/2020/11/UPS-Packaging-Settings.jpg"><img decoding="async" class="aligncenter size-full wp-image-10768" src="https://help.codibu.com/wp-content/uploads/2020/11/UPS-Packaging-Settings.jpg" alt="" width="1215" height="421" /></a></p>
<p>Start typing the package you want to include, and it auto-populates the field for you.</p>
<div class="woo-sc-box note   "><strong>Note:</strong> If you choose <strong>Pack into boxes with weights and dimensions (Recommended)</strong> but have not chosen any UPS Packaging, nor defined any custom boxes (as explained below), the plugin displays the error message: “UPS is enabled, and Parcel Packing Method is set to ‘Pack into boxes’, but no UPS Packaging is selected and there are no custom boxes defined. Items will be packed individually.”</div>
<h2 id="section-8">Custom Box-Packing</h2>
<p>The box packer included with this shipping method groups items into boxes that you define by height, width, length, weight, and max-weight. The packing is mainly <strong>volume based</strong>, but also considers item sizes.</p>
<div class="woo-sc-box note   ">The box packer is volume based. In most cases, this provides good results but is never as accurate as a real person packing a box (see BIN Packing Problem). Therefore, it is important to understand that packing results are as accurate as they can be, and any anomalies should be acceptable.</div>
<h3 id="section-9">Setting up box sizes</h3>
<ol>
<li><strong>Go to</strong>: <strong>WooCommerce &gt; Settings &gt; Shipping</strong>.</li>
<li><strong>Select</strong> your Shipping Zone containing UPS, then click <strong>UPS</strong></li>
<li>Scroll down to<strong> Custom Boxes</strong> and select <strong>Add Box</strong> to set up box dimensions:</li>
</ol>
<figure id="attachment_152458" class="wp-caption alignnone" aria-describedby="caption-attachment-152458">
<a href="https://help.codibu.com/wp-content/uploads/2020/11/UPS-Custom-box-packer.png"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-10765" src="https://help.codibu.com/wp-content/uploads/2020/11/UPS-Custom-box-packer.png" alt="" width="1253" height="251" /></a><br />
<br /><figcaption id="caption-attachment-152458" class="wp-caption-text">Box Settings</figcaption></figure>
<p><strong>Outer dimensions</strong> are used for parcel dimensions and are passed to the API.</p>
<p><strong>Inner dimensions</strong> are used for packing, and items should fit within these.</p>
<p><strong>Box weight</strong> is the weight of the actual box, and is added to the weight of contents.</p>
<p><strong>Max weight</strong> is the maximum weight your box can hold. This includes contents weight and box weight.</p>
<h3 id="section-10">How the calculation works</h3>
<p>The packer:</p>
<ol>
<li>Finds boxes that fit items being packed (uses H x W x D).</li>
<li>Packs all fitting items into boxes (using volume).</li>
<li>Uses the smallest box that fits 100% of items *or* uses the highest % packed box, and then passes unpacked items back and repeats the process.</li>
<li>Packs unpackable items alone, using item dimensions.</li>
<li>Returns all packed boxes.</li>
</ol>
<h2 id="section-11">Handling Fees</h2>
<p>To add handling fees to shipping calculations, you can use a Price Adjustment column in the Services section. Each UPS service can be increased or decreased (by adding the “-” sign) separately, using price adjustment columns in the row.</p>
<p>Use the Price Adjustment ($) column to add a flat amount to the shipping quote. In this example, the 3-Day Select and Ground shipping methods are increased by $3.50.</p>
<p><a href="https://help.codibu.com/wp-content/uploads/2020/11/ups-handling-flat.png"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-10766" src="https://help.codibu.com/wp-content/uploads/2020/11/ups-handling-flat.png" alt="" width="2048" height="203" /></a></p>
<p>Use the Price Adjustment (%) to increase the shipping quote by a percentage. In this example, the 3-Day Select and Ground shipping methods are increased by 1% of the quote returned by UPS.</p>
<p><a href="https://help.codibu.com/wp-content/uploads/2020/11/ups-handling-percentage.png"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-10767" src="https://help.codibu.com/wp-content/uploads/2020/11/ups-handling-percentage.png" alt="" width="2048" height="209" /></a></p>
<h2 id="section-12">Customer Usage</h2>
<p>Customers get quotes, after inputting their address, from two places:</p>
<ul>
<li>Cart page – via the shipping calculator</li>
<li>Checkout page – via the shipping and billing forms</li>
</ul>
<div>Rates can be selected by customers as normal.</div>
<div>
<a href="https://help.codibu.com/wp-content/uploads/2020/11/ups-checkout-options.png"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-10764" src="https://help.codibu.com/wp-content/uploads/2020/11/ups-checkout-options.png" alt="" width="639" height="784" /></a>
</div>
<div> </div>
<h2 id="section-13">Available Shipping Services for UPS Extension</h2>
<p>These services are included with the UPS Shipping extension:</p>
<p><strong>Domestic</strong></p>
<p>3-Day Select<br />
Ground<br />
2nd Day Air<br />
2nd Day Air AM<br />
Next Day Air<br />
Next Day Air Saver<br />
Next Day Air Early AM</p>
<p><strong>International</strong></p>
<p>Standard<br />
Worldwide Express<br />
Worldwide Express Plus<br />
Worldwide Expedited Standard<br />
Worldwide Saver</p>
<h2 id="section-14">FAQ</h2>
<h3 id="section-15">I dropship items. Can I use multiple origin zip codes?</h3>
<p>No, the WooCommerce UPS extension currently uses one origin zip code to request quotes from UPS.</p>
<h3 id="section-16">Does this create shipping labels and tracking codes?</h3>
<p>No it does not. It provides the integration between UPS and WooCommerce, so you can calculate shipping rates for customers and collect the correct amount of payment in checkout.</p>
<p>You get shipping labels and tracking numbers directly from UPS or can buy a different plugin to handle that for you.</p>
<h3 id="section-17">Rates are not in the correct currency</h3>
<p>UPS will use the currency that is enabled on your account. So if your site uses a different currency then the one which is set on the account, the rates won’t be returned. If the debug setting is enabled this will be indicated with a warning like:<br />
<code>[UPS] Rate for Standard (UPS) is in USD but store currency is EUR.</code></p>
<p>If you need to convert these rates to the correct currency we would suggest using the <a href="https://help.codibu.com/blog/kb/woocommerce-multi-currency/">Multi Currency extension</a> and setting up a conversion rate for both the account currency and the store currency.</p>
<h2 id="section-18">Troubleshooting</h2>
<h3 id="section-19">No rates returned/no rates available</h3>
<ul>
<li>Confirm that your API credentials are correct.</li>
<li>Enable development mode, or turn on WP_DEBUG to see debugging information on the cart page. This often reveals the issue.</li>
<li>Check that your products have sizes and weights set – without this, the calculation cannot be performed.</li>
</ul>
<h2 id="section-20">Customize</h2>
<p>If you would like to remove UPS as a shipping option for some shipping classes you can use the <a href="https://help.codibu.com/blog/kb/conditional-shipping-and-payments/">WooCommerce Conditional Shipping and Payments</a> extension.</p>
<p>Or you can use code to do this.</p>
<div class="woo-sc-box note   "><strong>Note:</strong> The following is considered <strong>custom code. </strong>We are happy to give it to you, but we are unable to provide support or help customize it to suit your store. Only use it if you are comfortable with PHP and custom coding and troubleshooting on your own.</div>
<p>You can add the following code to your <code>functions.php</code>. You need to change shipping classes used on the 14th line:</p>
<div id="gist87967944" class="gist">
<div class="gist-file">
<div class="gist-data">
<div class="js-gist-file-update-container js-task-list-container file-box">
<div id="file-ups-remove-shipping-for-specific-classes-php" class="file my-2">
<div class="Box-body p-0 blob-wrapper data type-php  ">
<table class="highlight tab-size js-file-line-container" data-tab-size="8" data-paste-markdown-skip="">
<tbody>
<tr>
<td id="file-ups-remove-shipping-for-specific-classes-php-L1" class="blob-num js-line-number" data-line-number="1"> </td>
<td id="file-ups-remove-shipping-for-specific-classes-php-LC1" class="blob-code blob-code-inner js-file-line"><span class="pl-c">/**</span></td>
</tr>
<tr>
<td id="file-ups-remove-shipping-for-specific-classes-php-L2" class="blob-num js-line-number" data-line-number="2"> </td>
<td id="file-ups-remove-shipping-for-specific-classes-php-LC2" class="blob-code blob-code-inner js-file-line"><span class="pl-c"> * Check the cart for specific classes, remove UPS Shipping method if they are present</span></td>
</tr>
<tr>
<td id="file-ups-remove-shipping-for-specific-classes-php-L3" class="blob-num js-line-number" data-line-number="3"> </td>
<td id="file-ups-remove-shipping-for-specific-classes-php-LC3" class="blob-code blob-code-inner js-file-line"><span class="pl-c"> * </span></td>
</tr>
<tr>
<td id="file-ups-remove-shipping-for-specific-classes-php-L4" class="blob-num js-line-number" data-line-number="4"> </td>
<td id="file-ups-remove-shipping-for-specific-classes-php-LC4" class="blob-code blob-code-inner js-file-line"><span class="pl-c"> * REMOVE THE TOP &lt;?php if there is no ?&gt; before (or you have an error after adding this)</span></td>
</tr>
<tr>
<td id="file-ups-remove-shipping-for-specific-classes-php-L5" class="blob-num js-line-number" data-line-number="5"> </td>
<td id="file-ups-remove-shipping-for-specific-classes-php-LC5" class="blob-code blob-code-inner js-file-line"><span class="pl-c"> * </span></td>
</tr>
<tr>
<td id="file-ups-remove-shipping-for-specific-classes-php-L6" class="blob-num js-line-number" data-line-number="6"> </td>
<td id="file-ups-remove-shipping-for-specific-classes-php-LC6" class="blob-code blob-code-inner js-file-line"><span class="pl-c"> * Add the code to your theme functions.php file</span></td>
</tr>
<tr>
<td id="file-ups-remove-shipping-for-specific-classes-php-L7" class="blob-num js-line-number" data-line-number="7"> </td>
<td id="file-ups-remove-shipping-for-specific-classes-php-LC7" class="blob-code blob-code-inner js-file-line"><span class="pl-c"> */</span></td>
</tr>
<tr>
<td id="file-ups-remove-shipping-for-specific-classes-php-L8" class="blob-num js-line-number" data-line-number="8"> </td>
<td id="file-ups-remove-shipping-for-specific-classes-php-LC8" class="blob-code blob-code-inner js-file-line">add_filter( &#8216;woocommerce_package_rates&#8217;, &#8216;unset_ups_shipping_method&#8217; , 10, 2 );</td>
</tr>
<tr>
<td id="file-ups-remove-shipping-for-specific-classes-php-L9" class="blob-num js-line-number" data-line-number="9"> </td>
<td id="file-ups-remove-shipping-for-specific-classes-php-LC9" class="blob-code blob-code-inner js-file-line">function unset_ups_shipping_method( $rates, $package ) {</td>
</tr>
<tr>
<td id="file-ups-remove-shipping-for-specific-classes-php-L10" class="blob-num js-line-number" data-line-number="10"> </td>
<td id="file-ups-remove-shipping-for-specific-classes-php-LC10" class="blob-code blob-code-inner js-file-line"> </td>
</tr>
<tr>
<td id="file-ups-remove-shipping-for-specific-classes-php-L11" class="blob-num js-line-number" data-line-number="11"> </td>
<td id="file-ups-remove-shipping-for-specific-classes-php-LC11" class="blob-code blob-code-inner js-file-line">// Setup an array of shipping classes that do not allow UPS Shipping (@todo change this)</td>
</tr>
<tr>
<td id="file-ups-remove-shipping-for-specific-classes-php-L12" class="blob-num js-line-number" data-line-number="12"> </td>
<td id="file-ups-remove-shipping-for-specific-classes-php-LC12" class="blob-code blob-code-inner js-file-line">$shippingclass_array = array( &#8216;no-ups&#8217; );</td>
</tr>
<tr>
<td id="file-ups-remove-shipping-for-specific-classes-php-L13" class="blob-num js-line-number" data-line-number="13"> </td>
<td id="file-ups-remove-shipping-for-specific-classes-php-LC13" class="blob-code blob-code-inner js-file-line"> </td>
</tr>
<tr>
<td id="file-ups-remove-shipping-for-specific-classes-php-L14" class="blob-num js-line-number" data-line-number="14"> </td>
<td id="file-ups-remove-shipping-for-specific-classes-php-LC14" class="blob-code blob-code-inner js-file-line">/**</td>
</tr>
<tr>
<td id="file-ups-remove-shipping-for-specific-classes-php-L15" class="blob-num js-line-number" data-line-number="15"> </td>
<td id="file-ups-remove-shipping-for-specific-classes-php-LC15" class="blob-code blob-code-inner js-file-line">* loop through the cart looking for the products in the array above</td>
</tr>
<tr>
<td id="file-ups-remove-shipping-for-specific-classes-php-L16" class="blob-num js-line-number" data-line-number="16"> </td>
<td id="file-ups-remove-shipping-for-specific-classes-php-LC16" class="blob-code blob-code-inner js-file-line">* and unset the Free shipping methods as necessary</td>
</tr>
<tr>
<td id="file-ups-remove-shipping-for-specific-classes-php-L17" class="blob-num js-line-number" data-line-number="17"> </td>
<td id="file-ups-remove-shipping-for-specific-classes-php-LC17" class="blob-code blob-code-inner js-file-line">*/</td>
</tr>
<tr>
<td id="file-ups-remove-shipping-for-specific-classes-php-L18" class="blob-num js-line-number" data-line-number="18"> </td>
<td id="file-ups-remove-shipping-for-specific-classes-php-LC18" class="blob-code blob-code-inner js-file-line">foreach ( WC()-<span class="pl-kos">&gt;</span>cart-<span class="pl-kos">&gt;</span>get_cart() as $cart_item_key =<span class="pl-kos">&gt;</span> $values ) {</td>
</tr>
<tr>
<td id="file-ups-remove-shipping-for-specific-classes-php-L19" class="blob-num js-line-number" data-line-number="19"> </td>
<td id="file-ups-remove-shipping-for-specific-classes-php-LC19" class="blob-code blob-code-inner js-file-line">$shipping_class = get_the_terms( $values[&#8216;product_id&#8217;], &#8216;product_shipping_class&#8217; );</td>
</tr>
<tr>
<td id="file-ups-remove-shipping-for-specific-classes-php-L20" class="blob-num js-line-number" data-line-number="20"> </td>
<td id="file-ups-remove-shipping-for-specific-classes-php-LC20" class="blob-code blob-code-inner js-file-line"> </td>
</tr>
<tr>
<td id="file-ups-remove-shipping-for-specific-classes-php-L21" class="blob-num js-line-number" data-line-number="21"> </td>
<td id="file-ups-remove-shipping-for-specific-classes-php-LC21" class="blob-code blob-code-inner js-file-line">if ( isset( $shipping_class[0]-<span class="pl-kos">&gt;</span>slug ) &amp;&amp; in_array( $shipping_class[0]-<span class="pl-kos">&gt;</span>slug, $shippingclass_array ) ) {</td>
</tr>
<tr>
<td id="file-ups-remove-shipping-for-specific-classes-php-L22" class="blob-num js-line-number" data-line-number="22"> </td>
<td id="file-ups-remove-shipping-for-specific-classes-php-LC22" class="blob-code blob-code-inner js-file-line">/**</td>
</tr>
<tr>
<td id="file-ups-remove-shipping-for-specific-classes-php-L23" class="blob-num js-line-number" data-line-number="23"> </td>
<td id="file-ups-remove-shipping-for-specific-classes-php-LC23" class="blob-code blob-code-inner js-file-line">* Unset the shipping methods here</td>
</tr>
<tr>
<td id="file-ups-remove-shipping-for-specific-classes-php-L24" class="blob-num js-line-number" data-line-number="24"> </td>
<td id="file-ups-remove-shipping-for-specific-classes-php-LC24" class="blob-code blob-code-inner js-file-line">*/</td>
</tr>
<tr>
<td id="file-ups-remove-shipping-for-specific-classes-php-L25" class="blob-num js-line-number" data-line-number="25"> </td>
<td id="file-ups-remove-shipping-for-specific-classes-php-LC25" class="blob-code blob-code-inner js-file-line">unset( $rates[&#8216;ups:01&#8217;] );</td>
</tr>
<tr>
<td id="file-ups-remove-shipping-for-specific-classes-php-L26" class="blob-num js-line-number" data-line-number="26"> </td>
<td id="file-ups-remove-shipping-for-specific-classes-php-LC26" class="blob-code blob-code-inner js-file-line">unset( $rates[&#8216;ups:02&#8217;] );</td>
</tr>
<tr>
<td id="file-ups-remove-shipping-for-specific-classes-php-L27" class="blob-num js-line-number" data-line-number="27"> </td>
<td id="file-ups-remove-shipping-for-specific-classes-php-LC27" class="blob-code blob-code-inner js-file-line">unset( $rates[&#8216;ups:03&#8217;] );</td>
</tr>
<tr>
<td id="file-ups-remove-shipping-for-specific-classes-php-L28" class="blob-num js-line-number" data-line-number="28"> </td>
<td id="file-ups-remove-shipping-for-specific-classes-php-LC28" class="blob-code blob-code-inner js-file-line">unset( $rates[&#8216;ups:04&#8217;] );</td>
</tr>
<tr>
<td id="file-ups-remove-shipping-for-specific-classes-php-L29" class="blob-num js-line-number" data-line-number="29"> </td>
<td id="file-ups-remove-shipping-for-specific-classes-php-LC29" class="blob-code blob-code-inner js-file-line">unset( $rates[&#8216;ups:05&#8217;] );</td>
</tr>
<tr>
<td id="file-ups-remove-shipping-for-specific-classes-php-L30" class="blob-num js-line-number" data-line-number="30"> </td>
<td id="file-ups-remove-shipping-for-specific-classes-php-LC30" class="blob-code blob-code-inner js-file-line">unset( $rates[&#8216;ups:06&#8217;] );</td>
</tr>
<tr>
<td id="file-ups-remove-shipping-for-specific-classes-php-L31" class="blob-num js-line-number" data-line-number="31"> </td>
<td id="file-ups-remove-shipping-for-specific-classes-php-LC31" class="blob-code blob-code-inner js-file-line">unset( $rates[&#8216;ups:07&#8217;] );</td>
</tr>
<tr>
<td id="file-ups-remove-shipping-for-specific-classes-php-L32" class="blob-num js-line-number" data-line-number="32"> </td>
<td id="file-ups-remove-shipping-for-specific-classes-php-LC32" class="blob-code blob-code-inner js-file-line">unset( $rates[&#8216;ups:08&#8217;] );</td>
</tr>
<tr>
<td id="file-ups-remove-shipping-for-specific-classes-php-L33" class="blob-num js-line-number" data-line-number="33"> </td>
<td id="file-ups-remove-shipping-for-specific-classes-php-LC33" class="blob-code blob-code-inner js-file-line">unset( $rates[&#8216;ups:09&#8217;] );</td>
</tr>
<tr>
<td id="file-ups-remove-shipping-for-specific-classes-php-L34" class="blob-num js-line-number" data-line-number="34"> </td>
<td id="file-ups-remove-shipping-for-specific-classes-php-LC34" class="blob-code blob-code-inner js-file-line">unset( $rates[&#8216;ups:10&#8217;] );</td>
</tr>
<tr>
<td id="file-ups-remove-shipping-for-specific-classes-php-L35" class="blob-num js-line-number" data-line-number="35"> </td>
<td id="file-ups-remove-shipping-for-specific-classes-php-LC35" class="blob-code blob-code-inner js-file-line">unset( $rates[&#8216;ups:11&#8217;] );</td>
</tr>
<tr>
<td id="file-ups-remove-shipping-for-specific-classes-php-L36" class="blob-num js-line-number" data-line-number="36"> </td>
<td id="file-ups-remove-shipping-for-specific-classes-php-LC36" class="blob-code blob-code-inner js-file-line">unset( $rates[&#8216;ups:12&#8217;] );</td>
</tr>
<tr>
<td id="file-ups-remove-shipping-for-specific-classes-php-L37" class="blob-num js-line-number" data-line-number="37"> </td>
<td id="file-ups-remove-shipping-for-specific-classes-php-LC37" class="blob-code blob-code-inner js-file-line">unset( $rates[&#8216;ups:13&#8217;] );</td>
</tr>
<tr>
<td id="file-ups-remove-shipping-for-specific-classes-php-L38" class="blob-num js-line-number" data-line-number="38"> </td>
<td id="file-ups-remove-shipping-for-specific-classes-php-LC38" class="blob-code blob-code-inner js-file-line">unset( $rates[&#8216;ups:14&#8217;] );</td>
</tr>
<tr>
<td id="file-ups-remove-shipping-for-specific-classes-php-L39" class="blob-num js-line-number" data-line-number="39"> </td>
<td id="file-ups-remove-shipping-for-specific-classes-php-LC39" class="blob-code blob-code-inner js-file-line">unset( $rates[&#8216;ups:15&#8217;] );</td>
</tr>
<tr>
<td id="file-ups-remove-shipping-for-specific-classes-php-L40" class="blob-num js-line-number" data-line-number="40"> </td>
<td id="file-ups-remove-shipping-for-specific-classes-php-LC40" class="blob-code blob-code-inner js-file-line"> </td>
</tr>
<tr>
<td id="file-ups-remove-shipping-for-specific-classes-php-L41" class="blob-num js-line-number" data-line-number="41"> </td>
<td id="file-ups-remove-shipping-for-specific-classes-php-LC41" class="blob-code blob-code-inner js-file-line">// The rates have been removed, no point in carrying on</td>
</tr>
<tr>
<td id="file-ups-remove-shipping-for-specific-classes-php-L42" class="blob-num js-line-number" data-line-number="42"> </td>
<td id="file-ups-remove-shipping-for-specific-classes-php-LC42" class="blob-code blob-code-inner js-file-line">//break;</td>
</tr>
<tr>
<td id="file-ups-remove-shipping-for-specific-classes-php-L43" class="blob-num js-line-number" data-line-number="43"> </td>
<td id="file-ups-remove-shipping-for-specific-classes-php-LC43" class="blob-code blob-code-inner js-file-line">}</td>
</tr>
<tr>
<td id="file-ups-remove-shipping-for-specific-classes-php-L44" class="blob-num js-line-number" data-line-number="44"> </td>
<td id="file-ups-remove-shipping-for-specific-classes-php-LC44" class="blob-code blob-code-inner js-file-line">}</td>
</tr>
<tr>
<td id="file-ups-remove-shipping-for-specific-classes-php-L45" class="blob-num js-line-number" data-line-number="45"> </td>
<td id="file-ups-remove-shipping-for-specific-classes-php-LC45" class="blob-code blob-code-inner js-file-line"> </td>
</tr>
<tr>
<td id="file-ups-remove-shipping-for-specific-classes-php-L46" class="blob-num js-line-number" data-line-number="46"> </td>
<td id="file-ups-remove-shipping-for-specific-classes-php-LC46" class="blob-code blob-code-inner js-file-line">// Return what&#8217;s left of the $rates array</td>
</tr>
<tr>
<td id="file-ups-remove-shipping-for-specific-classes-php-L47" class="blob-num js-line-number" data-line-number="47"> </td>
<td id="file-ups-remove-shipping-for-specific-classes-php-LC47" class="blob-code blob-code-inner js-file-line">return $rates;</td>
</tr>
<tr>
<td id="file-ups-remove-shipping-for-specific-classes-php-L48" class="blob-num js-line-number" data-line-number="48"> </td>
<td id="file-ups-remove-shipping-for-specific-classes-php-LC48" class="blob-code blob-code-inner js-file-line">}</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
</div><p>The post <a href="https://help.codibu.com/blog/ups-shipping-method/">UPS Shipping Method</a> first appeared on <a href="https://help.codibu.com">CODIBU</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>https://help.codibu.com/blog/ups-shipping-method/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
