Sam Webster
Created Jan 10, 2023Batch data in MegaEdit
MegaEdit has the functionality to allow batch uploads using variable placeholders in a template that users can upload their batch data against. Here we look at the Standard Batch Script and how to apply to a product.
This script is to used in conjunction with a dynamic product that is using the CSV Plugin option. It enables the dynamic product to read a CSV or TXT upload file. You can also tick the script for "Standard Batch Upload options" which allows for .xls and .xlsx files to be used on a dynamic CSV product.

A placeholder will be added to the canvas with this format: [++Name++].... this enables the user to match their data with the placeholder using the mapping option when the batch data is submitted.
The newly created text field does not have to be used. If you wish to use a placeholder in an existing text field, simply replicate the placeholder text format [++Name++].

In our example, we have created a "Address" and "Phone" placeholders.
As you add in placeholders a dropdown list will be created - this is so you can re-use the placeholders on other text fields and pages of a template. You click the button 'Use' to apply the placeholder selected to the canvas.
