As WooCommerce snippet requests by #BloomerArmada fans keep coming to my inbox, it’s time to publish a very useful functionality.
Today, we’ll see how to deny purchasing to a given billing email address, if this is a user and happens to have a pending order already! Continue reading WooCommerce: Deny Checkout if User Has Pending Orders
Here’s another useful PHP snippet that adds the Billing First Name and Billing Last Name to the Registration Form on the WooCommerce My Account page.
This is a great first step. If you learn to add these simple text fields, you can then add any custom input field to the form such as dropdowns, radio buttons, checkboxes – and link these to the relevant WooCommerce customer fields. Enjoy! Continue reading WooCommerce: Add First & Last Name to My Account Register Form
A few snippets ago we introduced the magic WooCommerce inbuilt function “wc_customer_bought_product” – automatically, with a single line of PHP, you can find out if the user has already purchased a product ID.
But when building my new #BloomerArmada section, I had to know if a user purchased a product ID in the last 365 days… so I rewrote the function, changed its name and added a little edit to it – easy peasy! Continue reading WooCommerce: Check if User Has Bought Product in the Last 365 Days
I’ve been working online while travelling throughout South America for almost 3 months so far and I’ve had a lot of time to think about solopreneurship. After 5+ years as a sole trader, it’s now the right time to write my thoughts. I really hope to give you at least one idea, one tip you can take away.
I would love if you could spend some time to think about it, and leave your comment below to tell me what your thoughts are. Continue reading 10 Things Nobody Tells You About Working for Yourself
There is a slightly annoying thing on the WooCommerce Thank-You Page and WooCommerce emails. Users looking at the order table can actually click on the Products they just purchased and abandon the page before taking the action you want them to take (see image below).
So, I coded a simple PHP snippet to remove such links. As usual, 1 line of code is more than sufficient:) Continue reading WooCommerce: Remove Link to Product @ Order Table
We’ve already seen how to set the default values for certain dropdowns (country and state default: https://businessbloomer.com/woocommerce-set-default-state-checkout-page/). But what can we do when we want to define the defaults for the other “text” inputs, such as the billing_city? Continue reading WooCommerce: Set Default Billing City (or other fields) @ Checkout
A WooCommerce client, for different reasons, needed to detect if a given logged in user had already purchased a certain product ID. In your case, you can use this little “trick” for marketing (i.e. “Buy More of This!”) or to show special notices on the loop or single product page. Continue reading WooCommerce: Check if User Has Already Purchased Product
A Dutch fan told me in Holland they’re really strict about addresses 🙂 In particular, all Dutch billing/shipping addresses require the “House Number”.
This must be therefore placed on the checkout, AFTER & BESIDE the Address_1 field and made required. Also, it’s a good idea to make this show in the Admin Order, the thank you page and the notification Emails. Continue reading WooCommerce: Add House Number Field @ Checkout
Hey WooCustomizers, the Visual Hook Guide is back 🙂
In this episode, I’ve created a visual HTML hook guide for the WooCommerce Account Pages (there are multiple pages such as the My Account as logged in user, My Account as logged out, etc). This visual guide belongs to my “Visual Hook Guide Series“, that I’ve put together so that you can find WooCommerce hooks quickly and easily by seeing their actual locations – and you can also copy & paste in seconds unlike other “hook sniffer plugins” out there. Let me know in the comments what you think about this resource!
Continue reading WooCommerce Visual Hook Guide: My Account Pages
It’s live. And it’s alive and kicking.
#CustomizeWoo, my flagship Advanced WooCommerce Online Course for designers and DIY store owners, is now live.
In this post, I’m about to show you why I invested 151hrs 39mins 1secs of my time to build #CustomizeWoo, who I’m willing to help, and what the course looks like from the “inside”.
So, here’s the story. Here’s why #CustomizeWoo was born. Continue reading #CustomizeWoo: a WooCommerce Online Course for Designers
Hey Woo Developers. I’ve created a visual HTML hook guide for the WooCommerce Checkout Page.
This visual guide belongs to my “Visual Hook Guide Series“, that I’ve put together so that you can find WooCommerce hooks quickly and easily by seeing their actual locations – and you can also easily copy & paste. Enjoy!
Continue reading WooCommerce Visual Hook Guide: Checkout Page
A WooCommerce Customization client wanted to add some text above the “Login” and “Register” boxes on the My Account page. Understandably, users may need a bit of an explanation before they take action. Here’s how you do it! Continue reading WooCommerce: Add Content @ My Account Register / Login Page
On a recent job, a client asked me to get the logged in username in WooCommerce. Interesting task! He needed to show that on the checkout form page and also on the order email. Actually, this is quite simple to do and can be used for several applications. Continue reading WooCommerce: Get/Edit Logged in Username @ Checkout
Losing your Website data is as easy as a click of your mouse. After deleting 4 of my websites in about 5 seconds the other week, I really feel like sharing a few tips to keep your WordPress data secure! Continue reading How to avoid data loss in WordPress