Skip to content

HTML Templates

Target Audience: Users, Developers

Introduction

HTML templates is a way to define HTML-code directly in PAP, which can later be fetched and used however you want from our Marketing API.

This feature is by default disabled and will have to be enabled by Adeprimo. If you are interested in this feature, feel free to contact our support.

How to use HTML templates

In order to set up a HTML template, navigate to PAP -> Marketing -> HTML templates. In here, you will decide on a few things:

  • Name: The name of the template. For internal use only.
  • Type: The type of the template, defining in which area the template should be used.
  • Default: Decides whether the HTML template should be considered as a default template or not. If no template is configured on a given theme, we will instead search for a default template.
  • Markup: The HTML markup that should be included in the template.

See also

  • Besides HTML templates, CSS templates can also be defined in much the same way in PAP. You can read more about Payway and CSS templates here.
  • Created HTML templates needs a underlying Theme to work correctly. Read more about Themes here.