Menu icon
RedCrackle
Menu icon
Services
01Design Transformation
About UsCase StudiesBlogContact Us

<

Blog post

Configuring Drupal Commerce checkout process

Neerav Mehta

Founder & CEO

This is tutorial #6 in the Drupal Commerce tutorial series. In the previous article, you learned how to add a shopping cart to your Drupal Commerce site. In this article, you will learn how to configure your site's checkout process.

We will be enabling a module known as "Commerce Checkout Pages". This module provides you with extra functionality to configure the checkout process for your site. The default installation of Drupal Commerce will not allow you to create new pages. In this post, we will add two new pages, "Confirm your cart" and "Fill in your address details", to the checkout process after enabling the module.

By the end of this post, these new pages will look as below:

Configuring Drupal Commerce checkout process Configuring Drupal Commerce checkout process

Let’s get started. This article is divided into two parts – before and after installing this module.

Before installing Commerce Checkout Pages:

Before we proceed to install the module, I want you to have a look at how the Checkout process appears for a default installation of Drupal Commerce. Look at my screen from the previous article. Click “Checkout”:

Configuring Drupal Commerce checkout process

You will get the following Checkout screen. Notice that “Shopping cart contents” and “Billing information” appear on the same screen.

Configuring Drupal Commerce checkout process

Fill in some random values as part of your Billing information. Click “Continue to next step”.

You will get the following Review order screen. Notice how "Shopping cart contents", "Account information", "Billing information" and "Payment" details are summarized for the user's benefit.

Configuring Drupal Commerce checkout process

Click “Continue to next step” to complete the Checkout process. You will get the following screen:

Configuring Drupal Commerce checkout process

Let us now explore the Checkout options that come by default with Drupal Commerce. They are “Checkout”, “Review”, “Payment” and “Complete”.

To access these settings, you will have to first click on the “Store” button on the top-level menu.

Configuring Drupal Commerce checkout process

Click "Configuration" and then “Checkout settings”:

Configuring Drupal Commerce checkout process

You will get the following screen. Clicking on the “configure” link on the right of “Shopping cart contents”:

Configuring Drupal Commerce checkout process

You will get the following screen:

Configuring Drupal Commerce checkout process

Where the options under “Display Settings” allow you to indicate how you want the Checkout panel highlighted.

Here are the options:

  • Display this pane in a non-collapsible fieldset: This default option will display the checkout pane completely, with no option for the user to collapse it.
  • Display this pane in a collapsible fieldset: This option provides the user with the option to collapse the checkout box.
  • Display this pane in a collapsed fieldset: This option ensures that the checkout pane remains hidden from the user’s view till he clicks to expand it.
  • Do not display this pane in a fieldset: This option dissociates the checkout pane from the fieldset element, allowing themers to personalize their Drupal Commerce stores.

Clicking on "configure" for Account information, Billing information, Review, Payment and so on will provide you with similar Display settings to the one showed above.

Click "Save configuration" at the bottom of the page. Your configuration has been saved:

Configuring Drupal Commerce checkout process

You can drag and drop the values above to reposition them but you can’t add new pages without the module. On the top-right of this very page, you will find two tabs. These will come in handy later.

Configuring Drupal Commerce checkout process

First, install the module.

Type drupal.org/project/dc_co_pages on your browser window to download and enable the module "Commerce Checkout Pages".

After installing the Commerce Checkout Pages module, type drupal.org/project/dc_co_pages on your browser window to download and enable the module "Commerce Checkout Pages".

Configuring Drupal Commerce checkout process

Download the latest tar.gz file to your Modules folder.

Enable the module by going to “Administration” -> “Modules” and searching for “Checkout pages”:

Configuring Drupal Commerce checkout process

Click “Save configuration” at the bottom of the page.

Let's visit "Checkout Settings" again like we did earlier in this article. Go to “Store” -> “Configuration” -> “Checkout settings”.

The following screen appears:

Configuring Drupal Commerce checkout process

You probably won’t notice anything changed at first glance. But a closer look will reveal an extra tab “CHECKOUT PAGES” on the top-right. This is where you will be able to add new pages that can manipulate the checkout process:

Configuring Drupal Commerce checkout process

Click “CHECKOUT PAGES” to configure the Checkout pages better. You will get the following screen. Click “Add page” to enter pages of your choice.

Configuring Drupal Commerce checkout process

Give a new page title. And add a custom message as shown below. I want a page dedicated to displaying the items added to the cart. Tick the boxes against Status cart and Buttons as well. Ticking against Status cart will ensure that the new page becomes a part of the checkout sequence. Ticking against Buttons will ensure that buttons such as Next and Previous appear, allowing shoppers to navigate forth and back.

Click “Save”.

Configuring Drupal Commerce checkout process

You will be able to add another page. I want to create a page that’s dedicated to the user entering his address. I have provided details as below.

Configuring Drupal Commerce checkout process

Click “Checkout pages” in the breadcrumb path:

Configuring Drupal Commerce checkout process

You will be taken to the following page. Notice the newly created pages at the bottom:

Configuring Drupal Commerce checkout process

Drag them to the very top as shown below. Click “Save”.

Configuring Drupal Commerce checkout process

Click "CHECKOUT FORM". This is how the page will look. Your newly added pages will be at the top but without any panes:

Configuring Drupal Commerce checkout process

Drag Shopping cart contents till it’s placed under “Confirm your cart”. Drag Billing information till it is placed under “Fill in your address details”.

Configuring Drupal Commerce checkout process

Let's now go through the Checkout process again. Go to the homepage. I have added a product to my cart. Let's click on “Checkout”.

Configuring Drupal Commerce checkout process

You will now be taken to the "Confirm your cart" page newly created by you.

Click "Continue to next step".

Configuring Drupal Commerce checkout process

You will now be taken to the 2nd page newly created by you. Fill in a random name and address:

Configuring Drupal Commerce checkout process

The remaining steps in the checkout process will proceed as highlighted by you in the CHECKOUT PANE, i.e. Review, Payment and Complete.

Next: Express checkout to increase conversion

Neerav Mehta

Neerav Mehta

Founder & CEO

Neerav Mehta is the Founder & CEO of Red Crackle. With sterling qualities, Neerav’s technological acumen is firing a generation of progressive companies on the digital path. With an undergraduate degree in Electrical Engineering from India's most prestigious institution IIT Bombay and having spent seven years developing and contributing to the launch of AMD's innovative line of computer products, Neerav founded Red Crackle where he is lauded for his dynamic and innovative genius.

View all posts

>

Read Next

10 Tips For Entrepreneurs In 2015

10 Tips For Entrepreneurs In 2015

Learn more

10 Ways To Increase Productivity At Work

10 Ways To Increase Productivity At Work

Learn more

30 best WordPress widgets for your site

30 best WordPress widgets for your site

Learn more

Let’s get you started!

Contact Us

>

RedCrackle

Explore

About Us

Services

Contact Us

Our address

5346 Gerine Blossom Dr,

San Jose, CA 95123

USA

Socials

Twitter
LinkedIn

© 2023 RedCrackle. All rights reserved.