Getting Started with Drupal Commerce

Getting Started with Drupal Commerce
eBook: $23.99
Formats: PDF, PacktLib, ePub and Mobi formats
save 15%!
Print + free eBook + free PacktLib access to the book: $63.98    Print cover: $39.99
save 37%!
Free Shipping!
UK, US, Europe and selected countries in Asia.
Also available on:
Table of Contents
Sample Chapters
  • Understand the key concepts of Drupal Commerce, its philosophy, and how it fits in the Drupal Ecosystem
  • Learn the essentials of planning your store to save time and frustration
  • Set up and configure your store including the catalogue, taxes, discounts, coupons, and shipping
  • Configure your cart and checkout process and integrate them with a payment gateway
  • Learn with the help of a step-by-step guide to creating a new e-store using a real life example

Book Details

Language : English
Paperback : 152 pages [ 235mm x 191mm ]
Release Date : September 2013
ISBN : 1783280239
ISBN 13 : 9781783280230
Author(s) : Richard Jones
Topics and Technologies : All Books, CMS and eCommerce, Web Development, Open Source

Table of Contents

Chapter 1: Introducing Key Concepts
Chapter 2: Installing Drupal Commerce
Chapter 3: Planning Your Store
Chapter 4: Products
Chapter 5: Shopping Cart
Chapter 6: Checkout
Chapter 7: Shipping
Chapter 8: Tax
Chapter 9: Managing Orders
Chapter 10: Discounts and Coupons
  • Chapter 1: Introducing Key Concepts
    • An introduction to Drupal Commerce
    • Products that can be sold
    • Key terminology
      • The Product module
      • The Order module (commerce_order)
      • The Line item module (commerce_line_item)
      • The Customer profile module (commerce_profile)
      • The Payment transaction module (commerce_payment_transaction)
    • Prerequisites and dependencies
      • The Views module
      • The Rules module
      • The Entity module
      • The Address Field module
      • The Chaos Tools module
      • The Token module
      • The Pathauto module
    • Customizing and extending
    • Summary
    • Chapter 2: Installing Drupal Commerce
      • System requirements
      • Downloading Acquia Dev Desktop
      • Setting up a new Drupal site
      • Setting your memory limit
      • Enabling Drupal Commerce modules
      • Summary
      • Chapter 3: Planning Your Store
        • Defining the catalogue
          • Base product definition
          • Physical products
          • Digital downloads
          • Tickets
          • Content access and subscriptions
        • Customizing products
        • Classifying products
          • Pricing
          • Currency
          • Variable pricing
          • Customers
          • Taxes
          • Payments
          • Shipping
          • Stock
          • Legal compliance
          • Customer communication
          • Back office
          • User experience
          • The source of product data
        • Summary
        • Chapter 4: Products
          • Setting up the store currency
          • Planning our products
            • Product entities and product displays
              • Variations on a theme
              • From a browsing perspective
              • From a buying perspective
            • Managing the product entity or product display marriages
              • Terminology changes
            • Ensuring unique product titles
            • Defining a new product variation type
            • Adding an Image field
            • Adding a Pack size (Taxonomy) field
              • Pack size as variation picker
            • Adding a physical weight field
          • Defining the product (display) node
            • Variation management
          • Catalog structure
          • Entering product data
            • Adding taxonomy terms
            • Adding products
              • Product (display)
              • Product variations
            • Product catalog
            • Menu settings
            • URL path settings
            • Revision information
            • Authoring information
            • Publishing options
              • Displaying the product
            • Refining the layout
              • Adding to cart field behavior
          • Summary
          • Chapter 5: Shopping Cart
            • The Shopping cart page
              • Format
              • Fields
              • Filter criteria
              • Sort criteria
              • Footer
              • Advanced
            • Customizing the Cart page
              • The Cart block
            • Summary
            • Chapter 6: Checkout
              • Checkout pages
              • Checkout panes
                • Pane settings
              • Account information
              • Billing information
              • Completion message
              • Checkout rules
                • How a rule works
                • Other default rules
                  • Assigning an anonymous order to a pre-existing user
                  • Creating a new account for an anonymous order
                  • Sending an order notification e-mail
              • Payment gateways
                • Selecting a payment gateway
                  • Types of payment gateway integration
                  • Offsite redirection
                  • Inline
                  • Direct
                • Setting up PayPal
              • The customers' view
                • Customer view of the Checkout page
                • Customer view of the Review order and Payment page
                • Customer view of Order complete
              • Summary
              • Chapter 7: Shipping
                • Definition of terms
                  • Shipping method
                  • Shipping service
                • Setting up our Flat Rate shipping services
                  • The output shown to the customer
                    • Shipping address
                    • Calculating shipping rates via AJAX
                  • Presenting different shipping services based on the order conditions
                    • Free shipping when you spend a certain amount
                    • International shipping exempt from free shipping
                • Different billing and shipping addresses
                • Order tracking
                  • Advanced order tracking
                • Summary
                • Chapter 8: Tax
                  • Tax types and tax rates
                  • Commerce Tax modules
                  • Setting up standard VAT
                    • VAT applied
                    • Determining which taxes apply
                    • Basic tax handling
                    • Advanced tax handling
                    • Handling prices
                      • Methods of determining applicable tax
                      • Adding a VAT code taxonomy
                    • Conditional tax rules
                      • Checking for the presence of a commerce product field
                      • Checking for the presence of a tax code field
                      • Checking for the value of a tax code field
                      • Repeating for zero rated tax
                      • Testing VAT conditions
                  • Summary
                  • Chapter 9: Managing Orders
                    • Configuring the back office
                    • Default order states and status codes
                    • Simple convention for the use of status codes
                    • Viewing payment transactions
                    • Summary
                    • Chapter 10: Discounts and Coupons
                      • Site-wide discounts
                      • Extra price discount format
                      • Limiting the discounts to a date range
                        • Creating your rule
                          • Testing your rule
                      • Coupons
                        • Fixed discount on your order
                        • Adding an expiry date to a coupon
                      • Summary

                      Richard Jones

                      Richard Jones is the Technical Director of i-KOS, a UK-based digital agency, specializing in Drupal and e-commerce. He has been working with the project leads of Drupal Commerce since the early planning stages and maintains a number of contributed modules on under the username ikos. Since joining i-KOS as Technical Director in 2003, Richard has worked with Managing Director Myles Davidson to build the business from a 3-person web agency into a 20-person e-commerce consultancy powered by Drupal. During that time, he has worked on some of the largest high-profile Drupal Commerce builds to date. He heads up all Drupal site builds and e-commerce projects at i-KOS. He specializes in Drupal site development, training, and bespoke module development, internet strategy, and e-commerce. He is a prolific Drupal module contributor and regular speaker at UK and international Drupal events. Outside of the Drupal world, Richard lives in the South coast of England in Hove, with his wife and two young daughters.

                      Submit Errata

                      Please let us know if you have found any errors not listed on this list by completing our errata submission form. Our editors will check them and add them to this list. Thank you.


                      - 1 submitted: last submission 16 Apr 2014

                      The link for the online chapter is

                      Sample chapters

                      You can view our sample chapters and prefaces of this title on PacktLib or download sample chapters in PDF format.

                      Frequently bought together

                      Getting Started with Drupal Commerce +    jQuery Plugin Development Beginner's Guide =
                      50% Off
                      the second eBook
                      Price for both: $34.95

                      Buy both these recommended eBooks together and get 50% off the cheapest eBook.

                      What you will learn from this book

                      • Learn the fundamental concepts of Drupal Commerce
                      • Install Drupal and Drupal Commerce in a local development environment
                      • Plan an e-shop for building in Drupal Commerce
                      • Install and configure Drupal Commerce
                      • Set up a product catalogue and learn the difference between product displays and variations
                      • Configure VAT and sales tax
                      • Set up the checkout process
                      • Create price variations and special offers for products and customers
                      • Manage the order process in Commerce Backoffice
                      • Extend Commerce with more contributed modules

                      In Detail

                      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.


                      A simple yet concise step-by-step tutorial that starts from scratch and builds up your knowledge with focused examples that will enable you to set up and run an e-commerce website.

                      Who this book is for

                      This book is for beginners and will take you through the installation and configuration of Drupal Commerce from scratch, but some familiarity with Drupal 7 will be an advantage. All examples are based on development on a local computer – you do not need a hosted Drupal environment.

                      Code Download and Errata
                      Packt Anytime, Anywhere
                      Register Books
                      Print Upgrades
                      eBook Downloads
                      Video Support
                      Contact Us
                      Awards Voting Nominations Previous Winners
                      Judges Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
                      Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software