Skip to content

HTML Template Widgets

Target Audience: Users, Developers


Widgets are part of Payway's Marketing Theme. These widgets will allow you to set up a standalone HTML block, instead of defining everything inside your HTML templates.

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.

Configuring a HTML Widget

In order to create your first widget, navigate to PAP => Marketing => HTML Widget => Create HTML widget. In this view, you will be able to decide on a few things:

  • Name: The name of the widget. For internal use only.
  • Key: The key of the widget. This key will be used API calls to identify a given widget.
  • Title: The optional title the widget should belong to.

When a widget has been created, we will validate that the widget is unique, which takes the Key and Title into consideration.

Generally speaking, each widget must have a unique key. However, if a title is selected, multiple widgets with the same key can exist, as long as they exist on different titles. Having a default widget with no given title, even if the widget already exists on another title, is also possible.

Using a resource

After having your first HTML Widget created, you can now use our Marketplace API in order to fetch your HTML widgets, based on the configured keys and/or titles.