Book Image

Getting Started with Drupal Commerce

By : Richard Jones
Book Image

Getting Started with Drupal Commerce

By: Richard Jones

Overview of this book

Drupal Commerce is emerging as the preferred option for open source e-commerce, and it also stands up to comparison against established proprietary systems. Getting Started with Drupal Commerce is an introductory guide to building an online store using Drupal Commerce in Drupal 7. Getting Started with Drupal Commerce takes you step-by-step through a complete e-commerce website build, from a clean installation of Drupal to a working example store. Starting with how to set up a Drupal development environment, we then discuss the planning of an e-commerce site and the typical questions you should be asking before getting started. Next, we walk through all of the essential setup required for most types of e-shop, including taxes, shipping, discounts and coupons, the checkout process, and backend order management. By the end of Getting Started with Drupal Commerce, you will be fully-equipped to plan and build your own store and you will understand the fundamental principles of Drupal Commerce that will enable you to progress to more complex store builds.
Table of Contents (18 chapters)
Getting Started with Drupal Commerce
Credits
Foreword
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Customizing the Cart page


You can add additional fields from the Commerce line item entity. If you are using custom line item types (for example, for personalized products), any field you have added will be available to add to the view.

You can also change the order of the cart view columns using the Rearrange button.

The Cart block

It is common to have a shopping cart summary block in the side bar or header of a website.

Drupal Commerce provides a cart block which is disabled by default. To enable this block:

  1. From the toolbar, go to Structure | Blocks.

  2. Move the shopping cart block into the Sidebar second region.

  3. Go back to your home page, and you will now see a new mini shopping cart view as shown in the following screenshot:

This view is very similar to the cart page and you can edit the view in the same way if you want to modify it.