Meet Commerce 2.x

Drupal Dev Days 2015

Presented by Bojan Zivanovic / @bojan_zivanovic

Bojan Zivanovic
Commerce Development Lead at Commerce Guys

Commerce Guys

Paris | London | Ann Arbor, MI

Creators of Platform.sh and Drupal Commerce

Our vision is for Drupal Commerce to be the number one
open source eCommerce platform in the world...

Powering truly flexible eCommerce.

Built from scratch on Drupal 7

Minimalistic and flexible

Uses Views for all listings

Uses Rules for business logic

Relies on "essential contribs" and distributions to complete the experience

3.5 years since the first release...

Commerce 2.x Sprint

SensioLabs, Smile, Publicis Modem, OSInet, i-KOS, Adyax, Ekino, and others.

Once again, we start from scratch

Libraries first

Hello, GitHub

Currency handling

Currency formatting

12 345,99 €

12.345,99 €

€12,345.99

Currency formatting

د.إ.‏ ٩٩٩٫٩٩

Different numbering systems!

Addressing

Territorial groupings

  • California and Nevada
  • European Union
  • Germany and a set of Austrian postal codes (6691, 6991, 6992, 6993)
  • Austria without specific postal codes (6691, 6991, 6992, 6993)

Problem #1: What are my rates?

Problem #1.1: 2015 VOES

  • VAT on Electronically Supplied Services
  • When selling a digital product, VAT is due at the place of the customer.
  • From 2015 this applies to EVERYONE.

Problem #2: Percentages change

Problem #3: Tax zones

German VAT is used in Germany and 5 Austrian postal codes.

Austrian VAT is used in Austria without those 5 postal codes.

Problem #4: Charging the correct rate

  • B2B or B2C?
  • Physical or digital product?
  • Registered for tax in additional countries?
  • Place of supply

Current explorations

Hierarchical product model

Improved Order Workflows

Improved Checkout UX

Payments

// no code yet.
  • Expanded API and UI (authorizations, refunds)
  • Built-in tokenization (ex. commerce_cardonfile)
  • Concept of modes: Live/Sandbox

Discounts in core

Multistore / multivendor

The heroes

  • Jelle Bekker (jbekker) - 39
  • Josh Taylor (joshtau) - 36
  • Pedro Cambra (pcambra) - 30
  • Matt Glaman (mglaman) - 6
  • Jimmy Henderickx (StryKaizer) - 3
  • Andy Giles (andyg5000) - 1
  • Jakob Torp (googletorp) - 1

Questions?

Office hours
Every thursday 3PM GMT+2 #drupal-commerce