-
Hide trailing zeros on prices
•
The option to show trailing zeros on your prices has been removed in favor of a filter, as of WooCommerce 2.2x. If you want to hide trailing zeros on your… Read more
-
How we’re tackling GDPR in WooCommerce core
•
Stronger rules on data protection from May 2018 mean citizens have more control over their data. GDPR is coming, and we’re working hard to get new tools in WooCommerce core… Read more
-
Notify Admin When New Account Is Created
•
Add this code to your child theme’s functions.php file or via a plugin that allows custom functions to be added, such as the Code snippets plugin. Avoid adding custom code… Read more
-
Performance: Switching to post_author to store order customer IDs
•
WooCommerce core uses a post meta called _customer_user to store the customer ID for orders. Since the meta_value field of the wp_postmeta table is not indexed, this means that all… Read more
-
New version check in WooCommerce 3.2
•
WooCommerce 3.2 will be released with a new version check feature. If you have active plugins that have not declared compatibility with the latest version of WooCommerce a variety of… Read more
-
Display product weight on archive pages
•
To display WooCommerce product weight on archive pages, below the title of the product, add this code to your child theme’s functions.php file or via a plugin that allows custom functions to… Read more
-
End-to-end testing WooCommerce
•
It is important for developers to be able to easily and quickly test new versions of WooCommerce. The Core Testing Checklist has 30 items in it, and is a manual process. Running… Read more
-
Adding support for WooCommerce 3.0’s new gallery feature to your theme
•
As you know we’ve redesigned the product gallery feature in WooCommerce to deliver a richer experience in 3.0. This is a significant frontend change that can be broken down in… Read more
-
WC 2.7 extension compatibility examples #3 – Bookings
•
Bookings is a complex extension which extends WooCommerce product types to add it’s own ‘Booking’ product type. Due to this, it’s a good example to CRUDify and implement data stores,… Read more
-
WC 2.7 extension compatibility examples #2 – Deposits
•
Our goal this time is to have the WooCommerce Deposits extension work with both WooCommerce versions 2.6.x and 2.7.x, display no notices, and use the CRUD abstraction to future-proof our… Read more
-
WC 2.7 extension compatibility examples
•
Our team have been looking at updating some of our extensions for 2.7 compatibility and we thought it would be good to share our notes in doing so. The first… Read more
-
Deprecation in WooCommerce Core
•
Deprecation is a method of discouraging usage of a feature, or practice, in favour of something else without breaking backwards compatibility or totally prohibiting it’s usage. To quote the Wikipedia article on… Read more