-
Security update: Best practices for securing your WooCommerce site
•
Last week, Sucuri’s Ben Martin wrote about his recent experience with a client’s WooCommerce site that had been breached by a malicious credit card swiper (or “skimmer”) code injection. While… Read more
-
Extending WC-Admin Reports
•
This post serves as a guide to extending WC-Admin Reports with a basic UI dropdown, added query parameters, and modification of SQL queries and resulting report data. This example will… Read more
-
Apply a coupon for minimum cart total
•
The code snippet below allows you to: Requirements: Add this code to your child theme’s functions.php file or via a plugin that allows custom functions to be added, such as… Read more
-
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