Meet Commerce 2.x – Drupal Dev Days 2015 – Commerce 2.x Sprint



Meet Commerce 2.x – Drupal Dev Days 2015 – Commerce 2.x Sprint

1 0


future-of-commerce-d8

Slides for the "Future of Commerce on D8" session

On Github bojanz / future-of-commerce-d8

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

We're a Drupal powered eCommerce company now headquartered in Paris with offices in London and Ann Arbor. We formed the international company through a small merger in 2010 to create Drupal Commerce and Platform.sh. We're now up to around 60 people, about 25% distributed, delivering a wide variety of projects across North America and Europe.

Our story has always been based around solving the hard parts of eCommerce together; the first time we ever cooperated as an international team, in fact, was to develop a new site for a global brand that was multilingual, multi-currency, and with locale specific payment gateways and product availability. It was hard. Very hard. We still see the ghost of that project wandering around our office. We were still using Ubercart at the time and knew we needed to do better.

So we created Drupal Commerce!

It extends a branch-merge workflow to infrastructure so that every branch can be tested as if it were in production, and it scales for the largest sites.

Our vision is for Drupal Commerce to be the number oneopen 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