Hide UPS Services for Shipments Weighing more than 10lbs and Show only FedExBy / February 15, 2018 [vc_cta h2=”UPS Shipping Plugin for WooCommerce”] #1 in WordPress Official Plugin Repository With 10,000+ Active Installs 97% Customer Satisfaction Rating XAdapter Guarantee: Get Your Money Back if You Are Not Satisfied With The Product [/vc_cta]By using the shipping plugins sto control the display of the shipping services is a highly requested feature. In this article, we will show you how tomatically hidden on the Cart or Checkout page. So, let us quickly get on with the article. Initially, you need tor–> Theme functions(functions.php) and then click on Update File. We are going to hide. In the following line of code, you can see many shipping methods. $shipping_services_to_hide = array( ‘wf_shipping_ups:13’, ‘wf_shipping_ups:14’, ‘wf_shipping_ups:01’, ‘wf_shipping_ups:59’, ‘wf_shipping_ups:03’, ‘wf_shipping_ups:02’, ‘wf_shipping_ups:12’, ); These shipping service names are termed as value. They can be obtained by selecting the respective services on the cart page. Thereafter, you need to Inspect that service and you would obtain the service value. You can refer the following video for the same. By following these steps, you can choose the choice of services and then paste it in the code snippet. After do that in the following line of code. if($weight_oz > 10) Here, you can choose to define the weight limit of 10lbs. So, whenever the order weight crosses the threshold of this weight, only FedEx services will be visible. You can refer the following video that shows that working of this code snippet. https://www.xadapter.com/wp-content/uploads/2018/02/hide_shipping.mp4