Getting Started with Drupal Commerce
eBook - ePub

Getting Started with Drupal Commerce

  1. 152 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

Getting Started with Drupal Commerce

About this book

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.

Approach

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.

Trusted by 375,005 students

Access to over 1 million titles for a fair monthly price.

Study more efficiently using our study tools.

Information

Getting Started with Drupal Commerce


Table of Contents

Getting Started with Drupal Commerce
Credits
Foreword
About the Author
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers and more
Why Subscribe?
Free Access for Packt account holders
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Errata
Piracy
Questions
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
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
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
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
5. Shopping Cart
The Shopping cart page
Format
Fields
Filter criteria
Sort criteria
Footer
Advanced
Customizing the Cart page
The Cart block
Summary
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
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
Checking the value of the order value is above a certain threshold
Different billing and shipping addresses
Order tracking
Advanced order tracking
Summary
8. Tax
Tax types and tax rates
Commerce Tax modules
Setting up standard VAT
VAT applied
Determining which taxes apply
Basic tax handling
Advance...

Table of contents

  1. Getting Started with Drupal Commerce

Frequently asked questions

Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription
No, books cannot be downloaded as external files, such as PDFs, for use outside of Perlego. However, you can download books within the Perlego app for offline reading on mobile or tablet. Learn how to download books offline
Perlego offers two plans: Essential and Complete
  • Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
  • Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Both plans are available with monthly, semester, or annual billing cycles.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 990+ topics, we’ve got you covered! Learn about our mission
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more about Read Aloud
Yes! You can use the Perlego app on both iOS and Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app
Yes, you can access Getting Started with Drupal Commerce by Richard Jones in PDF and/or ePUB format, as well as other popular books in Computer Science & Digital Marketing. We have over one million books available in our catalogue for you to explore.