Checkout Page

WooCommerce: Quick Cart Abandonment Solutions

WooCommerce is the largest ecommerce platform by sheer number of stores and it doesn’t look like things are slowing down. In fact, it seems like the fun is just beginning. The platform isn’t even a decade old and it was only acquired by Automattic (the parent company of WordPress) in 2015. Despite the fact that […]

The post WooCommerce: Quick Cart Abandonment Solutions appeared first on Business Bloomer.

WooCommerce: Exclude Product From Discount Coupons

WooCommerce coupon settings allow you to define allowed products (or product categories). What’s missing, however, is the other way around: how to set up a product so that it can never be discounted? Thankfully, a handy WooCommerce filter comes to the rescue (“woocommerce_coupon_is_valid_for_product“) and we can therefore make all coupons “invalid” when a given product […]

The post WooCommerce: Exclude Product From Discount Coupons appeared first on Business Bloomer.

WooCommerce: The Elusive Nature of 1-Click Checkout

The year is 2001 and every Stanford MBA is a dot-com startup founder. Online shopping is a brave new world teeming with new entrants boasting dubiously high valuations. Online shoppers are easily elated, not nearly as fickle as those of today. They are overjoyed merely at being able to buy something without leaving the comfort […]

The post WooCommerce: The Elusive Nature of 1-Click Checkout appeared first on Business Bloomer.

WooCommerce: Add a WordPress Customizer Setting

If you’ve taken the ConfigureWoo online course, you’ll know that WooCommerce adds its own “WordPress Customizer” section called “WooCommerce”, indeed. From there you can manage some settings such as the store notice, product images, checkout fields and so on. What if you want to add your own settings, and let yourself or your client toggle […]

The post WooCommerce: Add a WordPress Customizer Setting appeared first on Business Bloomer.

WooCommerce: Update Order Field Value After a Successful Order

We’ve already seen how to update user meta after a successful order, but this time our goal is to “correct” or “edit” a checkout field value after the order is placed. You could for example add a phone number prefix if it’s not there, and by doing so, correct the phone number before sending it […]

The post WooCommerce: Update Order Field Value After a Successful Order appeared first on Business Bloomer.

WooCommerce: Checkout Test Automation 101

Testing the WooCommerce checkout is extremely important for your ecommerce business. Every time you install a new plugin or update WordPress you might run into issues: for example, the cart and payment pages could stop working until you fix the problem. You don’t want to lose sales and undermine your website reputation, do you? So […]

The post WooCommerce: Checkout Test Automation 101 appeared first on Business Bloomer.

WooCommerce: Multiple Stripe Accounts (Solved)

The WooCommerce plugin fully integrates with the WooCommerce Stripe Payment Gateway plugin, developed by Automattic itself. With this free plugin, Stripe payment gateway can be enabled via the WooCommerce settings and once your Stripe “Live Publishable Key” and “Live Secret Key” are set, your WooCommerce shop is ready to take credit card payments powered by […]

The post WooCommerce: Multiple Stripe Accounts (Solved) appeared first on Business Bloomer.

WooCommerce: Multiple PayPal Accounts (Solved)

The WooCommerce plugin comes with its own free version of PayPal Standard. PayPal can be enabled via the WooCommerce settings and once your PayPal email is entered your WooCommerce shop is ready to take PayPal payments. Now, there is extensive documentation online which explains, with a little bit of code, how to switch PayPal account […]

The post WooCommerce: Multiple PayPal Accounts (Solved) appeared first on Business Bloomer.

WooCommerce: Maxlength and Minlength for Checkout Fields

If you’re familiar with HTML, you can add “maxlength” and “minlength” attributes to an input field in order to force its value to be min X and max Y characters long. This is all good and easy, so we might as well see what happens on the WooCommerce Checkout page once we apply such attributes […]

The post WooCommerce: Maxlength and Minlength for Checkout Fields appeared first on Business Bloomer.

WooCommerce: How to Customize Checkout For Conversions

I had the honor to speak at WCEU 2020 thanks to WooCommerce, who hosted me in their Sponsor track. It was a short and sweet lightning talk on the first day (Friday), called “Customizing The WooCommerce Checkout To Improve Conversions“, followed by a live coding session on Saturday. Here’s the video recording of the lightning […]

