Skip to main content
webdna homepage

Barcode

Icon of Barcode, Craft CMS and Craft Commerce plugin, offers a cost-effective way to improve both internal and external processes increasing satisfaction for staff and customers alike.

Created for Craft CMS and Craft Commerce by webdna. Streamline processes across your organisation and reduce the potential for human error with the versatile Barcode plugin.

Barcode used for customer service

A variety of possible applications across your business.

Barcode generated using Craft CMS Plugin

Quick, efficient and user-friendly barcode generation.

Flexible barcode creation to suit different brand guidelines

Flexible enough to meet your brand’s needs.

Barcodes have been on the scene in retail since the 1970s and, while we often think of them as something unique to physical stores, they have a myriad of operational uses. As well as retail purchases, they can be used for events, tracking, advertising, registration, scheduling and authentication.  

The Barcode plugin for Craft CMS  offers a cost-effective way to improve both internal and external processes increasing satisfaction for staff and customers alike.

How does webdna’s Barcode plugin work?

With its user-friendly interface, customisable options, and ease of integration, this Barcode plugin lets users generate barcodes effortlessly and efficiently, enhancing productivity and streamlining workflows. 

Key features of webdna’s Barcode plugin include:   

  • Easy and flexible barcode creation for numbers or alphanumeric data so it can accommodate various barcode types
  • Options to customise parameters such as width factor, height, and colour, so that your barcodes meet design and functionality needs
  • Easy integration through Twig variables or filters.

Barcode plugin technical information

This plugin allows the generation of a barcode via a field type, variable or twig filter. All instances of barcode accept the following parameters:

  1. Code: number or alphanumeric depending on the barcode type.
  2. Format: svg or png (default: svg)
  3. Type: see below for all accepted types (default: EAN13)
  4. Width factor: this set with the width factor of the bars (default: 2)
  5. Height: the in pixels of the bars (default: 30)
  6. Colour: the hex value of the bars (default: '#000000')

 

Twig variables:

   {{ craft.barcode.generate(123456789) }}
    {{ craft.barcode.generate(123456789, 'png', 'EAN13', 2, 30, '#000000') }}

 

Twig Filters:

   {{ 123456789|barcode }}
    {{ 123456789|barcode('png', 'EAN13', 2, 30, '#000000') }}

Barcode Plugin in action: A case study

This client is making the most of their Barcode plugin across the board, utilising it for a range of applications throughout their business, both behind the scenes and in their shop. 

They carry out repairs that can be arranged online. Customers go to their website, select the part they wish to have serviced or repaired and get a rough quote. They then book it and pay a deposit. The customer is asked to print out their order confirmation, which has been allocated a barcode, and courier or drop it off along with their part. Once received, staff scan the barcode to get all the details of the booking so they’re completely clear on what is needed and when the job is scheduled. 

As well as being a great tool to help manage a high level of orders in a busy workshop, the barcode plugin has proven useful elsewhere. They use it to create barcode labels for the products in their physical shop and they are also used behind the scenes for stock control.  

The webdna Barcode plugin is available for Craft 5, Craft 4 and Craft 3 in the Craft CMS Plugin Store.