Exploring the Future Potential of AI-Enabled Smartphone Processors
Drupal Commerce in Drupal 7
1. DRUPAL COMMERCE IN DRUPAL 7
HOW TO BUILD ROBUST E-COMMERCE SITES
George Papadongonas - Infowonders
23 January 2011
2. INTRODUCTION
• Owner of Infowonders, located in Athens, Greece
• Co-organizer of Drupalcamp Athens
• Using Drupal since 2007
• Author of “Drupal E-commerce with Ubercart 2.x” book
(Packt Publishing)
3. SUMMARY
• Introduction to Drupal Commerce
• The state of Drupal Commerce
• Basic Functionality
• Architecture
• Comparison with Ubercart
• Drupal Commerce Demo
• Questions
4. DRUPAL COMMERCE
• It’s an e-commerce solution for Drupal 7
• It’s the successor of Ubercart
• It’s not a single module, but a family of modules
• Provides core and plugin modules
• Has all the potential to be #1 Open Source e-commerce
project
5. THE STATE OF DRUPAL
COMMERCE
• Now in Alpha 4
• Beta is coming out soon
• Drupal Commerce 1.0 is scheduled for Drupalcon Chicago
• Drupal Commerce Sprint took place last week in Paris
7. FEATURES
• Using
a product reference field, we can present a product
everywhere
• Dynamic checkout forms, using D7 Ajax Framework and form
API
• Single
or multiple page checkout with drag and drop form
builder
• Attributes are now fields (oh yes!)
8. ARCHITECTURE
• User Drupal development standards
• Full simple test coverage
• Separation of underlying API’s from the default UI
• Dependencies: Address Fields, Chaos Tool Suite, Entity API,
Rules 2, Views 3
9. ARCHITECTURE
• Usescore entity and fields API for basic functionality
(Products, Customers, Line Items, Orders, Payments)
• Pricefield uses Rules module to determine different
prices for different users, roles, date or other
circumstances
• Taxes and shipping are also implemented through
Rules
• Product creation and product display are two
different processes
11. UBERCART
• Ubercart has a 3.0 release for Drupal 7
• Now it user Rules and Views
• It’s mature and has a great community
• Has a lot of contrib modules
• Cover all the features of an e-commerce site
12. DRUPAL COMMERCE
• Drupal Commerce is not ready yet
• Itwill start as a framework, not as a complete e-commerce
platform
• Has about 15 contrib modules
• but: Has a great API, it’s more easy to develop
13. WHAT NOW?
• Useit right now if you like to learn new things and write
Drupal 7 modules
• Ifyou want to install a ready solution, use Ubercart (or wait
3-6 months)
• Upgrading from Ubercart to Drupal Commerce may be
difficult, as many parts of Ubercart (like attributes) were not
part of the CCK system