QuickBooks HelpQuickBooksHelpIntuit

Where to Edit Template Code

by Intuit1 Updated 4 weeks ago

The template options in this article are available for the classic email builder only. To learn about templates in the new email builder, read Design an Email in the New Builder.

If you've coded your own template with Mailchimp's template language or coded an HTML file that you imported to create a template, you can edit the template's code directly in your account.

In this article, you'll learn where to access your template's HTML code and how to add images to your custom template from the content studio.

Access the template HTML code

To edit your custom template, follow these steps.

  1. Click Content, then click Email templates.

  2. Browse the template list or search or the template you want to edit.

  3. Click Edit for the Code your own template you want to work with.
    button-templatepage-codeyourown-clickedit From this screen, you can edit the template using Mailchimp's visual designer tools or click the Edit Code button to work directly in the template's HTML.
    button-codeyourowntemplate-clickeditcode
  4. After you're done, click Save in the lower-left corner.
  5. Click Save and Exit in the lower-right corner of the Template Builder screen.
  • Changes made to a Code your own template will appear in any draft or scheduled campaigns that use the template. Before making edits to a Code your own template, make sure there aren't any draft or scheduled campaigns that could be negatively affected by your changes.
  • The Edit Code button is only accessible in the Template Builder. To edit the code for a template you saved from the Campaign Builder, export the template and then import it back into your account as a Code your own template. Note that you won't be able to add, edit, or remove any of the drag-and-drop blocks in the imported version.

Use the Content Studio with your custom template

The content studio keeps your files handy when you're coding your own templates. You can copy a file's source URL to your clipboard and quickly insert it into your code.

To copy your file’s source URL, follow these steps.

  1. Click Content, then click Email templates.

  2. Click the custom-coded template you want to work with.

  3. In the Edit code pane, click Content Studio.
    templates-codeyourown-contentstudio
  4. Click the file you want to link in your code.
    file-contentmanager-clickfile
  5. Click the drop-down menu next to View Details, and choose Copy URL.
    dropdown-contentmanager-copyurl
    You’ll see an alert that confirms the source URL has been copied to your clipboard.
  6. In the Edit code pane of the template builder, paste the URL into your code as needed.
Mailchimp

Sign in now for personalized help

See articles customized for your product and join our large community of QuickBooks users.

More like this