Skip to main content
[2023-01-17]

Launching my wife's cookie shop web store with Drupal 10 and Square

#drupal #drupal-commerce

My wife owns her custom cookie shop, which sells decorated sugar cookies. On top of her regular custom orders, she does special cookies and cookie sets for each holiday. Recently she moved from PayPal to Square for her invoicing to leverage their more extensive offering of tools to merchants.

[2018-03-11]

Flush and run, using Kernel::TERMINATE to improve page speed performance

#drupal #performance #drupal-commerce

At DrupalCon Dublin I caught Fabianx’s presentation on streaming and other awesome performance techniques. His presentation explained how BigPipe worked to me, finally. It also made me aware of the fact that, in Drupal, we have mechanisms to do expensive procedures after output has been flushed to the browser.

[2017-06-04]

Swapping Drupal 8 services to customize Drupal Commerce

#drupal #8 #drupal-commerce

One of the reasons that I love Drupal 8 is the fact it is object orientated and uses the Dependency Injection pattern with a centralized service container. If you’re new to the concept, here’s some links for some fun reading.

[2016-05-19]

Drupal Commerce and Migrate status

#drupal #drupal-commerce #migrate

First Steps

Plans were made back in December 2015 to put effort into the ability to support Migrate with Drupal Commerce to speed up adoption of Drupal Commerce 2.0. Commerce Migrate for Drupal 8 will provide migrations from Drupal Commerce 1.x, Ubercart for D6, and Ubercart for D7. Ideally, this module will also support other vendors, such as Magento and WooCommerce.

[2015-06-25]

Commerce entity's and storing arbitrary data

#drupal-commerce #drupal

Drupal Commerce entities all make use of the "data" attribute. The data attribute is a blob that contain just about anything you would like - for example, Commerce Shipping utilizes this for shipping line items.

[2014-11-27]

Programmatically change the "Add to Cart" line item type

#drupal-commerce
Drupal Commerce has a very interesting "Add to Cart" form. The add to cart form is a field formatter for the product reference field (or even entityreference field.) In a general sense, a node has a product reference field using the "Add to Cart" formatter. What makes it more unique is that this form exposes certain fields from the product entities, but also the line item type being used.
[2013-11-10]

Sort Drupal Commerce Shipping Services

#drupal-commerce

If you are using Drupal Commerce and are allowing customer's two or more shipping services you'll notice that the order may not make sense. By default the shipping services are displayed by how they're output in grouping of shipping provider then some other sorting that isn't cost based. There is a hook within Commerce Shipping that allows reordering of all shipping services.

 

[2013-11-07]

Commerce Reports 4.x

#drupal-commerce #commerce reports

I spent a few hours this evening and knocked out a few updates for Commerce Reports to kick off the 4.x version of the module. It separates the module from the non-maintained Visualization API for the maintained Charts module. This version also removes the granularity filter we've all come to know and love with using Views Date Format SQL module.