

Posted in
June 14, 2018
Empower your customers to customize products.
There is a high likelihood the t-shirt on your back or in your closet started life as someone’s idea, uploaded to an online tool. The idea that a person could buy t-shirts and design them in a tool and approve the proof before payment now seems almost commonplace. Why aren’t more people talking about this?
Your customers are expecting more tailored experiences when buying decorated apparel, signage and personalized promotional products from small to medium web storefronts. Getting the “Web to Print” toolset just right on Drupal is not easy.
Here are a few of the expectations for ordering printed materials from the web on Drupal:
Like many Drupal agencies, there’s rarely a problem we face that can’t be solved with in-house open source tools. Before we decry the problems, we are very proud of what we accomplished in the past given budget and available tools. With jQuery UI and HTML-to-pdf experience, we’ve built these kinds of tools before, to varying degrees of success. Every time we tackled a project like web-to-print, the struggle became very real. With minimal hours, the tools we knew and loved created a functional experience that was hard to maintain and very error-prone.
More often than not, we had trouble with converting HTML to PDF reliably enough for high-resolution print quality, especially with customer-supplied imagery and layout. Offering fonts in a customized product builder is challenging to get right, especially when you’re creating a PDF that has to have the font attached. The RGB colorspace doesn’t translate easily to CMYK, the most common four-colour process for printing. And all of our experience in software revolved around pixels, not these things called picas. In this crazy world, the resolution could go as high as 3200 dpi on standard printers, dimensions suddenly couldn’t be determined based on pixels.
Enter one of our clients. We had previously built them a tool with existing technology, but they now wanted some of the above-mentioned features, but not all of them. We took this as a sign to tackle the technical challenges we grappled with over a year ago.
We started to look for product customization tools and found nada. Then we looked for web layout tools that would maybe give Drupal a better HTML editing experience but found a disappointing lack of online web to print solutions. We did find grapejs, innovastudio, and keditor.
But, almost universally, these javascript-based libraries were focused on content and not editing products that would be printed. We needed something with the goal of creating a printable image or PDF with a tight integration around the editor experience. We had nearly convinced ourselves there wasn’t a vertical for this concept, it seemed like nearly all product builders in the wild were powered by one-off conglomerations of toolsets.
Finally, via a project manager, an industry phrase was discovered that opened the floodgates: Web to print. After a bit of sifting through the sales pitch of all the technologies, almost all tools were found to be cumbersome and hard to integrate into an existing Drupal website, save one. Customer’s Canvas checked all the boxes and then some:
To make an even longer story short, we jumped on board with Customer’s Canvas and built the first (to our knowledge) third-party web to print Drupal 7 module. We might make a Tech Talk regarding the installation and feature set of the module. Until then, here’s what you can do:
Currently, the module is built for Drupal 7. Upgrading to Drupal 8 Commerce 2 is definitely on our roadmap and should be a straightforward upgrade. Other things on the roadmap:
One of the big reasons we work with Drupal and Drupal Commerce is that anything with an API can be integrated. This opens the doors to allow the platform to do so much more than any other platform out there. If you need an integration made, talk to us! We're happy to help.