WooCommerce 3.3 added a new "uncategorized" category that is now required as a default category. This means any products without a category assigned to it will be automatically assigned to this default category. You can rename the category, and I recommend doing so and using it. But if you would like to hide the default […]
Category: Snippets
Rename WooCommerce Shipping Labels
![A wrapped gift box on a table](https://calebburks.com/wp-content/uploads/2017/01/shipping-package-e1484781993604.jpeg)
Shipping methods in WooCommerce can only have one title / label. But what if you need the title to change conditionally based on the actual cost of the shipping method? Consider the following flat rate shipping method. If a “Large Item” is in the cart, shipping will cost $10. Otherwise, the flat rate method will actually […]
Chain coupons together in WooCommerce
![A long chain stretched across a lake.](https://calebburks.com/wp-content/uploads/2017/01/chain-photo-e1484323795322.jpeg)
Problem I recently got asked if it was possible to have two discounts built into one coupon code in WooCommerce. The store owner had an add-on service for products that costs $5. So in a mailer, they wanted to send out a flat $5 discount coupon code to encourage sales of this add-on service. But they […]
Modify Variable Product Prices in WooCommerce
![A calculator with money beside it.](https://calebburks.com/wp-content/uploads/2015/10/calculator-with-money-e1446193376725.jpg)
By default in WooCommerce, if a variable product has multiple prices available, the price will show a range like this: Before WooCommerce 2.1, this was shown a bit differently, with just “From: $x.xx”: In some cases, it may be best to not show your customers the highest possible price. In fact, if you go over […]
Hide shipping information on product pages in WooCommerce
![A person drawing a customization on a sheet of paper with a ruler](https://calebburks.com/wp-content/uploads/2015/10/hide-shipping-information-e1446132589886.jpg)
By default, WooCommerce shows your product’s shipping information on the product page in the “Additional Information” tab. Sometimes this may not be appropriate or necessary for a product, so let’s find a way to remove it! On a default installation of WooCommerce with a Storefront theme, the product page will look something like this: This Additional Information […]