Mastering WooCommerce Hooks: Setting Minimum And Maximum Order Quantities

I’ve been thinking about continuing my Mastering WooCommerce Hooks series here on my personal Website instead of another Website. It has been a long time since I write anything related to WooCommerce and WordPress so hopefully this series will help me do just that, about one post every week or so. This week’s article we’ll … Continue reading Mastering WooCommerce Hooks: Setting Minimum And Maximum Order Quantities

Learning TypeScript And Improving My Javascript Skills

Since I’ve been writing all of my PHP code for WordPress and everything else in classes and my understanding of OOP has grown exponentially, I can find many similarities between writing a class in PHP and TypeScript. If you are curious as to how I’m learning it, I’m using Plural Sight. I’ve been a member … Continue reading Learning TypeScript And Improving My Javascript Skills

Prevent Product From Being Checked-Out Outside Of US

Happy New Year! Here is a quick snippet of code to prevent a product from being bought at your store from outside of the US or any other country you specify. Very useful in some situations and we use it often at work to do just that, preventing someone buying the product outside of the … Continue reading Prevent Product From Being Checked-Out Outside Of US

WooCommerce Memberships: Useful Functions To Know

If you are are just starting to work with WooCommerce Memberships and are having to do various things programatically, here are some functions that are useful to know and will make your life and job a lot easier. Retrieve User’s Memberships Retrieve a list of memberships this particular user belongs to. This function will return … Continue reading WooCommerce Memberships: Useful Functions To Know