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

Defining the product (display) node


The Foodstuff product display node that was automatically created and associated with the product variation type we just created, can now be modified to meet the needs of our site.

Tip

Once again, I find it useful to think of the product as the customer facing description of one or more products. For example, if a product is available in three sizes, and therefore has three products in the store, the description is more than likely identical for each.

Given that the Foodstuff product node is the browsable shop front it makes good sense that a field is added here to contain the product description rather than in the product variation.

Since the Foodstuff product node type is a conventional node type, we can access it via the normal route.

From the toolbar, navigate to Structure | Content types. You will notice that in addition to the two default content types defined in the Drupal install, we now have a new one named Foodstuff.

Click on manage fields, as shown...