Hide ‘FedEx Ground’ for specific zip code

The code snippet facilitates you to hide the shipping service - FedEx Ground. You can hide this shipping service in a cart/checkout page for specified zip code. Add the following code to your functions.php or anywhere relevant. In the above code: - $woocommerce->customer->get_shipping_postcode() returns the zip code of destination. - $zip_array contains the zip codes for which you want to hide FedEx Ground shipping service. If the destination zip code matches with the zip code in $zip_array,  unset the rate for FEDEX_GROUND and return $rates.

Code snippet to display shipping phone number in label in place of billing phone number

This code snippet displays shipping phone number in a label in place of billing phone number. Add the following code in Appearance --> Editor --> functions.php. The screenshot below shows the billing and shipping address and phone numbers. Without Using Snippet : The billing phone number appears in label After using Snippet : The shipping phone number appears in label. .button { border-radius: 5px; background-color: #5472D2; border: none; color: #FFFFFF; text-align: center; font-size: 35px; padding: 20px; width: 200px; [...]

Print Invoice, Packing Slip, Delivery Note & Label – Change Label in the document.

WooCommerce Print Invoice, Packing Slip, Delivery Note & Label Plugin helps you tomatically generated at the time of order completion. Code Snippet to replace Invoice Name. Below code snippet will let you replace VAT name. You have to the VAT name you are using. Changed Invoice Name

Print Invoice, Packing Slip, Delivery Note & Label – Remove Order Number and Order Weight in Labels

WooCommerce Print Invoice, Packing Slip, Delivery Note & Label Plugin helps you tomatically generated at the time of order completion. Code Snippet to remove Order Number and Weight in Shipping Label. Below code snippet will let you remove order number and weight in shipping label. Label with Order Number and Weight   Label without Order Number and Weight

Print Invoice, Packing Slip, Delivery Note & Label – Change Invoice Name

WooCommerce Print Invoice, Packing Slip, Delivery Note & Label Plugin helps you tomatically generated at the time of order completion. Code Snippet to replace Invoice Name. Below code snippet will let you replace invoice name. You have to the invoice name you are using. Changed Invoice Name

WooCommerce Print Invoice, Packing Slip, Delivery Note & Label – Customize Invoice Footer

WooCommerce Print Invoice, Packing Slip, Delivery Note & Label Plugin helps you tomatically generated at the time of order completion. Code Snippet to replace Invoice Footer. Below code snippet will let you replace footer content with your own custom footer information you are using. Individual Order   Invoice

Export Customer Roles Along with Order Details from WooCommerce.

For exporting customer role for the orders using Order Export Import Plugin for WooCommerce below code snippet can be used in the child theme’s functions.php Please refer this updated article if you have Order Export Import Plugin version greater than 1.1.0. Below article is only relevant for prior versions.