Enabling and utilising barcodes in MegaEdit | ME_029
In this tutorial, we introduce barcode fields into our MegaEdit toolkit. We'll see how to enable the barcode script, configure it if necessary and utilise barcodes on our MegaEdit products.
1. Navigate to Product Management

2. Create or select a MegaEdit product and navigate to the MegaEdit settings for that product

3. Click on Scripts

4. The Barcode Field script must be enabled on a product by product basis
If you cannot see the Barcode Field script in your list of available scripts, please contact Customer Support who will be able to enable it for you.

5. The script can be further configured using the Config button
This will allow you to add additional configuration to the script on this one product. Alternatively, as we will see shortly, you can apply config to scripts on a global level, to make your changes apply to all instances of that script being used.

6. This config will enable several additional, lesser used, types of barcode to be utilised along with the standard barcode types
These extended barcodes include:
GS1 128
GS1 DataBar extended
GS1 DataBar extended stacked

7. Click on Save and Continue Edit

8. You can quickly switch to the Global config of this script using the link provided on this screen

9. The global config works in the same way. Simply enter the script config and click save.

10. Navigate back to Scripts and ensure the Barcode Field script is enabled on the product

11. Click on Save changes

12. Navigate to the front end of your store and launch the product within MegaEdit

13. Click on Fields
With the Barcode script active, you will see a new field available, giving you the option to add a barcode field to your canvas.

14. Click on Add Barcode

15. Double click the barcode field to launch the pop up configuration options

16. Click on Configuration
The configuration tab is where you control the specification of the barcode itself, including options such as barcode type and the actual content of that barcode.
Options available in here and their function includes:
Type = What type of barcode you which to create, example STD-25/INT-25/QR Code/Data Matrix (see dropdown in editor for full list)
Value = The data you add here will be what is created via the barcode.
Encoding Mode = Only displays when Data Matrix is selected - options are BASE256/ASCII/C40/TEXT/X12
Auto Scale = Scales the barcode to fit the barcode field
Show Human Readable = This simply displays the value input below the barcode (as shown in above image with 123456789)
Margin Human Readable = This is a pixel value that adds space/padding between the base of the barcode and the Human readable value displayed below it.
Font Size = This will dictate the size of the text being displayed for the Human readable value.
Barcode colour = click the icon colour picker to enable the Megaedit colour pop up deatails where you can now assign a diffierent colour for the barcode to be displayed in.
If you wish to inject any other data from within catfish into a barcode on output creation or editor etc then this is possible but there would need to be a "MegaScript" written and applied to your storefront which is a chargeable development request, please contact the helpdesk for an explanation of your workflow requirements so a quote can be formally drafted for your approval.

17. As you make changes, the displayed barcode will automatically update

18. The Details tab allows you to control the behaviour of the field itself. This contains options seen in the other field types such as controlling how the end user can interact with the field.
