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

Order tracking


Customers expect to know when their order will arrive. You can use the order status codes in Drupal Commerce to indicate the progress of the order.

When the order is initially placed, the order status will be set to Pending. You can then use the Complete status to indicate when you have shipped the order.

Additionally, you can define a new field in the Order type definition, named tracking code, which can be presented to the user when they view their order history.

  1. Go to: Store | Configuration | Order Settings | Manage Fields

  2. Add a new text field called Tracking Code .

  3. Now edit the view User Orders and add the new field. Now when a customer views their order history list, they can see the tracking number as well.

Advanced order tracking

This method of tracking orders is quite labor intensive for the site owner—it requires the status to be updated when the order moves through the shipping process. However, there are other modules available that integrate directly with popular...