Using the appropriate product image dimensions to avoid distortion / pixellation
Some themes (and the default WooCommerce CSS) specify product image widths to ensure consistent layouts across multiple devices. The dimensions you specify on the Catalog tab of the WooCommerce...
View ArticleTutorial – Customising checkout fields using actions and filters
How are checkout fields loaded into WooCommerce? The fields for the checkout (billing and shipping) come from the countries class (class-wc-countries.php) and theget_address_fields function- this is so...
View ArticleImporting WooCommerce Dummy Data
Since WooCommerce 1.5.3 the plugin comes bundled with dummy data which can be imported to instantly give you a working store with products to test the different features WooCommerce has to offer....
View ArticleDigital/Downloadable product handling
This tutorial build upon Managing Products but explains downloadable products specifically. Enjoy! Handling downloadable products in WooCommerce is a piece of cake – before we add products though, lets...
View ArticleAllow HTML in term (category, tag) descriptions
By default WordPress strips HTML from category descriptions. You can get around this by adding a small snippet to your theme functions.php file: View the code on Gist. The first part prevents html from...
View ArticleAdd a custom field (in an order) to the emails
You can add any custom field to your order emails by hooking in and specifying the name of the custom field. This can useful when used in conjunction with custom checkout fields, or even if you want to...
View ArticleAdd a custom currency / symbol
To add a custom currency paste this code in your theme functions.php file and swap out the currency code and symbol with your own. After doing so it will be available from WooCommerce settings. View...
View Article