Friday, April 29, 2022

How to Customize the WooCommerce Checkout Page

How to Customize the WooCommerce Checkout Page

The checkout page is one of the most important pages on any eCommerce website. All the effort that you put into your website content, design and marketing will amount to nothing if your customers keep abandoning their carts and never complete the checkout process. Some statistics show that cart abandonment rate can vary in range form 64% to around 90% depending on the industry in which you are selling products.

The WooCommerce WordPress plugin automatically creates a checkout page for your website visitors to complete their order by filling out a form. However, it is a general-purpose form meant to cover all bases and not optimized for your specific use-case. This means that your cart abandonment rates are likely to be high. Reducing the abandonment rate can be the difference between just getting by or making decent amount of profit to further expand the business.

In this tutorial, we will show you how to customize the checkout page in WooCommerce for free using plugins and a little bit of code.

Tips for Improving Checkout Process

There are a few things that you can change on the checkout page to improve your conversion rate.

You should consider keeping the number of fields required to be filled to complete an order as low as possible. This helps for two reasons. First, people are usually unwilling to share extra information about them due to privacy concerns. Second, filling out a form takes time and not everyone will be willing to spend theirs filling out unnecessary details.

Another thing that you can do to improve your conversion rate is build customer confidence. You can do that by adding a customer testimonial on the checkout page. Also try to convey that the payment process is handled in a secure manner on your website. Making all common payment methods available also helps.

One of the primary reasons for abandoned carts is additional unexpected checkout fees due to high shipping charges or some other reason. Make sure that customers don't see any extra charges on the checkout page and provide legitimate explanations for charges that you cannot avoid. The discount coupons should also work as expected on the checkout page.

Customizing the Checkout Page

We will now incorporate some of these tips to customize our own WooCommerce checkout page. The following image shows what the checkout page looks like in its default form for the Storefront theme.

Default WooCommerce CheckoutDefault WooCommerce CheckoutDefault WooCommerce Checkout

Removing and Rearranging Fields

As you can see, there are a couple of extra fields like Company Name that we don't want our customers to fill out. We will get rid of them and arrange the remaining fields in a different order like bringing the phone and email address field close to the name input.

Begin by installing Checkout Field Editor for WooCommerce from the WordPress plugin directory. Once you have installed and activated the plugin, navigate to WooCommerce > Checkout Form from the dashboard menu.

Drag and the fields around to place them in any order that you prefer. After that, select the billing_company field and click on the Remove button as shown below. Finally click on the Save changes button and you will see the changes reflected on the checkout page on reload.

Checkout Field EditorCheckout Field EditorCheckout Field Editor

You might have noticed that there was no option to remove the Order notes field in the settings. You will find it by switching the tabs to Additional Fields and the top of plugin settings. Please note that you probably won't be able to remove the Order notes field by selecting it and clicking on the Remove button. This is because it is the only field under that tab. Another way to get rid of it is to click on the Disable button and then Save changes.

Checkout Field Editor Disabling OptionsCheckout Field Editor Disabling OptionsCheckout Field Editor Disabling Options

You can also add extra fields to the checkout form based on your specific business needs. For this example, I am adding a checkbox to let us know that the order is a gift. First we click on the Add Field button and then select Checkbox from the dropdown menu. Once you have filled out all other information like the image below. Click on the Save & Close button.

Adding New FieldsAdding New FieldsAdding New Fields

Updating Text Content

The Checkout Field Editor provided us an easy way to add, remove or rearrange fields in the checkout form. Now we will use another plugin called StoreCustomizer to make changes to the text on the checkout page. This plugin allows us to make changes to different pages in our WooCommerce store. We used it earlier in the tutorial about customizing the WooCommerce shop page.

Once you have installed the plugin, navigate to Appearance > Customize > StoreCustomizer > Checkout Page. You should now see a bunch of options under different headings.

We will begin by checking the box for Edit Coupon Section Text. Replace the default text with anything that is appropriate for your business. Once you are done, hit the Publish button to apply changes.

StoreCustomizer Coupon OptionsStoreCustomizer Coupon OptionsStoreCustomizer Coupon Options

Scroll down a bit within the StoreCustomizer checkout page settings and you will find another subsection titled Design Elements. You can tweak the settings here to customize the Place Order button. Change the text, font size, padding and color values to something that goes well with your overall website design.

Store Customizer Order ButtonStore Customizer Order ButtonStore Customizer Order Button

You can also change the heading for different sections by checking the box for Customize checkout details headings. It will also allow you to change the font size and color. I have made the text slightly bigger by setting the font size to 32 pixels. I have also set the color to black.

