Commerce Examples

Component type

module

Categories

Maintenance status

Development status

Downloads

11004

Component created

Component changed

This project aims to provide simple, educational examples of the programming APIs used in Drupal Commerce.

Right now there are examples of:

  • Adding additional checkout panes
  • Adding additional checkout pages
  • Adding a custom line item
  • Adding order states and statuses
  • Programmatically inserting products
  • Programmatically adding to the cart
  • Creating orders

On the agenda:

FAIL.

Component type

module

Maintenance status

Development status

Component created

Component changed

This project, dreamed up during a late night case of the sillies in #drupal-contribute, attempts to be a complication of worst Drupal practices in one place, so people can figure out what NOT to do when developing modules.

If you are instead interested in learning about the best Drupal development practices, please see the Examples for Developers project.