This post is an update onWooCommerce – Automatically set order status after payment is received WooCommerce is a great option to sell all type of goods, being it virtual or physical products you’ll quickly add them to your store and start selling to your visitors. By default when WooCommerce system processes a payment it’ll set an… Read more
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… Read more
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… Read more
Working on my latest project I’ve needed to add a new field to WooCommerce checkout, a “NIF” (Portuguese equivalent of VAT number) field, that isn’t available by default in WooCommerce checkout. Check this little snippet to know how to do it.