SlideShare a Scribd company logo
1 of 43
Download to read offline
An introduction to Drupal
Commerce
&
Real World Examples
July 13 2013
Software Architect
Email: jwilson@phase2technology.com
John Robert Wilson
Twitter: @JohnRobertWilso
Drupal.org: LSU_JBob
The Basics
Commerce Entities
Products
• Something you’re trying to sell
• A title and a price
• Create product references on nodes for end users
Orders
• Start out with a status of “cart”
• Once a product is placed in the cart, a new order is created
• Contains Line Items, payment transactions
• Contains customer information and order metadata
Line Items
• An instance of a product in an order (or cart)
• Able to contain personalized options for that instance of
the product
Payment Transactions
• Hold all detailed financial info and metadata
• Can have a status of accepted or declined
• Payload from Payment Gateways
Payment Gateways
Payment Gateways
• You don’t want to store actual credit card numbers
( compliance headaches, security headaches)
• Use 3rd Party Payment Gateways
• Send payment info over https to the third party and get
accepted or declined
• Paypal, Payflow Pro, Authorize.Net, Amazon Payments,
Bitcoin?!?
Checkout Process
Checkout Process
Commerce Rules
Commerce Rules
• Checkout process has Rules integrated into it
• Can be used to apply a tax based on state
• Can give a discount
• Much much more!
Shipping & Inventory
Shipping & Inventory
• Commerce Shipping contrib module!
http://drupal.org/project/commerce_shipping
• For shipping physical products and creating customer
shipping profiles
• Commerce Stock contrib module!
http://drupal.org/project/commerce_stock
• Decrement stock as products are purchased
Hooks for Devs
Hooks for Developers
• hook_commerce_checkout_router - routes the default
checkout url to an alternate url if neccessary
• hook_commerce_checkout_complete - Allows other
modules to perform business logic when an order is
completed
• hook_commerce_checkout_pane_info_alter - alter an
existing checkout pane’s metadata
• MUCH MUCH MORE
Commerce Kickstart
Commerce Kickstart
• http://drupal.org/project/commerce_kickstart
• Nice quick configured drupal commerce site
• Includes latest version of core and all needed
dependencies
A Real World Example
http://www.drsteaks.com
Diamond Reserve
Diamond Reserve
Diamond Reserve
Another Real World
Example
http://www.robinhood.org
Drupal Commerce
• Built from scratch with lessons learned in mind
• Extendable and flexible on many levels
• Blog post outlining this session
PHASE2TECHNOLOGY.COM

More Related Content

What's hot

Document Processing Systems - ECM Renovation Roadshow
Document Processing Systems - ECM Renovation RoadshowDocument Processing Systems - ECM Renovation Roadshow
Document Processing Systems - ECM Renovation Roadshow
Zia Consulting
 
Alex Ursa: ERP Integrations with Magento: How to do it fast, good and affordable
Alex Ursa: ERP Integrations with Magento: How to do it fast, good and affordableAlex Ursa: ERP Integrations with Magento: How to do it fast, good and affordable
Alex Ursa: ERP Integrations with Magento: How to do it fast, good and affordable
Meet Magento Poland
 

What's hot (13)

Document Processing Systems - ECM Renovation Roadshow
Document Processing Systems - ECM Renovation RoadshowDocument Processing Systems - ECM Renovation Roadshow
Document Processing Systems - ECM Renovation Roadshow
 
Braintree Integration - Agile CRM
Braintree Integration - Agile CRMBraintree Integration - Agile CRM
Braintree Integration - Agile CRM
 
Monitoring on premise biz talk applications using cloud based power bi saas
Monitoring on premise biz talk applications using cloud based power bi saasMonitoring on premise biz talk applications using cloud based power bi saas
Monitoring on premise biz talk applications using cloud based power bi saas
 
Getting Paid Without GetPaid
Getting Paid Without GetPaidGetting Paid Without GetPaid
Getting Paid Without GetPaid
 
