Contents

    Importing and exporting blueprints for portlets

    Your task/initial situation

    You can save your own portlets for the OnPage Composer as templates, so-called bluerprints, or add portlets that you have developed yourself. On this page we explain how to export and import your portlets as blueprints.

    Portlet development

    Portlets are stored in JSON format. Go to the developer documentation for JTL-Shop to learn what you have to consider when developing portlets: Go to developer documentation. In the following, we assume that you have already completely developed your portlet or exported it from another online shop (see below) or that it was provided to you by a JTL service partner.

    Importing a portlet

    1. Log in to the admin back end of JTL-Shop with your access data.
    2. Switch to the front end of your online shop and navigate to the page where you want to insert the portlet.
    3. Click on the OnPage Composer icon at the top left of the page to open the OnPage Composer for this page. If necessary, open a draft for editing if there are already drafts for the page.
    4. Switch to the Blueprints tab.
    5. Click on the Import blueprints button. A window opens in which you can search for files on your computer.
    6. Navigate to your saved JSON file, select it, and click Open.
    1. Then drag your newly imported portlet to any position on the page as usual.

    Exporting blueprints

    You can also export portlets so that you can import them again as a blueprint elsewhere. If the portlet contains content or other portlets, these will also be exported.

    1. Open the page in OnPage Composer containing the portlet you want to export.
    2. Klicken Sie bei dem Portlet, das Sie exportieren möchten, auf die Schaltfläche Auswahl als Blueprint speichern.
    3. Enter a name for the Blueprint and click Save.
    1. Switch to the Blueprints tab. Here you can see all the blueprints that you can export, including the new blueprint you have just created.
    2. Hover over the blueprint and click the export button. Then select a storage location.

    You can now import the exported template into other online shops as described above.