What Is the Prepopulate Data Script?
The Prepopulate Data Script allows you to automatically fill specific text fields in your MegaEdit product with data from your users’ accounts. This is especially helpful for personalizing products (e.g., business cards, address labels) with the user’s name, email, address, or any custom data fields you have enabled in their profile.
1. How to Enable Prepopulate Data
- Go to Admin > Catalog > Product Types > MegaEdit > MegaEdit Products.
- Edit the product where you want to enable the script.
- Go to the Scripts tab.
- Enable the “Prepopulate Data Script”.
- Save changes.

When enabled, a new button called “Prepopulate Data” appears in the MegaEdit interface whenever you select a text field.

2. How to Use in MegaEdit
- Open the product in your store (as a normal, logged-in customer).
- Select a text field in the MegaEdit design.
- Click the “Prepopulate Data” button. A menu will appear showing the standard user-profile fields (e.g., first name, last name, email, etc.).
- Select one of the available data fields.
- For example, “Customer Full Name” or “Customer Email.”

- Once selected, the text field is “tagged” so that it will pull the correct user information.
