Overview video
0:00 Fill MegaEdit fields from your customer's account
0:04 The Prepopulate Data script fills fields on a MegaEdit product with details from your customer's account, so they don't have to type them in.
0:13 Here, a customer opens a business card from the storefront.
0:17 Their name, company, address and email are already on the design, taken from their account when the editor opens.
0:25 The details come from the customer's account: their Customer Info, or their billing address when Customer Info has no address or contact details.
0:34 It's set up on the MegaEdit product, field by field. The step-by-step guide on this page shows how.
Step-by-step video
0:00 Set up the Prepopulate Data script
0:03 In this video, we'll set up a business card that fills in the customer's name, company, address and email. You'll need a MegaEdit product, and a login that can edit MegaEdit templates.
0:15 In the admin area, edit your MegaEdit product and open the Scripts tab. Tick Prepopulate Data, then click Save changes.
0:24 Now open the product on your storefront and click Start. Because your login can edit templates, the editor shows the sample text and a Prepopulate Data button.
0:34 Select the field you want to fill in. Here, it's the name. The Prepopulate Data button becomes available.
0:42 Click Prepopulate Data, choose Customer Full Name from the list, and click Save.
0:48 Do the same for the other fields. The company field uses Company Name, and the address and email lines use their own data types.
0:57 Open the Menu and click Save as product default, so every customer gets this set-up.
1:03 The details come from the customer's Customer Info. If Customer Info has no address or contact details, the script uses their billing address instead.
1:13 To test, impersonate a customer, or log in as one, and open the product. Template editors always see the sample text, never their own details.
1:23 The card opens with the customer's details already filled in. They're refreshed every time the editor loads.
1:31 That's it. The step-by-step guide on this page has every setting and data type.
No lines in the transcript match your search.