The post WooCommerce: How to Customize Checkout For Conversions appeared first on Business Bloomer.

WooCommerce: Dynamically Hide / Show Checkout Field

We already saw a lot of examples e.g. hiding checkout fields if a product is virtual or hiding checkout fields if a checkbox is manually checked… but this time I want to hide a field dynamically – automatically – based on whether another checkout field is empty or no value is entered in it. In […]

The post WooCommerce: Dynamically Hide / Show Checkout Field appeared first on Business Bloomer.

WooCommerce: Move Order Notes @ Checkout

We already saw how to hide Order Notes on the WooCommerce checkout page. This time around, however, our goal is to “move” them – and specifically remove them from their default position (under the shipping form) and add them back under the billing form. As you can imagine, this is a combo snippet: (1) we […]

The post WooCommerce: Move Order Notes @ Checkout appeared first on Business Bloomer.

WooCommerce: Show Checkout Even If Cart Is Empty

By default, the WooCommerce Checkout page redirects you back to the (empty) Cart page in case there are no products in the Cart. Now, there are times when you still need users to see the Checkout page and avoid this redirect. And thankfully, WooCommerce provides us with two filters that we can use to immediately […]

The post WooCommerce: Show Checkout Even If Cart Is Empty appeared first on Business Bloomer.

WooCommerce: Rename “State” Label @ Checkout

Here’s a super quick snippet you can use to rename the WooCommerce checkout “state” field label for both billing & shipping. Of course you can learn by example and apply the same snippet to other checkout fields, all yopu need to change is the field ID. Enjoy! PHP Snippet: Rename State Label @ Checkout Page […]

The post WooCommerce: Rename “State” Label @ Checkout appeared first on Business Bloomer.

WooCommerce: Add Shipping Phone @ Checkout

I’m surprised WooCommerce doesn’t offer this field out of the box. Most ecommerce websites actually require a shipping phone to organize delivery and communicate with the end customer in case there are problems. Thankfully, there is a hook (filter) for that. It’s called “woocommerce_checkout_fields” and can be used to remove, move or add checkout fields […]

The post WooCommerce: Add Shipping Phone @ Checkout appeared first on Business Bloomer.

WooCommerce: Add Upsell Area @ Checkout Page

If you want to increase your AOV (Average Order Value), you can definitely start from the WooCommerce Checkout page. A client asked me to place a “Donation Area” close to the “Place Order” button (so at the bottom of the page, once customers are ready to pay) to drive more awareness around this add-on. All […]

The post WooCommerce: Add Upsell Area @ Checkout Page appeared first on Business Bloomer.

WooCommerce: 10 Easy Snippets to Increase Your Sales

I had the pleasure to speak at WordCamp Prague 2019. I spoke about “10 PHP Snippets to Increase WooCommerce Sales” and managed to show some simple coding to the audience. Trust me – increasing your WooCommerce sales can also be done with a free, short, easy PHP snippet. So, given that I want to share […]

The post WooCommerce: 10 Easy Snippets to Increase Your Sales appeared first on Business Bloomer.

WooCommerce: Display Required Field Errors “Inline” @ Checkout

If you’re familiar with the upcoming Gutenberg editor, you’ll know there have been a million doubts in regard to accessibility. So, accessibility matters – and WooCommerce has a few issues as well. One interesting accessibility fix is the error notification system on the checkout page. Yes, the missing fields error show on top of the […]

The post WooCommerce: Display Required Field Errors “Inline” @ Checkout appeared first on Business Bloomer.

WooCommerce: How to Blacklist Scammers, Emails, IP, Phones?

A WooCommerce email notifications pops up – yet another new order, money, revenue, happiness. However, hold on a second – money is not technically in your bank account until you’re forced to give a refund. Even worse, until you realize not only you had to give a refund, but also getting the item back costs […]

The post WooCommerce: How to Blacklist Scammers, Emails, IP, Phones? appeared first on Business Bloomer.

WooCommerce: Move / Remove Coupon Form @ Cart & Checkout

