Some background For a couple of months, I’m using WordPress as an application framework and this requires some additional validations on post meta fields, one of those validations is the need to have unique meta values, for some post types. For instance a phone number on a “client record” each client has one number and if […]
A fast and reliable way to change WooCommerce behaviours While working on WooCommerce websites, I’ve found that I was using (most of the times) 4 simple functions that allowed me to have a superior control on the created e-commerce solution. In this post you’ll find functions for: Add WooCommerce CSS classes to any template you […]
This post has an updated version on WooCommerce and WooCommerce Subscriptions – Automatically set order status to completed Using Filter: woocommerce_payment_complete_order_status Sometimes when you’re developing an e-commerce website you’ll need to automatically check the payment status and mark an order as completed. This usually implies that you’re selling a “virtual good” but not always, I’ve been developing a […]
After installing Ubuntu Server, using VMWare as explained in my previous post, We’ll have a local development environment for our projects that is fully functional but with only the basic features. We’ll want to use a series of tools in our development stack, that aren’t available from start in our installation and also, have the means to easily edit the files inside our server, preferably without the need to use FTP or other tools, after all this is our local stack.