This document discusses Drupal Commerce, an e-commerce platform built on Drupal. It provides an overview of what Drupal Commerce is, how it works, its core building blocks and strengths. These include its use of entities, rules and views which make it flexible and customizable. Examples are given of how Drupal Commerce can be extended, such as for dropshipping functionality. Resources for learning more about Drupal Commerce are also provided.
7. 2014-05-26 WWW.GENERO.FI
Whatitis?
You can make Drupal
Commerce suit your custom
needs. You can check out
how people have used
Commerce.
http://commerceguys.com/showcase
8. 2014-05-26 WWW.GENERO.FI
CommerceKickstart
With Drupal Commerce
Kickstart you can have a
basic webshop up and
running in a short time.
https://drupal.org/project/commerce_kickstart
http://demo.commerceguys.com/ck/
http://commerceguys.com/kickstart
26. 2014-05-26 WWW.GENERO.FI
ThestrengthsofDrupalCommerce
• It talks Drupal
• It has a lot of users
• Lots of resources, tutorials, discussions
• Lots of contributed modules
• You can customize it to fit your needs
• Nice API documentation
29. 2014-05-26 WWW.GENERO.FI
CUSTOMIZE
add to cart
A thing
3€
add to cart
A thing
3€
add to cart
A thing
3€
add to cart
A thing
3€
add to cart
A thing
3€
add to cart
A thing
3€
add to cart
A thing
3€
Change/create views, view modes, field formatters
see details
Otherstuff
3€
see details
Otherstuff
3€
30. 2014-05-26 WWW.GENERO.FI
CUSTOMIZE
A super cool product
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed
do eiusmod tempor incididunt ut labore et dolore magna
aliqua. Ut enim ad minim veniam, quis nostrud exercitation
ullamco laboris nisi ut aliquip ex ea commodo consequat.
Product display
3€
add to cartModel S
31. 2014-05-26 WWW.GENERO.FI
CUSTOMIZE
A super cool product
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed
do eiusmod tempor incididunt ut labore et dolore magna
aliqua. Ut enim ad minim veniam, quis nostrud exercitation
ullamco laboris nisi ut aliquip ex ea commodo consequat.
Duis aute irure dolor in reprehenderit in voluptate velit esse
cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat
cupidatat non proident, sunt in culpa qui officia deserunt
mollit anim id est laborum.
Product display
add to cart
Model S
3€
add to cart
Model M
4€
add to cart
Model L
5€
33. 2014-05-26 WWW.GENERO.FI
Somecustomizations
• Created Entity called Dropship Supplier
• Reference products with a Dropship supplier
• Add supplier SKU to product
• Modify Line items to have a status (processing,
shipped)
• Added extra status to order called Can be Captured
35. 2014-05-26 WWW.GENERO.FI
COMMERCEDROPSHIPSUPPLIER
Rules action, ”Check for order status updates from suppliers"
module1_check_for_shipped_line_items
module2_check_for_shipped_line_items
hmodule3_check_for_shipped_line_items
array with
shipped orders
array with
shipped orders
array with
shipped orders
invoke_all
update
order
status
&
Trigger
rules
event
check_for_shipped_line_items