Book Image

Building E-commerce Sites with Drupal Commerce Cookbook

By : Richard Carter
Book Image

Building E-commerce Sites with Drupal Commerce Cookbook

By: Richard Carter

Overview of this book

<p>Get to grips with Drupal Commerce, the new ecommerce framework based on the Drupal CMS , one of the most popular and powerful open source content management systems available.<br /><br />"Building E-commerce Sites with Drupal Commerce Cookbook" takes you through the installation, configuration, and customisation of your Drupal Commerce store. With clear, practical recipes with plenty of screenshots and tips this book will help you build attractive and profitable eCommerce sites.<br /><br />This book starts by showing you how to install and configure your Drupal Commerce store. Once your shop is up and running, you’ll then learn how to customise and optimise it to make it stand out and display your products better.<br /><br />Going further into customisation, you will learn to add custom product types before creating a stylish new Drupal theme for your store. Packed with tips, this book will also help guide you through common problems, as well as optimising and managing your store on a day to day basis.<br /><br />"Building E-commerce Sites with Drupal Commerce Cookbook" will guide you through everything you need to know to get your online store up and running and selling your products, with easy step-by-step guides and screenshots to help walk you through everything.</p>
Table of Contents (17 chapters)
Building E-commerce Sites with Drupal Commerce Cookbook
Credits
Foreword
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Preface

Building E-commerce Sites with Drupal Commerce Cookbook is a guide to Drupal Commerce, the highly functional and expansive e-commerce system for the Drupal content management system.

Whether you're a beginner with e-commerce and want to create an online store as quickly as possible to start selling, or you're a web designer, who is simply new to Drupal Commerce and wants to get it up and running quickly, Drupal Commerce Cookbook can help you launch your next e-commerce store with style!

What this book covers

Chapter 1, Installing and Configuring Drupal Commerce, helps you get Drupal Commerce up and running and configured for basic e-commerce store requirements.

Chapter 2, Configuring Products with Drupal Commerce, takes you through creating products and categories in your store, and how to start customizing products to allow file uploads and other custom fields.

Chapter 3, Managing Your Drupal Commerce Store Day-to-day, includes useful hints and tips to keep your Drupal Commerce store up to date and useful how-to's of tasks you may need to do on a regular basis.

Chapter 4, Useful Modules for Drupal Commerce, explores some of the most useful modules you can use to extend and improve your online store.

Chapter 5, Payment and Shipping Modules for Drupal Commerce, provides walkthroughs of installation and configuration of the most common payment gateways, including SagePay and PayPal, as well as custom shipping methods.

Chapter 6, Drupal Commerce Search Engine Optimization, provides hints and tips to help boost your online store's search engine friendliness to help your store succeed online.

Chapter 7, Theming Drupal Commerce, gets to grips with customizing the look and feel of your Drupal Commerce store.

Chapter 8, Further Configuration, explores some further enhancements and configurations you can make to your store to improve it for both store owners and customers alike.

Appendix, A Blueprint for a T-shirt Store in Drupal Commerce, pulls the other chapters together into creating a store selling t-shirts online.

What you need for this book

You will need access to a suitable platform to host Drupal 7 and Drupal Commerce. You can find a list of up-to-date requirements at http://drupal.org/project/commerce.

A basic knowledge of content management is assumed; pre-existing knowledge of Drupal or Drupal Commerce is not assumed. A basic knowledge of CSS and HTML may be beneficial, but is not entirely necessary.

Who this book is for

This book is for online entrepreneurs, site builders, and web designers who want a helping hand at getting their online store up and running with Drupal Commerce.

This book focuses heavily on tasks that non-technical readers can achieve, bringing a fully functioning e-commerce website closer to those who have a get-up-and-go attitude thanks to Drupal.

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: "So, sites/default/files/favicon.ico or, simply, favicon.ico are good values for this field."

A block of code is set as follows:

h1,h2,h3,h4,h5,h6 {
  font-family: "PT Sans", Arial, Helvetica, sans-serif;
}

When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:

    <?php print render($page['content']); ?>
    <p class="container-24">
      <a href="javascript:history,back(-1)">Continue shopping</a>
    </p>
  <?php endif; ?>  

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: "Clear Drupal's cache by navigating to Site settings | Configuration | Performance and clicking on the Clear all caches button."

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.