StoreCustomizer Checkout HeadingsStoreCustomizer Checkout HeadingsStoreCustomizer Checkout Headings

Updating the Appearance with CSS

We were able to make some changes to the appearance of different elements on the checkout page using the StoreCustomizer plugin. However, the plugin only has limited options for any styling related changes.

Our best bet is to use custom CSS that we can place inside Appearance > Customize > Additional CSS. In this case, we will modify the look of the coupon section as well as the order summary table. Some other minor changes include the addition of borders under input fields.

Custom CSS for Checkout FormCustom CSS for Checkout FormCustom CSS for Checkout Form

You can find the selectors for different elements using the style inspector in the respective browsers. Here is the CSS that I am going to use for our checkout page.

Click on the Publish button now and you will have a checkout form that looks like the image below.

Checkout Form After CSSCheckout Form After CSSCheckout Form After CSS

Adding Content Using Hooks

This last section requires you to have at least a little bit of familiarity with coding. Any wrong steps could potentially make your site inoperable until you fix the errors. Please be careful and make extra changes only if you know what you are doing. We will be updating the functions.php file of your current theme here. Make a copy of the file before proceeding.

A lot of developers integrate hooks within their plugins so that others can customize the plugin functionality according to their own needs. These hooks allow you to make changes within the plugin at specific pre-defined points. WooCommerce also has a lots of hooks of its own that are mentioned on their website. However, you might prefer to see it all laid out visually. Take a look at this visual guide for WooCommerce checkout page hooks.

Lets say you want to add a customer testimonial before the payment methods. The visual chart shows us that we will have to use the hook woocommerce_review_order_before_payment to add the testiomonial there. Add the following code to the functions.php file.

You can also use some CSS to make the testimonial blend in with the rest of the layout. Place the following CSS inside Appearance > Customize > Additional CSS like we did in the previous section.

Your checkout page should now look like the image below.

Final Version Checkout PageFinal Version Checkout PageFinal Version Checkout Page

Final Thoughts

In this tutorial, we used a combination of techniques to customize a WooCommerce checkout page for free. The easiest and safest way to make content related changes is with plugins, both free and paid. After that, you can make layout related or visual changes using custom CSS code. Sometimes, the customization that you are looking for might not be provided with either free or paid plugins. In that case, your best bet is to write your own code.

Hopefully, you will be able to follow the steps in this tutorial to create your own customized WooCommerce checkout page.


How to Color Balance a Video for Accurate Skin Tone Using Premiere Pro

How to Color Balance a Video for Accurate Skin Tone Using Premiere Pro

In this lesson on Check Skin Tone from David Bode's How to Color Correct Video with Adobe Premiere, you will learn how to use the vectorscope to check if the skin tones in your videos are accurate.

Finding the Neutrals

If you have something in your shot that is supposed to be in neutral colour, it will make the process of skin tone correction quite a bit easier. In the example below, the girl is wearing a grey sweatshirt—grey is a neutral colour—that we can use as a reference.

Go to the effects and grab a crop effect to crop the image so that just a patch of the sweatshirt is visible. After using the crop effect, zoom in to the patch of sweatshirt you have cropped so that you can reference the patch of grey with the scopes and try to neutralise the colours. 

Just by looking at the patch we can see that it doesn't look grey at all and looking at the Lumetri Scopes you can see that the blue is a bit low. 

Correcting the White Balance

To correct this, use the white balance slider to increase the blue.

Now the blue is more balanced but you can now see there's a lot of green information there. So you'll need to push the Tint slider towards magenta, which will create a fairly neutralised grey. 

Take the crop effect off, to see the effect to the whole image made with the changes using the white balance sliders.

You can tweak the white balance if you think you have erred a bit too much one way or the other. In this image we may need to warm things up a bit to create a more natural look.

Checking The Skin Tones

Now that you have set the white balance for the image correctly, it's time to see what the skin tones are doing. You need to reset the crop effect in the effects panel to crop into a small patch of the girl's forehead.

Now Control-Click on the Lumetri Scopes to open the Vectorscope YUV to check on the skin tones to see if they're even close to being accurate. 

What you are looking for is the skin tone to be along the vector scope line.

Now that you know how to check the colour of your skin tones, we should acknowledge that the image does look a little under-saturated,

That's something we're going to address in an upcoming lesson where you're going to learn how to adjust the saturation in your clips.

More Premiere Pro Resources

Here are more top Premiere Pro tutorials and resources to try from Envato Tuts+: