Drupal                           commerce                           An ecommerce frameworkTuesday, February 14, 12
Who am I             • Jakob Torp - @googletorp             • Drupal developer ~ 3 years.             • Early adopter - Fi...
Nuts and boltsTuesday, February 14, 12
Core commerce                              entities             • Product             • Line items (reference to          ...
Product                              • Store product data                              • One product per SKU -            ...
Line items             • Used as wrapper in orders - quantity, unit price, total             • Important for product prici...
Creating a line itemTuesday, February 14, 12
How can entities be                                 used?             • Sell something that’s not a               product....
Create an orderTuesday, February 14, 12
Core framework                              features             • Product reference field.             • Price system - pr...
Product reference                                 field          • Create front-end product displays          • Display pr...
Price system             • Defined as a field for maximum flexibility.             • Amount, currency code and data          ...
Taxes             • Uses rules to apply.             • Custom line items can integrate by creating and               invok...
Rules and views             • Rules events for almost anything (hooks)             • Commerce specific actions and events. ...
Entity API             • entity_metadata_wrapper is your friend, but use               with care.             • Make fields...
Community             • Shipping                  Usage statistics             • Stock             • Coupons             •...
Drupal rooms             • Online booking with Drupal Commerce             • Conditional price alterations             • M...
Case study                           Print company             • Drupal 6 site with webform calculation => Drupal         ...
Case study                           Print company             • Drupal 6 site with webform calculation => Drupal         ...
Webform pageTuesday, February 14, 12
Order / line item formTuesday, February 14, 12
BackendTuesday, February 14, 12
The codeTuesday, February 14, 12
Questions?Tuesday, February 14, 12
Upcoming SlideShare
Loading in...5
×

Drupal Commerce Drupal camp

993

Published on

My presentation at Drupal Camp Copenhagen 2011

Published in: Technology, Business
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
993
On Slideshare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
14
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Drupal Commerce Drupal camp

  1. 1. Drupal commerce An ecommerce frameworkTuesday, February 14, 12
  2. 2. Who am I • Jakob Torp - @googletorp • Drupal developer ~ 3 years. • Early adopter - First live site launched 31/12/2010 • Maintainer of Commerce shipping • 3 sites created with Drupal commerceTuesday, February 14, 12
  3. 3. Nuts and boltsTuesday, February 14, 12
  4. 4. Core commerce entities • Product • Line items (reference to product) • Order (reference to line items) • Custom profilesTuesday, February 14, 12
  5. 5. Product • Store product data • One product per SKU - variant. • No front-end exposure.Tuesday, February 14, 12
  6. 6. Line items • Used as wrapper in orders - quantity, unit price, total • Important for product pricing system • Fields can be exposed on product’s add to cart form • Create custom line item types/bundles with hook_commerce_line_item_type_infoTuesday, February 14, 12
  7. 7. Creating a line itemTuesday, February 14, 12
  8. 8. How can entities be used? • Sell something that’s not a product. • You don’t want a traditional checkout. • You tell me!Tuesday, February 14, 12
  9. 9. Create an orderTuesday, February 14, 12
  10. 10. Core framework features • Product reference field. • Price system - price field • Clever tax handling - VAT and sales tax • Views and rules integration • Entity API integration • Quickly growing communityTuesday, February 14, 12
  11. 11. Product reference field • Create front-end product displays • Display products or get add to cart form. Create form for line item fields. • Create your own formatter or overwrite the display.Tuesday, February 14, 12
  12. 12. Price system • Defined as a field for maximum flexibility. • Amount, currency code and data • Record price alterations • Custom price components • Support for currency conversion.Tuesday, February 14, 12
  13. 13. Taxes • Uses rules to apply. • Custom line items can integrate by creating and invoking a rules action. • Price component for each tax type.Tuesday, February 14, 12
  14. 14. Rules and views • Rules events for almost anything (hooks) • Commerce specific actions and events. • Area handlers to make your life easy • Custom handlers for a lot of things • Ability to create a cart form view.Tuesday, February 14, 12
  15. 15. Entity API • entity_metadata_wrapper is your friend, but use with care. • Make fields act as entity properties.Tuesday, February 14, 12
  16. 16. Community • Shipping Usage statistics • Stock • Coupons • File products • Migration from Übercart • 41 non payment modulesTuesday, February 14, 12
  17. 17. Drupal rooms • Online booking with Drupal Commerce • Conditional price alterations • Missing price component integration • http://www.drupalrooms.comTuesday, February 14, 12
  18. 18. Case study Print company • Drupal 6 site with webform calculation => Drupal 7 + integration with Drupal Commerce. • Upgrade custom webform module. • Custom line item with reference to webform submissions. • Allow users to create orders.Tuesday, February 14, 12
  19. 19. Case study Print company • Drupal 6 site with webform calculation => Drupal 7 + integration with Drupal Commerce. • Upgrade custom webform module. • Custom line item with reference to webform submissions. • Products vs calculations • Allow users to create orders.Tuesday, February 14, 12
  20. 20. Webform pageTuesday, February 14, 12
  21. 21. Order / line item formTuesday, February 14, 12
  22. 22. BackendTuesday, February 14, 12
  23. 23. The codeTuesday, February 14, 12
  24. 24. Questions?Tuesday, February 14, 12
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×