Customer Portals
Customer PortalsCustomer Portals
Customer Portals
 
EventBridge Patterns and real world use case
EventBridge Patterns and real world use caseEventBridge Patterns and real world use case
EventBridge Patterns and real world use case
 
IBM Domino Hybrid cloud configuration
IBM Domino Hybrid cloud configurationIBM Domino Hybrid cloud configuration
IBM Domino Hybrid cloud configuration
 
Анатолій Денис - Meet Magento Ukraine - Migration to Magento - mission possible
Анатолій Денис - Meet Magento Ukraine - Migration to Magento - mission possibleАнатолій Денис - Meet Magento Ukraine - Migration to Magento - mission possible
Анатолій Денис - Meet Magento Ukraine - Migration to Magento - mission possible
 
[MagneticOne] Migration to Magento - Mission Possible
[MagneticOne] Migration to Magento - Mission Possible[MagneticOne] Migration to Magento - Mission Possible
[MagneticOne] Migration to Magento - Mission Possible
 
Altus Alliance 2016 - WebApps for Expenses + Procurement
Altus Alliance 2016 - WebApps for Expenses + ProcurementAltus Alliance 2016 - WebApps for Expenses + Procurement
Altus Alliance 2016 - WebApps for Expenses + Procurement
 
Resello @WorldHostingDays 2014: The future of cloud business automation
Resello @WorldHostingDays 2014: The future of cloud business automation Resello @WorldHostingDays 2014: The future of cloud business automation
Resello @WorldHostingDays 2014: The future of cloud business automation
 
Alex Ursa: ERP Integrations with Magento: How to do it fast, good and affordable
Alex Ursa: ERP Integrations with Magento: How to do it fast, good and affordableAlex Ursa: ERP Integrations with Magento: How to do it fast, good and affordable
Alex Ursa: ERP Integrations with Magento: How to do it fast, good and affordable
 
GroupWave Webinizer
GroupWave WebinizerGroupWave Webinizer
GroupWave Webinizer
 

Similar to An Introduction to Drupal Commerce & Real World Examples

Drupal Commerce Drupalhagen 2012
Drupal Commerce Drupalhagen 2012Drupal Commerce Drupalhagen 2012
Drupal Commerce Drupalhagen 2012
Jakob Torp
 
Commerce beyond the cart final 1
Commerce beyond the cart   final 1Commerce beyond the cart   final 1
Commerce beyond the cart final 1
Steve Kessler
 

Similar to An Introduction to Drupal Commerce & Real World Examples (20)

Drupal Café: Introduction to Drupal Commerce
Drupal Café: Introduction to Drupal CommerceDrupal Café: Introduction to Drupal Commerce
Drupal Café: Introduction to Drupal Commerce
 
Drupal Commerce Drupalhagen 2012
Drupal Commerce Drupalhagen 2012Drupal Commerce Drupalhagen 2012
Drupal Commerce Drupalhagen 2012
 
Drupal Commerce contributed modules overview
Drupal Commerce contributed modules overviewDrupal Commerce contributed modules overview
Drupal Commerce contributed modules overview
 
[Srijan Wednesday Webinars] Meet Commerce 2.X
[Srijan Wednesday Webinars]  Meet Commerce 2.X[Srijan Wednesday Webinars]  Meet Commerce 2.X
[Srijan Wednesday Webinars] Meet Commerce 2.X
 
The 5.0 Demo: Building a Compelling Story
The 5.0 Demo: Building a Compelling StoryThe 5.0 Demo: Building a Compelling Story
The 5.0 Demo: Building a Compelling Story
 
DrupalCamp Mumbai 2017: Drupal 8 and Commerce 2.x
DrupalCamp Mumbai 2017: Drupal 8 and Commerce 2.xDrupalCamp Mumbai 2017: Drupal 8 and Commerce 2.x
DrupalCamp Mumbai 2017: Drupal 8 and Commerce 2.x
 
