Drupal Commerce Blog

What's happening in the world of Drupal Commerce.

Commerce 2.0 alpha2 released

The holidays are a distant memory, and Drupal 8 contrib work is happening in full force. Time for another 2.x alpha. The past three weeks have seen bug fixes, test work, and many internal cleanups. But let's focus on the bigger changes.

Reminder: Commerce 2.x alphas are NOT production ready. No upgrade path is provided between alphas, a full reinstall is needed each time.

Read on to find out what's new...

Posted: January 22, 2016
1 Comments

Commerce 2.0 alpha1 released

2016 will be the year of Drupal 8 and Commerce 2.x projects.
In order to start tracking our progress towards our first productive ready release (which will be beta1), we're releasing alpha1 of Commerce 2.0.
Behind the scenes we've also created new releases of several dependencies: inline_entity_form 1.0-alpha3, profile 1.0-alpha1, and state_machine 1.0-beta1.

Download alpha1 here, then follow the installation instructions in our documentation.

Read more...

Posted: December 25, 2015
4 Comments

Contributor Spotlight: Josh Taylor

Say hi. (who are you and what do you do in the Commerce ecosystem)

Hello! I'm Josh Taylor, a PHP Developer living in Melbourne, Australia who focuses on Drupal 7/8 and Symfony2 projects. I've been involved with helping Commerce 2.x in my spare time (not as much lately due to time constraints) to help make it the go-to eCommerce platform for users.

How did you get involved with contributing to Drupal Commerce?

benjy (Ben Dougherty) mentioned that Drupal Commerce was in the planning phase. I got really excited and checked it out, and started to contribute back small fixes with the help of bojanz (Bojan Zivanovic). Then I just kept going - I hope to contribute more back in 2016 when I have more time, especially as clients start to move onto Drupal 8.

Posted: December 14, 2015
0 Comments

Commerce 2.x Stories: Workflows

Now that we’ve covered products, it’s time to jump into orders. We are improving many aspects of orders based on previous feedback. One such aspect is the concept of order statuses and states.

In Commerce 1.x orders have a status. The status indicates the current checkout page, whether the order is a cart, whether it has been paid and fulfilled (shipped), or maybe cancelled/refunded. Statuses are sequential, one goes after another. They are grouped by states, e.g. all checkout statuses belong to the “checkout state“.

The problem with this model is that one list of statuses indicates multiple concepts (checkout state, payment state, fulfillment state, etc). These concepts are parallel and trying to handle them sequentially creates bugs and confusion. For example, an order might be paid before or after checkout completes due to the async nature of certain payment gateways, or because the business is invoicing clients at the end of the month. Furthermore, there is no requirement for the status to change sequentially, it can be set to any other status at any point. There is no way to express rules such as “only completed orders can be refunded“ or “completed orders can’t be sent back to checkout”.

Read on to find out how we're fixing it...
Posted: December 10, 2015
2 Comments

Commerce 2.x Stories: Products

Previously we talked about currencies and stores. This week we’ll focus on products.

Drupal 8 product list.

Commerce 2.x ships with much better UX out of the box, thanks to a revamped product architecture. It also features under the hood improvements that allow developers to implement custom product architectures for different use cases.

Read on...

Posted: November 20, 2015
9 Comments

Contributor Spotlight: Joël Pittet

Say hi. (who are you and what do you do in the Commerce ecosystem)

Hi:) My name is Joël Pittet and I’m out of Vancouver, BC, Canada. I offered to help co-maintain commerce_discount and a few other Commerce modules as well as likely involved in messing about with patches all over Commerce ecosystem.

How did you get involved with contributing to Drupal Commerce?

Started working on a Drupal Commerce project, noticed things could use some fixing up and jumped in the deep end. I was recognized for helping triage the commerce queue in a fervor to fix all the things.

Posted: November 16, 2015
0 Comments

Drupal 7 Commerce Sprint Month Retrospective

One month ago we kicked off the Drupal 7 Commerce Sprint. This sprint is an initiative to work on Drupal Commerce 1.x and contributed projects in the ecosystem. Every week we have held a scrum in the form of office hours in the #drupal-commerce IRC channel, along with a Google Hangout for those who want to sprint virtually together.

What has been accomplished?

We have had over twelve participants since the first office hours and averaged around five attendees each week. Thanks to these community members we’ve accomplished the following!

New / Updated modules

Posted: November 11, 2015
0 Comments

Commerce 2.x Stories: Stores

Last time we talked about currencies. Now it's time for arguably one of the biggest new concepts in Commerce 2.x: stores.

Stores represent billing locations, and were made to cover two primary use cases.

Click here to find out what they are...

Posted: November 10, 2015
10 Comments

Commerce 2.x Stories: Currencies

Welcome back. Last week we discussed our efforts around libraries, Composer, dependent modules. This week it’s time to jump into Commerce itself. Let’s start with currencies.

The very first Commerce 2.x story discussed our efforts to replace the hardcoded Commerce 1.x currency list with one generated from an external source. It also discussed our efforts to improve currency formatting. This work resulted in the commerceguys/intl library. It contains a list all currencies in the world, as well as translated currency names and symbols for over 200 languages. This list gets updated and expanded every 6 months (according to the CLDR release schedule).

On the Commerce side, currencies are configuration entities. A price field is provided that stores amounts and their currency codes.
The field widget and formatter are locale aware and use the intl library's NumberFormatter to do the heavy lifting.

Read on for more details...

Posted: October 29, 2015
1 Comments

Contributor Spotlight: Erik Peterson

Say hi. (who are you and what do you do in the Commerce ecosystem)

Hi! My name is Erik Peterson, aka torgosPizza, and I’m the “web guy” at RiffTrax.com, a web-based spinoff of the cult TV show Mystery Science Theater 3000. We’ve been making movies funny since 2006, and I help make that possible by maintaining the website and making sure our customers are able to get their downloads. I’m a self-taught developer with a BFA in Graphic Design, a proud Commerce contributor, and have been working with Drupal for over 8 years. Our site relies very heavily on Commerce, and so that’s where I spend the majority of my time in the issue queue!

Posted: October 27, 2015
1 Comments

Pages

Subscribe to Blog