Hide a Shipping Method Above a Weight
Removes a light-parcel option, such as letter post or a small flat rate, when the order is heavier than that service allows.
Snippet Library
3,040 free snippets from the WPIDE team and the community. Copy the code, or add any snippet to your site in one click with WPIDE.
Removes a light-parcel option, such as letter post or a small flat rate, when the order is heavier than that service allows.
Removes a shipping method, such as local pickup or express delivery, when the cart contains a product from a specific shipping class (for example bulky items).
Makes WooCommerce delete its log entries (payment gateways, shipping, webhooks and more) after 7 days instead of 30, keeping the log table and folder small.
Stops checkout when an address line is longer than your carrier's label allows (often 35 characters) and asks the customer to use the second line.
Adds an "Open in Maps" link under the shipping address in the shop's new order email, handy for local delivery drivers.
Prevents checkout when the products in the cart weigh more than your carrier allows and tells the customer by how much they are over.
Shows a method such as local delivery or same-day courier only when the shipping postcode matches your list or starts with one of your prefixes.
Opens the Divi toggle or accordion item whose CSS ID matches the address hash (for example #shipping) and scrolls to it, so you can link straight to an answer.
Offers a "Protect my parcel" checkbox on the classic checkout that adds an insurance fee based on the order value, and updates the totals instantly.
Adds a phone field to the classic checkout's shipping address, so couriers can reach the recipient when an order is sent to someone else.
Sends paid orders above an amount to "On hold" instead of "Processing", so you can check them for fraud before shipping.
Adds a surcharge to the order when the shipping postcode is in a remote area you list, such as islands or highland regions that carriers charge extra for.
Changes the order of checkout address fields, for example country first and postcode before city, to match how addresses are written in your market.
Preselects the lowest-priced shipping option for new carts instead of whichever method happens to be first in the zone.
Adds an extra recipient to the "New order" email when the order contains products from a category, so suppliers or warehouse teams only get the orders they fulfil.
Pre-selects a billing and shipping country on checkout for new customers, which saves most of your buyers a step.
Stops checkout when the cart contains products from a restricted category, such as batteries or plants, and the shipping country is not on your allowed list.
Shows the chosen shipping method of each order in the admin orders list, so you can spot express and pickup orders before packing.
Hides chosen shipping methods, such as pallet delivery or trade collection, from everyone except customers with the roles you list.
Adds your shipping cost, delivery time and return policy to the product structured data WooCommerce outputs, which Google can show in shopping results.
Adds a clear "Free" label to shipping options that cost nothing, such as local pickup, which WooCommerce otherwise shows with no price at all.
Adds a "Total weight" row to the cart and checkout totals, useful for stores that charge shipping by weight.
Removes the city and postcode or state boxes from the cart's shipping calculator when your rates only depend on the country.
Shows a short message, such as holiday hours or a shipping notice, at the top of every page's main content area in the Divi theme.