Coupons: the good, the bad and the ugly. WooCommerce coupon codes are great to convert more sales – but sometimes they get users to pause / stop placing the order until they find a coupon code online (you did it too, I know). One good workaround that the internet giants such as Amazon and eBay […]

The post WooCommerce: Move / Remove Coupon Form @ Cart & Checkout appeared first on Business Bloomer.

WooCommerce: Put Cart & Checkout on the Same Page

This is your ultimate guide – complete with shortcodes, snippets and workarounds – to completely skip the Cart page and have both cart table and checkout form on the same page. But first… why’d you want to do this? Well, if you sell high ticket products (i.e. on average, you sell approximately one product per […]

The post WooCommerce: Put Cart & Checkout on the Same Page appeared first on Business Bloomer.

WooCommerce: Add Checkout Fees Based on Custom Radio Button

This is a great WooCommerce snippet (or plugin, if you wish to call it like that) for those who want to provide conditional checkout fees. For example, you might need to display custom checkout radio buttons to pick premium packaging types, gift wrapping options, specific services or whatever can increase your AOV (Average Order Value). […]

The post WooCommerce: Add Checkout Fees Based on Custom Radio Button appeared first on Business Bloomer.

WooCommerce: Hide Checkout Billing Fields if Virtual Product @ Cart

If you sell downloadable/virtual products and need to simplify your WooCommerce checkout when such product type is in the Cart, you’ve come to the right place! Here’s a simple snippet to check if there are only “virtual” products in the Cart and if yes, all the billing fields and order notes are hidden (but name […]

The post WooCommerce: Hide Checkout Billing Fields if Virtual Product @ Cart appeared first on Business Bloomer.

WooCommerce: Set Custom Order Status for New Orders

All WooCommerce orders go to either “processing”, “completed”, “on-hold” and other default order statuses based on the payment method and product type. Sometimes these statuses are not enough. For example, you might need to mark certain orders in a different way for tracking, filtering, exporting purposes. Or you might want to disable default emails by […]

The post WooCommerce: Set Custom Order Status for New Orders appeared first on Business Bloomer.

WooCommerce: Hide Mini-Cart Widget (Dropdown)

Less is more (sometimes). On this website, I’m already forcing max 1 product in the Cart and automatically redirecting users to Checkout upon add to Cart. As a result, I definitely didn’t need the whole “Mini-Cart Widget Dropdown Content” either. To test, try to “hover” onto the shopping cart icon on the top right, and […]

The post WooCommerce: Hide Mini-Cart Widget (Dropdown) appeared first on Business Bloomer.

WooCommerce: Rename “Place Order” Button @ Checkout

The “Place Order” button is the call to action you want ALL customers to take, right? Well, changing its label to a more specific, custom message could mean a small increase in sales conversion. Thankfully, you can try this with as low as 4 lines of PHP, even if you don’t know coding. Just copy […]

The post WooCommerce: Rename “Place Order” Button @ Checkout appeared first on Business Bloomer.

WooCommerce: Save “Terms & Conditions” Acceptance @ Checkout

When going legal… you need proof. Accepting the “Terms and Conditions” on the checkout is required in order to placer an order – but how can you, WooCommerce store admin, “prove” that the Terms and Conditions were actually ticked by the customer? One of the solutions might be to save such acceptance in the database […]

The post WooCommerce: Save “Terms & Conditions” Acceptance @ Checkout appeared first on Business Bloomer.

WooCommerce: Change Autofocus Field @ Checkout

If you decide to delete or reorder checkout fields, you probably also need to change the checkout field with “autofocus”. In plain English, this is the checkout field where the keyboard cursor goes automatically to on checkout page load (by default, this is the Billing First Name). As usual, changing this default behavior is very […]

The post WooCommerce: Change Autofocus Field @ Checkout appeared first on Business Bloomer.

WooCommerce: Add Content Under “Place Order” Button @ Checkout

Adding content to the WooCommerce Checkout page is very easy. All you need is to identify the position where you want to show your content (by using my WooCommerce Checkout Visual Hook Guide) and then create a short PHP function that prints on screen the content you need. In this example, we will see how […]

The post WooCommerce: Add Content Under “Place Order” Button @ Checkout appeared first on Business Bloomer.