For the complete documentation index, see llms.txt. This page is also available as Markdown.

Advanced Partner Control Panel customization

Overview

Use HTML, CSS and JavaScript to customize the look and feel of the Control Panel used by your partners / resellers / distributors.

Availability

This feature is available in tandem with the 2Checkout Channel Manager (Partner) package.

Requirements

Customization work can be done by you or by 2Checkout (contact us directly for more details).

How do I enable a custom template for the Partner Control Panel?

  1. Navigate to Interface Templates under Setup.

  2. Click on the Partners tab.

  3. Select the Advanced customization option.

  4. Click on Add template.

How do I customize the template?

  1. Enter a unique name.

  2. Select the languages for which the customization will be displayed:

    • English (default)

    • German

    • French

    • Spanish

    • Japanese

    • Portuguese

    • Italian

  3. Use external JavaScript and CSS files for customization or use the inline editors available in the template customization page.

What are the Partner Control Panel pages that I can customize?

  • Partner Control Panel Dashboard (full customization, it includes the PartnerCPanel JS object). The remaining Control Panel pages do not feature this object, so customization capabilities are limited.

  • Partner ordering process (partial customization, as the process requires loading pages with AJAX. Hint: you could use a hidden DIV and personalize the contents).

  • Partners Signup, Partners Login, Partners product registration by using a cart template available in the Default Template area.

Partner Control Panel templates are standalone designs that do not share code with cart or myAccount templates. As such, if you check the Partners option on either a cart or a myAccount template, the template impacts exclusively the Partner Control Panel and gets moved to the Partner templates area. You cannot undo this process.

External JavaScript and CSS files

Upload one or more .CSS files, and similarly use a single or multiple .JS files, but also graphical elements to 2Checkout's server via the Media center: https://secure.avangate.com/cpanel/media.php. Unless uploaded to the 2Checkout server, these files will not allow for an SSL connection to be established.

When multiple .CSS or .JS files are uploaded, the last ones added will take precedence over previous items. Important: 2Checkout recommends that you use only a single .CSS file and a single .JS file in order to optimize page load time.

2Checkout Interface Templates use JavaScript and CSS external files to ensure a fast page loading time. 2Checkout will automatically merge the external JavaScript and CSS files uploaded via "Media Center" with the built-in interface files and serve them from a CDN (Content Delivery Network) for increased performance.

Once uploaded, the CSS and JS files will be featured in the External JavaScript and CSS files area of custom templates.

When added to a template, the custom .CSS and .JS files will override the default .CSS and .JS files.

Inline code editors

You can edit the:

  • Doctype Declaration

  • Page Title

  • Meta & CSS

  • HTML Code

  • JavaScript code

Click Save per-editor after inline changes.

CSS classes

You can use the following CSS classes to further customize the look and feel of the Partner Control Panel.

Class
Scope
Availability

partners__breadcrumb

Breadcrumbs area

All partner Control Panel pages

partners__header__bar

Header area

All partner Control Panel pages

partners__footer

Footer area

All partner Control Panel pages

partenrs__body__table

Content area

All partner Control Panel pages

partners__languages

Language selector area

All partner Control Panel pages and in the header

partners__main__menu

Menu area

All partner Control Panel pages

partners__errors

Error display area

All partner Control Panel pages

partners__messages

Message/notification display area

All partner Control Panel pages

partners__favorite__links

Favorites display area

If used

partners__quick__links

Quick link display area

If used

partners__quick__links__sidebar

Quick links sidebar display area

If used

partners__quick__stats

Statistics area

Homepage/dashboard

partners__proformas__listing

Partner invoices area

Homepage/dashboard

partners__orders__listing

Order listing area

Homepage/dashboard

JavaScript object available on the dashboard (Partner Control Panel homepage)

Use the inline editors to overwrite specific lines in the existing .CSS or .JS files. Note: Changing these files is an advanced operation best handled by experienced programmers.

Add your custom CSS and JS files. To upload the files, use the Media Center area of the Control Panel: https://secure.avangate.com/cpanel/media.php. Unless custom CSS and JS files are uploaded to a secure 2Checkout server, a secure connection (SSL) cannot be established for your customers.

When present, code in the inline editor overrides both the custom .CSS and .JS files added to a template as well as the default .CSS and .JS files.

Make sure to delete from the inline editors any pieces of code that you customized using external .CSS and .JS files. For example, if you defined the full CSS through an external file, delete the code in the inline editor completely. However, in scenarios in which you customized only some portions of the template using the .CSS file, leave the necessary code in the inline editor.

HTML tags

Use the following tags to include/exclude specific content such as the language selector, the menu, footer and breadcrumbs. All tags are optional with the exception of PAGECODE, that is mandatory.

  • Mandatory content:

    • <--{PAGECODE}--> Loads the dynamic content of the Partner Control Panel.

  • Optional content:

    • <--{LANGUAGES}--> Language selector

    • <--{MENU}--> Main menu

    • <--{HEADER}--> Header area

    • <--{FOOTER}--> Footer area

    • <--{BREADCRUMB}--> Navigation breadcrumbs for Control Panel pages

    • <--{QUICK_LINKS}--> Quick links - the grey top bar above the breadcrumbs

    • <--{FAVORITE_LINKS}--> Favorite links - displayed in the right sidebar only after you mark pages as favorites

    • <--{SIDE_LINKS}--> Side links - the links below the Favorite links area (only available in certain scenarios)

    • <--{TOP_LINKS}--> Top links - the top left row of links next to the language selector

Simple customization settings

Simple customization settings are automatically migrated to your templates when you start using advanced customization. You will be able to find your personalized settings in the Meta & CSS inline editor.

How does the preview work?

1

Navigate to Interface Templates under Setup: https://secure.avangate.com/cpanel/design.php

2

Click on the Partners tab: https://secure.avangate.com/cpanel/partners_design.php

3

Select the Advanced customization option.

4

Click on Add template.

5

Select Click here under Preview.

FAQ

Can I create multiple templates?

Yes. But you can have only a single design active at any given time.

Related documentation

  • Products and subscriptions listing query parameters: https://verifone.cloud/docs/2checkout/Documentation/myAccount/Products-and-subscriptions-listing-query-parameters

  • Subscriber management and self-service: https://verifone.cloud/docs/2checkout/Documentation/Subscription-Billing/03Subscriber-management-and-self-service

  • Contracts: https://verifone.cloud/docs/2checkout/Documentation/Subscription-Billing/01Subscription-Billing-Set-up/03Contracts

Need help?

Do you have a question? If you didn’t find the answer you are looking for in our documentation, you can contact our Support teams for more information. If you have a technical issue or question, please contact us. We are happy to help.

Get in touch: https://verifone.cloud/need-help

Not yet a Verifone customer?

We’ll help you choose the right payment solution for your business, wherever you want to sell, in-person or online. Our team of experts will happily discuss your needs.

Contact sales: https://www.verifone.com/en/global/contact-sales Get Started: https://www.verifone.com/en/global/contact-sales

Last updated

Was this helpful?