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

Preface

Getting Started with Drupal Commerce is an introductory guide to the Commerce suite of modules for Drupal 7. You will be guided through the basic concepts needed to understand how the Commerce framework is designed, by reference to a real life case study site. At the end of the book, you will be prepared to set up your own store and understand the potential of Drupal Commerce as a framework.

What this book covers

Chapter 1, Introducing Key Concepts, takes you through the basic terminology used in Drupal Commerce and how the key components work together.

Chapter 2, Installing Drupal Commerce, explains how to add Drupal Commerce to a working Drupal 7 installation.

Chapter 3, Planning Your Store, deals with checklists and preparation for your e-commerce store, ensuring you have considered the business requirements before you start using the software.

Chapter 4, Products, shows you how to set up your product catalogue and display pages.

Chapter 5, Shopping Cart, shows you how to give the customer the ability to select products from your store for purchase.

Chapter 6, Checkout, explains how to take the customer through the checkout process for payment and confirmation.

Chapter 7, Shipping, explains how to add the ability for the customer to select a shipping address and method for their order.

Chapter 8, Tax, shows you how to define and configure sales tax and VAT for your store.

Chapter 9, Managing Orders, introduces backoffice screens to allow you to process orders as they come in.

Chapter 10, Discounts and Coupons, shows you how to set up some rules based on discounts for your products.

Chapter 11, Extending Commerce, is not present in the book but is available as a free download from the following link: http://www.packtpub.com/sites/default/files/downloads/0230OS_11_Extending Commerce.pdf.

What you need for this book

All you need is a working installation of Drupal 7. We recommend using a local development environment, such as Acquia Dev Desktop available at https://www.acquia.com/downloads.

Drupal Commerce works in any modern browser. You will not need to edit any PHP code to complete the chapters in this book.

Who this book is for

You do not need any previous experience of Drupal 7 in order to complete the chapters of this book, but a working knowledge of Drupal will be useful.

The book is intended for e-commerce store owners and developers who are looking to set up an e-commerce experience.

Conventions

In this book, you will find a number of styles of text that distinguish between different kinds of information. Here are some examples of these styles, and an explanation of their meaning.

Code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles are shown as follows: "Uncompress the downloaded file to Sites in your User folder."

New terms and important words are shown in bold. Words that you see on the screen, in menus, or dialog boxes for example, appear in the text like this: "Click on the Sites tab, as shown in the following screenshot."

Note

Warnings or important notes appear in a box like this.

Tip

Tips and tricks appear like this.

Reader feedback

Feedback from our readers is always welcome. Let us know what you think about this book—what you liked or may have disliked. Reader feedback is important for us to develop titles that you really get the most out of.

To send us general feedback, simply send an e-mail to , and mention the book title via the subject of your message.

If there is a topic that you have expertise in and you are interested in either writing or contributing to a book, see our author guide on www.packtpub.com/authors.

Customer support

Now that you are the proud owner of a Packt book, we have a number of things to help you to get the most from your purchase.

Downloading the example code

You can download the example code files for all Packt books you have purchased from your account at http://www.packtpub.com. If you purchased this book elsewhere, you can visit http://www.packtpub.com/support and register to have the files e-mailed directly to you.

Errata

Although we have taken every care to ensure the accuracy of our content, mistakes do happen. If you find a mistake in one of our books—maybe a mistake in the text or the code—we would be grateful if you would report this to us. By doing so, you can save other readers from frustration and help us improve subsequent versions of this book. If you find any errata, please report them by visiting http://www.packtpub.com/submit-errata, selecting your book, clicking on the errata submission form link, and entering the details of your errata. Once your errata are verified, your submission will be accepted and the errata will be uploaded on our website, or added to any list of existing errata, under the Errata section of that title. Any existing errata can be viewed by selecting your title from http://www.packtpub.com/support.

Piracy

Piracy of copyright material on the Internet is an ongoing problem across all media. At Packt, we take the protection of our copyright and licenses very seriously. If you come across any illegal copies of our works, in any form, on the Internet, please provide us with the location address or website name immediately so that we can pursue a remedy.

Please contact us at with a link to the suspected pirated material.

We appreciate your help in protecting our authors, and our ability to bring you valuable content.

Questions

You can contact us at if you are having a problem with any aspect of the book, and we will do our best to address it.