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

The Shopping cart page


When a customer clicks on the Add to Cart button on a product, the default behavior for Commerce is to simply display a message telling the user that the item has been added to their cart, and clicking on the link will take them straight to the cart as shown in the following screenshot:

This basic view shows Product, Price, Quantity, and Total as well as giving the customer basic controls to remove products and update quantities.

Hover over the top- right-hand corner of the table next to Total and click on the gear icon. You will see an Edit view link.

This master view of the shopping cart looks like the following screenshot:

The Views interface can be quite daunting at first, so let's visit each section in turn.

Format

The shopping cart is displayed as a table. This is a sensible default as we are showing multiple values for each order line and a summary at the bottom. However, you can change the format for theming purposes.

Fields

The view shows a list of Line Items associated...