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

Setting up standard VAT


To start with, we will set up standard tax rates for our example store, which is based in the United Kingdom. Standard VAT is 20 percent here, but some food related items are taxed at a different rate.

From the toolbar, navigate to Store | Configuration | Taxes.

Click on Add a tax rate, set the type to be VAT and the rate to be 0.2 (20 percent), as shown in the following screenshot:

Food is rated at 0 percent; although this will obviously not result in a value other than zero, it is important to show a VAT exemption in your checkout.

Repeat the steps above to add a zero rate VAT band. You should now have two VAT rates set up.

VAT applied

Now if you view a product, you will see that the price has increased by 20 percent compared to the earlier one.

When you progress to the checkout, the VAT element is illustrated in the checkout summary.

At the moment, both the standard and zero rate tax apply but we will adjust this shortly.

Setting up a sales tax is an identical process;...