Generate barcodes

Prerequisites

The barcode generator requires a source attribute and a target attribute in Akeneo. E.g. An attribute containing the EAN should exist, as well as an image attribute to store the generated barcode.

Setting up the task

Navigate to the task overview in the middleware application. In the right-hand corner click + CREATE. Choose a label of your choice, a unique code to identify the task is generated automatically (but can be overwritten). As task type, choose generate_barcodes

task setup You will be redirected to the edit task page. In the section Parameters you will be able to set a source attribute in the EAN attribute input field, and a destination attribute in the EAN image attribute input field. Optionally, you can define an image format, barcode type and dimensions.

task setup

Finish the configuration of the task by scrolling down to the Schedule section and - optionally - providing a frequency of the task to run (this gets translated to a CRON configuration. More information: https://en.wikipedia.org/wiki/Cron).

task setup

Running the task

The task can be executed manually within the middleware application by navigating to the task, followed by clicking run in the top section.

task setup

You are redirected to the operation overview where the logs will be available as the operation goes through the process.

task setup

The result is a generated barcode for each product that meets the criteria. If the task is scheduled, barcode images will be added automatically to Akeneo.