Ecommerce Solutions (China & West)
Ecommerce Solutions (China & West)Ecommerce Solutions (China & West)
Ecommerce Solutions (China & West)
 
Transforming the Customer Experience Across 100 Stores with Magento
Transforming the Customer Experience Across 100 Stores with MagentoTransforming the Customer Experience Across 100 Stores with Magento
Transforming the Customer Experience Across 100 Stores with Magento
 
Drupalcamp South Florida 2012 - Introduction to Drupal Commerce
Drupalcamp South Florida 2012 - Introduction to Drupal CommerceDrupalcamp South Florida 2012 - Introduction to Drupal Commerce
Drupalcamp South Florida 2012 - Introduction to Drupal Commerce
 
Virtue mart ppt
Virtue mart pptVirtue mart ppt
Virtue mart ppt
 
Choosing the Right E-commerce Solution
Choosing the Right E-commerce SolutionChoosing the Right E-commerce Solution
Choosing the Right E-commerce Solution
 
Overcoming the Top 7 Intercompany Accounting Challenges in SAP ERP Financials
Overcoming the Top 7 Intercompany Accounting Challenges in SAP ERP FinancialsOvercoming the Top 7 Intercompany Accounting Challenges in SAP ERP Financials
Overcoming the Top 7 Intercompany Accounting Challenges in SAP ERP Financials
 
Patterns for Building Streaming Apps
Patterns for Building Streaming AppsPatterns for Building Streaming Apps
Patterns for Building Streaming Apps
 
Introduction to Cin7 Webinar Presentation
Introduction to Cin7 Webinar PresentationIntroduction to Cin7 Webinar Presentation
Introduction to Cin7 Webinar Presentation
 
Commerce beyond the cart final 1
Commerce beyond the cart   final 1Commerce beyond the cart   final 1
Commerce beyond the cart final 1
 
[WSO2Con USA 2018] Patterns for Building Streaming Apps
[WSO2Con USA 2018] Patterns for Building Streaming Apps[WSO2Con USA 2018] Patterns for Building Streaming Apps
[WSO2Con USA 2018] Patterns for Building Streaming Apps
 
WordPress e-Commerce by Steve Mortiboy
WordPress e-Commerce by Steve MortiboyWordPress e-Commerce by Steve Mortiboy
WordPress e-Commerce by Steve Mortiboy
 
GLAM COLLECTION.pptx
GLAM COLLECTION.pptxGLAM COLLECTION.pptx
GLAM COLLECTION.pptx
 
Prepare for Peak Holiday Season with MongoDB
Prepare for Peak Holiday Season with MongoDBPrepare for Peak Holiday Season with MongoDB
Prepare for Peak Holiday Season with MongoDB
 
BookStore
BookStoreBookStore
BookStore
 

More from Phase2

A FUTURE-FOCUSED DIGITAL PLATFORM WITH DRUPAL 8
A FUTURE-FOCUSED DIGITAL PLATFORM WITH DRUPAL 8A FUTURE-FOCUSED DIGITAL PLATFORM WITH DRUPAL 8
A FUTURE-FOCUSED DIGITAL PLATFORM WITH DRUPAL 8
Phase2
 
The Yes, No, and Maybe of "Can We Build That With Drupal?"
The Yes, No, and Maybe of "Can We Build That With Drupal?"The Yes, No, and Maybe of "Can We Build That With Drupal?"
The Yes, No, and Maybe of "Can We Build That With Drupal?"
Phase2
 

More from Phase2 (20)

Phase2 Health and Wellness Brochure
Phase2 Health and Wellness BrochurePhase2 Health and Wellness Brochure
Phase2 Health and Wellness Brochure
 
A Modern Digital Experience Platform
A Modern Digital Experience PlatformA Modern Digital Experience Platform
A Modern Digital Experience Platform
 
Beyond websites: A Modern Digital Experience Platform
Beyond websites: A Modern Digital Experience PlatformBeyond websites: A Modern Digital Experience Platform
Beyond websites: A Modern Digital Experience Platform
 
