Katalog
Przewodnik
Przygotowanie pliku konfiguracyjnego

Przygotowanie pliku konfiguracyjnego

Poniżej znajduje się szablon pliku konfiguracyjnego, na bazie którego możesz zacząć konfiugrować własny katalog.

configuration-file.json
{
  "landingPage": {
    "logo": "",
    "languages": [
      {
        "name": "Polski",
        "code": "pl",
        "title": "Wybierz swój język"
      }
    ]
  },
  "content": [
    {
      "type": "banner",
      "title": "baner_title",
      "description": "baner_description",
      "button": {
        "label": "baner_button_label",
        "href": ""
      },
      "menuTitle": "banner_menu_title"
    },
    {
      "type": "slider",
      "subtitle": "slider_subtitle",
      "title": "slider_title",
      "description": "slider_description",
      "downArrowLabel": "slider_arrow"
    },
    {
      "type": "categories",
      "categories": [
        {
          "name": "category_1_name",
          "description": "category_1_description",
          "image": {
            "id": ""
          },
          "products": [
            {
              "id": 1,
              "name": "product_1_name",
              "image": {
                "id": ""
              },
              "bagdes": []
            }
          ]
        }
      ]
    },
    {
      "type": "footer",
      "image": {
        "id": ""
      },
      "title": "footer_title",
      "description": "footer_description",
      "links": [
        {
          "label": "footer_link_1",
          "href": ""
        }
      ]
    }
  ],
  "playerCustomConfigurations": [
    {
      "id": 1,
      "add-layout": true,
      "add-configuration": true,
      "add-ar": true,
      "add-snapshot": true,
      "add-documentation": true,
      "currency": "PLN"
    }
  ],
  "productPages": [
    {
      "id": 1,
      "title": "product_1_title",
      "description": "product_1_description",
      "configurationsSidebarNrLabel": "baner_title",
      "playerComponentId": "",
      "playerCustomConfigurationId": 1,
      "boms": [
        {
          "templateId": 80,
          "filterId": 60
        }
      ],
      "formRecipientEmail": "s",
      "configurationsTitle": "product_1_configuration_title",
      "saveConfigurationLabel": "product_1_save_label",
      "showSavedConfigurationsLabel": "product_1_show_label",
      "configurationsSidebarTitle": "product_configurations_sidebar_title",
      "configurationsSidebarLoadButton": "product_configurations_sidebar_load_button",
      "configurationsSidebarDeleteButton": "product_configurations_sidebar_delete_button",
      "reviews": "product_reviews",
      "defaultConfigurationId": "",
      "configurations": [
        {
          "configurationId": "",
          "name": "Option 1",
          "image": {
            "id": ""
          },
          "price": 2297.68
        },
        {
          "configurationId": "",
          "name": "Option 2",
          "image": {
            "absolutePath": ""
          },
          "price": 2060.52
        },
        {
          "configurationId": "",
          "name": "Option 3",
          "image": {
            "id": ""
          },
          "price": 2238.1
        },
        {
          "configurationId": "",
          "name": "Option 4 - Standard",
          "image": {
            "id": ""
          },
          "price": 2159.04
        }
      ]
    }
  ],
  "inquiryModal": {
    "sendInquiryLabel": "inquiry_modal_send_inquiry_label",
    "title": "inquiry_modal_title",
    "cancelButtonLabel": "inquiry_modal_cancel_button_label",
    "confirmButtonLabel": "inquiry_modal_confirm_button_label",
    "nameLabel": "inquiry_modal_name_label",
    "emailLabel": "inquiry_modal_email_label",
    "phoneLabel": "inquiry_modal_phone_label",
    "messageLabel": "inquiry_modal_message_label",
    "privacyLabel": "inquiry_modal_privacy_label",
    "emptyFieldErrorMessage": "inquiry_modal_empty_field_error_message",
    "wrongEmailErrorMessage": "inquiry_modal_wrong_email_error_message",
    "wrongPhoneNumberErrorMessage": "inquiry_modal_wrong_phone_number_error_message",
    "privacyErrorMessage": "inquiry_modal_privacy_error_message",
    "flowDefinitionId": ""
  },
  "translations": {
    "pl": {
      "baner_title": "",
      "baner_description": "",
      "baner_button_label": "",
      "banner_menu_title": "",
      "slider_subtitle": "",
      "slider_title": "",
      "slider_description": "",
      "slider_arrow": "",
      "category_1_name": "",
      "category_1_description": "",
      "product_1_name": "",
      "product_1_title": "",
      "product_1_description": "",
      "product_1_configuration_title": "",
      "product_1_save_label": "",
      "product_1_show_label": "",
      "product_configurations_sidebar_title": "",
      "product_configurations_sidebar_load_button": "",
      "product_configurations_sidebar_delete_button": "",
      "product_send_inquiry_label": "",
      "footer_title": "",
      "footer_description": "",
      "footer_link_1": "",
      "footer_link_2": "",
      "footer_link_3": "",
      "inquiry_modal_send_inquiry_label": "Wyślij zapytanie",
      "inquiry_modal_title": "Skontaktuj się z nami",
      "inquiry_modal_cancel_button_label": "Zamknij",
      "inquiry_modal_confirm_button_label": "Wyslij",
      "inquiry_modal_name_label": "Imię i nazwisko",
      "inquiry_modal_email_label": "Email",
      "inquiry_modal_phone_label": "Numer telefonu",
      "inquiry_modal_message_label": "Wiadomość",
      "inquiry_modal_privacy_label": "Treść o prywatności do zaakceptowania.",
      "inquiry_modal_empty_field_error_message": "Pole wymagane",
      "inquiry_modal_wrong_email_error_message": "Niepoprawny e-mail",
      "inquiry_modal_wrong_phone_number_error_message": "Niepoprawny numer telefonu",
      "inquiry_modal_privacy_error_message": "Zaakceptuj prywatność"
    }
  }
}

Konfiguracja poszczególnych części katalogu