How to create custom pages for affiliate panel

Table of content

As the affiliate panel menu is customizable, it allows you to add custom items with your own content or display websites within the affiliate panel.

To create new custom affiliate menu items, as a merchant navigate to Configuration > Affiliate panel > Menu & screens and click "Add menu items". In the Affiliate panel screens window, you can find two options - Add New Custom Page and Add New URL Page.

Adding a new custom content page

The first option allows you to create a new page with your own content. Click on the "Add new custom page" button, fill in the details, and click "Add page":

  • Show header - determines if the header with title and description should be displayed
  • Icon - click to select an icon for this item in the menu
  • Title - name of the item in the menu (and header if displayed)
  • Description - optional description of the page, shown when hovering over the header (if displayed)

After creating a custom page, you can add it to the affiliate menu by clicking "Add to menu".

To edit the content of the custom page, first click the Edit button and its details, check the name of the theme file, in our example it is "custom/instructions_videos" .

To edit the theme file go to Configuration > Design > Affiliate panel theme, edit your active theme (create a copy if needed), and in the theme editor search for the name of your custom page file name. Open the custom folder, click on the file to open it in the HTML editor, and insert its content. If there are more themes available for your affiliates, you need to edit the custom page file in each theme.

Texts enclosed by ## translation marks on custom pages can be automatically translated, see this article for more information. The content can be also automatically changed by using smarty statements.

Adding a new URL page

The second custom menu item option allows you to load external website in the affiliate panel, or redirect affiliates to it. In the Affiliate panel screens window click on the "Add new URL page" button, fill in the details, and click "Add page":

  • Show header - determines if the header with title and description should be displayed
  • Icon - click to select an icon for this item in the menu
  • Title - name of the item in the menu (and header if displayed)
  • Description - optional description of the page, shown when hovering over the header (if displayed)
  • URL - the address of the external page
  • URL variables - list of available variables to pass additional details about the affiliate
  • Open in - decides how the external page should be opened:
    • page - inside the affiliate panel in an iframe
    • new window - in a new browser tab
    • current window - in the current browser tab instead of the affiliate panel

After creating a custom page, you can add it to the affiliate menu by clicking "Add to menu".

×