Omnichannel For Government
Omnichannel For Government Omnichannel For Government
Omnichannel For Government
 
Bad camp2016 Release Management On Live Websites
Bad camp2016 Release Management On Live WebsitesBad camp2016 Release Management On Live Websites
Bad camp2016 Release Management On Live Websites
 
A FUTURE-FOCUSED DIGITAL PLATFORM WITH DRUPAL 8
A FUTURE-FOCUSED DIGITAL PLATFORM WITH DRUPAL 8A FUTURE-FOCUSED DIGITAL PLATFORM WITH DRUPAL 8
A FUTURE-FOCUSED DIGITAL PLATFORM WITH DRUPAL 8
 
The Future of Digital Storytelling - Phase2 Talk
The Future of Digital Storytelling - Phase2 TalkThe Future of Digital Storytelling - Phase2 Talk
The Future of Digital Storytelling - Phase2 Talk
 
Site building with end user in mind
Site building with end user in mindSite building with end user in mind
Site building with end user in mind
 
Fields, entities, lists, oh my!
Fields, entities, lists, oh my!Fields, entities, lists, oh my!
Fields, entities, lists, oh my!
 
Performance Profiling Tools and Tricks
Performance Profiling Tools and TricksPerformance Profiling Tools and Tricks
Performance Profiling Tools and Tricks
 
NORTH CAROLINA Open Source, OpenPublic, OpenShift
NORTH CAROLINA Open Source, OpenPublic, OpenShiftNORTH CAROLINA Open Source, OpenPublic, OpenShift
NORTH CAROLINA Open Source, OpenPublic, OpenShift
 
Drupal 8 for Enterprise: D8 in a Changing Digital Landscape
Drupal 8 for Enterprise: D8 in a Changing Digital LandscapeDrupal 8 for Enterprise: D8 in a Changing Digital Landscape
Drupal 8 for Enterprise: D8 in a Changing Digital Landscape
 
Riding the Drupal Wave: The Future for Drupal and Open Source Content Manage...
Riding the Drupal Wave:  The Future for Drupal and Open Source Content Manage...Riding the Drupal Wave:  The Future for Drupal and Open Source Content Manage...
Riding the Drupal Wave: The Future for Drupal and Open Source Content Manage...
 
Site Building with the End User in Mind
Site Building with the End User in MindSite Building with the End User in Mind
Site Building with the End User in Mind
 
The Yes, No, and Maybe of "Can We Build That With Drupal?"
The Yes, No, and Maybe of "Can We Build That With Drupal?"The Yes, No, and Maybe of "Can We Build That With Drupal?"
The Yes, No, and Maybe of "Can We Build That With Drupal?"
 
User Testing For Humanitarian ID App
User Testing For Humanitarian ID AppUser Testing For Humanitarian ID App
User Testing For Humanitarian ID App
 
Redhat.com: An Architectural Case Study
Redhat.com: An Architectural Case StudyRedhat.com: An Architectural Case Study
Redhat.com: An Architectural Case Study
 
The New Design Workflow
The New Design WorkflowThe New Design Workflow
The New Design Workflow
 
Drupal 8, Don’t Be Late (Enterprise Orgs, We’re Looking at You)
Drupal 8, Don’t Be Late (Enterprise Orgs, We’re Looking at You)Drupal 8, Don’t Be Late (Enterprise Orgs, We’re Looking at You)
Drupal 8, Don’t Be Late (Enterprise Orgs, We’re Looking at You)
 
Memorial Sloan Kettering: Adventures in Drupal 8
Memorial Sloan Kettering: Adventures in Drupal 8Memorial Sloan Kettering: Adventures in Drupal 8
Memorial Sloan Kettering: Adventures in Drupal 8
 

Recently uploaded

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 

Recently uploaded (20)

Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Cyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdfCyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdf
 

An Introduction to Drupal Commerce & Real World Examples