{
  "home": [
    {
      "id": "lpc_section_home",
      "type": "title",
      "title": "Welcome to your Colissimo plugin!"
    },
    {
      "id": "lpc_onboarding",
      "type": "onboarding",
      "title": ""
    },
    {
      "id": "lpc_section_home",
      "type": "sectionend"
    }
  ],
  "main": [
    {
      "id": "lpc_section_general",
      "type": "title",
      "title": "General configuration"
    },
    {
      "id": "lpc_credentials_type",
      "type": "lpcCredentials",
      "title": "Connection type"
    },
    {
      "id": "lpc_contract_number",
      "type": "text",
      "title": "Contract number",
      "desc": "Your user name on colissimo.entreprise.laposte.fr",
      "desc_tip": true,
      "class": "",
      "default": ""
    },
    {
      "id": "lpc_apikey",
      "type": "password",
      "title": "Application key",
      "desc": "Key used to connect to Colissimo services. It can be created from your Colissimo Box account.",
      "class": "",
      "default": "",
      "custom_attributes": {
        "autocomplete": "new-password"
      }
    },
    {
      "id": "lpc_id_webservices",
      "type": "text",
      "title": "User Name",
      "desc": "User Name of your account for La Poste webservices. Must have a valid Facilité or Privilège contract on colissimo.entreprise.laposte.fr",
      "desc_tip": true,
      "class": "",
      "default": ""
    },
    {
      "id": "lpc_pwd_webservices",
      "type": "password",
      "title": "Password",
      "desc": "Password to connect to La Poste webservices and use the module",
      "desc_tip": true,
      "class": "",
      "default": "",
      "custom_attributes": {
        "autocomplete": "new-password"
      }
    },
    {
      "id": "lpc_parent_account",
      "type": "text",
      "title": "Parent account user name",
      "desc": "The User Name of the parent account, if you are using an advanced Colissimo user.",
      "desc_tip": true,
      "class": "",
      "default": ""
    },
    {
      "id": "lpc_cbox",
      "type": "lpc_cbox",
      "title": "Access Colissimo Box"
    },
    {
      "id": "lpc_contract_information",
      "type": "lpc_contract_information",
      "title": "Your contract information"
    },
    {
      "id": "lpc_section_general",
      "type": "sectionend"
    },
    {
      "id": "lpc_section_origin_address",
      "type": "title",
      "title": "Origin address",
      "desc": "This is the address of your warehouse, if this address is set it will override the default WooCommerce store address"
    },
    {
      "id": "lpc_origin_company_name",
      "type": "text",
      "title": "Name of your store company",
      "class": "",
      "default": ""
    },
    {
      "id": "lpc_origin_firstname",
      "type": "text",
      "title": "Firstname",
      "class": "",
      "default": ""
    },
    {
      "id": "lpc_origin_lastname",
      "type": "text",
      "title": "Lastname",
      "class": "",
      "default": ""
    },
    {
      "id": "lpc_origin_address_line_1",
      "type": "text",
      "title": "Address line 1",
      "desc": "The street address for your warehouse location",
      "class": "",
      "default": ""
    },
    {
      "id": "lpc_origin_address_line_2",
      "type": "text",
      "title": "Address line 2",
      "desc": "An additional, optional address line for your warehouse location",
      "class": "",
      "default": ""
    },
    {
      "id": "lpc_origin_address_city",
      "type": "text",
      "title": "City",
      "desc": "The city in which your warehouse is located",
      "class": "",
      "default": ""
    },
    {
      "id": "lpc_origin_address_country",
      "type": "addressCountry",
      "title": "Country / State",
      "desc": "The country and state or province, if any, in which your warehouse is located",
      "class": ""
    },
    {
      "id": "lpc_origin_address_zipcode",
      "type": "text",
      "title": "Postcode / ZIP",
      "desc": "The postal code, if any, in which your warehouse is located",
      "class": ""
    },
    {
      "id": "lpc_origin_email",
      "type": "email",
      "title": "Email",
      "class": "",
      "default": ""
    },
    {
      "id": "lpc_origin_phone",
      "type": "text",
      "title": "Phone number",
      "class": "",
      "default": ""
    },
    {
      "id": "lpc_origin_mobile",
      "type": "text",
      "title": "Mobile number",
      "class": "",
      "default": ""
    },
    {
      "id": "lpc_section_origin_address",
      "type": "sectionend"
    },
    {
      "id": "lpc_section_return_address",
      "type": "title",
      "title": "Return address",
      "desc": "This is the address of the place where you want to receive parcels returned by your customers. The default address will be the origin address"
    },
    {
      "id": "lpc_return_company_name",
      "type": "text",
      "title": "Name of your store company",
      "class": "",
      "default": ""
    },
    {
      "id": "lpc_return_firstname",
      "type": "text",
      "title": "Firstname",
      "class": "",
      "default": ""
    },
    {
      "id": "lpc_return_lastname",
      "type": "text",
      "title": "Lastname",
      "class": "",
      "default": ""
    },
    {
      "id": "lpc_return_address_line_1",
      "type": "text",
      "title": "Address line 1",
      "desc": "The street address for your return location",
      "class": "",
      "default": ""
    },
    {
      "id": "lpc_return_address_line_2",
      "type": "text",
      "title": "Address line 2",
      "desc": "An additional, optional address line for your return location",
      "class": "",
      "default": ""
    },
    {
      "id": "lpc_return_address_city",
      "type": "text",
      "title": "City",
      "desc": "The city in which your return location is located",
      "class": "",
      "default": ""
    },
    {
      "id": "lpc_return_address_country",
      "type": "addressCountry",
      "title": "Country / State",
      "desc": "The country and state or province, if any, in which your return location is located",
      "class": ""
    },
    {
      "id": "lpc_return_address_zipcode",
      "type": "text",
      "title": "Postcode / ZIP",
      "desc": "The postal code, if any, in which your return location is located",
      "class": ""
    },
    {
      "id": "lpc_return_email",
      "type": "email",
      "title": "Email",
      "class": "",
      "default": ""
    },
    {
      "id": "lpc_return_phone",
      "type": "text",
      "title": "Phone number",
      "class": "",
      "default": ""
    },
    {
      "id": "lpc_return_mobile",
      "type": "text",
      "title": "Mobile number",
      "class": "",
      "default": ""
    },
    {
      "id": "lpc_section_return_address",
      "type": "sectionend"
    }
  ],
  "label": [
    {
      "id": "lpc_section_labels",
      "type": "title",
      "title": "Labels"
    },
    {
      "id": "lpc_using_insurance",
      "type": "checkbox",
      "title": "Use Colissimo Insurance for outward label?",
      "desc": "If enabled, each outward label generation will use Colissimo Insurance feature by default.",
      "desc_tip": true,
      "class": "",
      "default": ""
    },
    {
      "id": "lpc_deliveryLabelFormat",
      "type": "select",
      "title": "Delivery label format",
      "class": "",
      "default": "PDF_A4_300dpi",
      "options": {
        "PDF_A4_300dpi": "PDF office printing, dimension A4 and resolution of 300dpi",
        "PDF_10x15_300dpi": "PDF office printing, dimension 10cm x 15cm, and resolution of 300dpi",
        "PDF_10x12_300dpi": "PDF office printing, dimension 10cm x 12cm, and resolution of 300dpi",
        "PDF_10x10_300dpi": "PDF office printing, dimension 10cm x 10cm, and resolution of 300dpi",
        "ZPL_10x15_300dpi": "ZPL thermal printing, dimension 10cm x 15cm, and resolution of 300dpi",
        "ZPL_10x15_203dpi": "ZPL thermal printing, dimension 10cm x 15cm, and resolution of 203dpi",
        "ZPL_10x10_300dpi": "ZPL thermal printing, dimension 10cm x 10cm, and resolution of 300dpi",
        "ZPL_10x10_203dpi": "ZPL thermal printing, dimension 10cm x 10cm, and resolution of 203dpi",
        "DPL_10x15_300dpi": "DPL thermal printing, dimension 10cm x 15cm, and resolution of 300dpi",
        "DPL_10x15_203dpi": "DPL thermal printing, dimension 10cm x 15cm, and resolution of 203dpi",
        "DPL_10x10_300dpi": "DPL thermal printing, dimension 10cm x 10cm, and resolution of 300dpi",
        "DPL_10x10_203dpi": "DPL thermal printing, dimension 10cm x 10cm, and resolution of 203dpi"
      }
    },
    {
      "id": "lpc_generate_label_on",
      "type": "multiselectorderstatus",
      "title": "",
      "class": "",
      "default": ""
    },
    {
      "id": "lpc_label_slip_day_to_substract",
      "type": "number",
      "title": "Number of days for the end of period slip",
      "desc": "Choose the number of days taken into account for the end of period slip. For example if you choose 2, the slip will be generated with yesterday and today's labels that haven't any slip yet.",
      "desc_tip": true,
      "class": "",
      "default": "0",
      "custom_attributes": {
        "min": "0"
      }
    },
    {
      "id": "lpc_add_customer_notes",
      "type": "checkbox",
      "title": "Add order notes on label",
      "desc": "If enabled, the order notes set by the customer during the checkout will be displayed on the label",
      "desc_tip": true,
      "default": "yes"
    },
    {
      "id": "lpc_day_purge",
      "type": "number",
      "title": "Number of days to consider labels and delivery slips for purging (days)",
      "desc": "Delay before deleting labels BLOB from database. Use 0 or leave empty to disable this purge.",
      "desc_tip": true,
      "class": "",
      "default": "30",
      "custom_attributes": {
        "min": "0"
      }
    },
    {
      "id": "display_import_tracking_number",
      "type": "checkbox",
      "title": "Display a button to import your tracking number in Colissimo listing",
      "desc": "This feature is only needed if you don't generate your labels on your website. You can import a CSV to set the tracking numbers in WooCommerce with the columns order_id and tracking_number like so:<br/><br/>order_id,tracking_number<br/>123,6C12345678910<br/>456,6C12345678911",
      "desc_tip": true,
      "default": "no"
    },
    {
      "id": "lpc_section_labels",
      "type": "sectionend"
    },
    {
      "id": "lpc_section_status",
      "type": "title",
      "title": "Order status"
    },
    {
      "id": "lpc_order_status_on_label_generated",
      "type": "selectorderstatusonlabelgenerated",
      "title": "",
      "class": "",
      "default": ""
    },
    {
      "id": "lpc_order_status_on_bordereau_generated",
      "type": "selectorderstatusonbordereaugenerated",
      "title": "",
      "class": "",
      "default": ""
    },
    {
      "id": "lpc_status_on_partial_expedition",
      "type": "selectorderstatuspartialexpedition",
      "title": "",
      "class": "",
      "default": ""
    },
    {
      "id": "lpc_label_status_update_days",
      "type": "number",
      "title": "Number of days for shipment status update",
      "desc": "Choose the number of days during which the shipment status is updated. The shipment status will not be updated for orders created more than X days ago.",
      "desc_tip": true,
      "class": "",
      "default": "90",
      "custom_attributes": {
        "min": "1"
      }
    },
    {
      "id": "lpc_order_status_follows_shipping_status",
      "type": "checkbox",
      "title": "Change order status to follow shipping status",
      "desc": "The order status will be automatically updated when the parcel is in transit, when there is a shipment anomaly or when it is delivered.",
      "desc_tip": true,
      "default": "yes"
    },
    {
      "id": "lpc_status_on_delivered",
      "type": "selectorderstatusdelivered",
      "title": "",
      "class": "",
      "default": ""
    },
    {
      "id": "lpc_section_status",
      "type": "sectionend"
    },
    {
      "id": "lpc_section_invoices",
      "type": "title",
      "title": "Invoices"
    },
    {
      "id": "add_invoice_zip_label",
      "type": "checkbox",
      "title": "Add the invoice in the label archive",
      "desc": "In the Colissimo listing on the bulk action download label information, if this option is checked it adds the invoice to the archive",
      "desc_tip": true,
      "default": "yes"
    },
    {
      "id": "add_invoice_download_label",
      "type": "checkbox",
      "title": "Add the invoice when downloading the label",
      "desc": "In the Colissimo listing when you download a single label, if this option is checked it adds the invoice to the PDF file.",
      "desc_tip": true,
      "default": "yes"
    },
    {
      "id": "add_invoice_print_label",
      "type": "checkbox",
      "title": "Add the invoice when printing the label",
      "desc": "In the Colissimo listing when you print a single label, if this option is checked it adds the invoice to the printed file.",
      "desc_tip": true,
      "default": "yes"
    },
    {
      "id": "lpc_section_invoices",
      "type": "sectionend"
    },
    {
      "id": "lpc_section_return_labels",
      "type": "title",
      "title": "Return labels"
    },
    {
      "id": "lpc_customers_download_return_label",
      "type": "select",
      "title": "Allow customers to download return label from their account",
      "desc": "If the return label doesn't exist, it will be generated",
      "desc_tip": true,
      "class": "",
      "default": "no",
      "options": {
        "no": "No",
        "yes": "Yes"
      }
    },
    {
      "id": "lpc_customers_download_return_label_days",
      "type": "number",
      "title": "Number of days during which the customers can download the return label",
      "desc": "If you authorize customers to download the return label, you can choose the number of days during which it is available after the order creation.",
      "desc_tip": true,
      "class": "",
      "row_class": "lpc_customers_download_return_label_days_container",
      "default": "14",
      "custom_attributes": {
        "min": "1"
      }
    },
    {
      "id": "lpc_secured_return",
      "type": "secured_return"
    },
    {
      "id": "lpc_bal_return",
      "type": "checkbox",
      "title": "MailBox pick-up",
      "desc": "Allow customers to automatically create return labels and use them to return the parcel from their MailBox",
      "desc_tip": true,
      "row_class": "lpc_bal_return_container",
      "class": ""
    },
    {
      "id": "lpc_createReturnLabelWithOutward",
      "type": "checkbox",
      "title": "Automatically create return label at the same time as the outward label",
      "desc": "If you don't activate this option, you can still manually create return labels on order shipping page",
      "desc_tip": true,
      "class": "",
      "row_class": "lpc_createReturnLabelWithOutward_container"
    },
    {
      "id": "lpc_using_insurance_inward",
      "type": "checkbox",
      "title": "Use Colissimo Insurance for inward label?",
      "desc": "If enabled, each inward label generation will use Colissimo Insurance feature by default.",
      "desc_tip": true,
      "class": "",
      "default": ""
    },
    {
      "id": "lpc_returnLabelFormat",
      "type": "select",
      "title": "Return label format",
      "desc": "Return labels for International shipments are only available in PDF A4 format and will ignore this option.",
      "desc_tip": true,
      "class": "",
      "default": "PDF_A4_300dpi",
      "options": {
        "PDF_A4_300dpi": "PDF office printing, dimension A4 and resolution of 300dpi",
        "PDF_10x15_300dpi": "PDF office printing, dimension 10cm x 15cm, and resolution of 300dpi",
        "PDF_10x12_300dpi": "PDF office printing, dimension 10cm x 12cm, and resolution of 300dpi",
        "PDF_10x10_300dpi": "PDF office printing, dimension 10cm x 10cm, and resolution of 300dpi",
        "ZPL_10x15_300dpi": "ZPL thermal printing, dimension 10cm x 15cm, and resolution of 300dpi",
        "ZPL_10x15_203dpi": "ZPL thermal printing, dimension 10cm x 15cm, and resolution of 203dpi",
        "ZPL_10x10_300dpi": "ZPL thermal printing, dimension 10cm x 10cm, and resolution of 300dpi",
        "ZPL_10x10_203dpi": "ZPL thermal printing, dimension 10cm x 10cm, and resolution of 203dpi",
        "DPL_10x15_300dpi": "DPL thermal printing, dimension 10cm x 15cm, and resolution of 300dpi",
        "DPL_10x15_203dpi": "DPL thermal printing, dimension 10cm x 15cm, and resolution of 203dpi",
        "DPL_10x10_300dpi": "DPL thermal printing, dimension 10cm x 10cm, and resolution of 300dpi",
        "DPL_10x10_203dpi": "DPL thermal printing, dimension 10cm x 10cm, and resolution of 203dpi"
      }
    },
    {
      "id": "lpc_email_return_label",
      "type": "checkbox",
      "title": "Automatically email the return label to the customer",
      "desc": "If enabled, the return label will be automatically emailed to the customer when it is generated. Please make sure that the 'Inward label generated' email is enabled in WooCommerce->Settings->Emails.",
      "desc_tip": true,
      "class": ""
    },
    {
      "id": "lpc_section_return_labels",
      "type": "sectionend"
    },
    {
      "id": "lpc_section_zpldpl_labels",
      "type": "title",
      "title": "ZPL/DPL labels printing"
    },
    {
      "id": "lpc_zpldpl_labels_port",
      "type": "select",
      "title": "Port",
      "class": "",
      "default": "USB",
      "options": {
        "USB": "USB",
        "ETHERNET": "Ethernet"
      }
    },
    {
      "id": "lpc_zpldpl_labels_ip",
      "type": "text",
      "title": "IP address",
      "class": "",
      "row_class": "lpc_zpldpl_labels_ip_container",
      "default": "",
      "desc": "IPV4 format IP address.",
      "desc_tip": true,
      "placeholder": "192.168.0.100"
    },
    {
      "id": "lpc_zpldpl_labels_protocol",
      "type": "select",
      "title": "Protocol",
      "class": "",
      "row_class": "lpc_zpldpl_labels_protocol_container",
      "default": "DATAMAX",
      "options": {
        "DATAMAX": "DATAMAX",
        "INTERMEC": "INTERMEC",
        "ZEBRA": "ZEBRA"
      }
    },
    {
      "id": "lpc_zpldpl_labels_urlport",
      "type": "text",
      "title": "URL port",
      "class": "",
      "default": "8000",
      "placeholder": "8000"
    },
    {
      "id": "lpc_zpldpl_labels_urlprotocol",
      "type": "select",
      "title": "URL protocol",
      "class": "",
      "default": "HTTP",
      "options": {
        "HTTP": "HTTP",
        "HTTPS": "HTTPS"
      }
    },
    {
      "id": "lpc_section_zpldpl_labels",
      "type": "sectionend"
    }
  ],
  "parcel": [
    {
      "id": "lpc_section_tracking",
      "type": "title",
      "title": "Tracking"
    },
    {
      "id": "lpc_email_outward_tracking",
      "type": "select",
      "title": "Send tracking email",
      "desc": "Send the tracking link in an email to customer. Please make sure that the 'Colissimo order tracking' email is enabled in WooCommerce->Settings->Emails.",
      "desc_tip": true,
      "class": "",
      "default": "no",
      "options": {
        "on_outward_label_generation": "On outward label generation",
        "on_bordereau_generation": "On bordereau generation",
        "no": "Disable"
      }
    },
    {
      "id": "lpc_email_tracking_link",
      "type": "select",
      "title": "Tracking link",
      "desc": "Choose where the tracking link in the tracking email will redirect to",
      "desc_tip": true,
      "class": "",
      "default": "website_tracking_page",
      "options": {
        "website_tracking_page": "This website's tracking page",
        "laposte_tracking_page": "La Poste's tracking page"
      }
    },
    {
      "id": "lpc_show_tracking_column_front",
      "type": "select",
      "title": "Add a column for the order tracking",
      "desc": "The clients will see an additional column containing the tracking number on their orders listing.",
      "desc_tip": true,
      "class": "",
      "default": "no",
      "options": {
        "no": "No",
        "yes": "Yes"
      }
    },
    {
      "id": "lpc_section_tracking",
      "type": "sectionend"
    },
    {
      "id": "lpc_section_packaging",
      "type": "title",
      "title": "Packaging"
    },
    {
      "id": "lpc_products",
      "type": "lpc_products",
      "title": ""
    },
    {
      "id": "lpc_packaging_weight",
      "type": "numberinputwithweightunit"
    },
    {
      "id": "lpc_packaging_advanced",
      "type": "lpc_packaging_advanced"
    },
    {
      "id": "lpc_section_packaging",
      "type": "sectionend"
    }
  ],
  "hazmat": [
    {
      "id": "lpc_section_hazmat",
      "type": "title",
      "title": "Global"
    },
    {
      "id": "lpc_hazmat_extra_cost_value",
      "type": "number",
      "title": "Extra cost for hazardous materials",
      "desc": "The clients will pay the extra cost for hazardous materials along with the shipping price.",
      "desc_tip": true,
      "class": "",
      "default": "0.2",
      "custom_attributes": {
        "min": "0",
        "step": ".01"
      }
    },
    {
      "id": "lpc_hazmat",
      "type": "lpc_hazmat",
      "title": ""
    },
    {
      "id": "lpc_section_hazmat",
      "type": "sectionend"
    }
  ],
  "shipping": [
    {
      "id": "lpc_domiciless",
      "type": "title",
      "title": "Colissimo without signature"
    },
    {
      "id": "lpc_domiciless_FreeFromOrderValue",
      "type": "number",
      "title": "Free from order value",
      "desc": "Shipping cost will be free if the order value is over the given one (only applied if this field is strictly positive).",
      "desc_tip": true,
      "class": "",
      "default": ""
    },
    {
      "id": "lpc_domiciless",
      "type": "sectionend"
    },
    {
      "id": "lpc_domicileas",
      "type": "title",
      "title": "Colissimo with signature"
    },
    {
      "id": "lpc_domicileas_FreeFromOrderValue",
      "type": "number",
      "title": "Free from order value",
      "desc": "Shipping cost will be free if the order value is over the given one (only applied if this field is strictly positive).",
      "desc_tip": true,
      "class": "",
      "default": ""
    },
    {
      "id": "lpc_domicileas_SendingService_germany",
      "type": "select",
      "title": "Sending service Germany",
      "class": "",
      "default": "dpd",
      "options": {
        "partner": "Local postal service",
        "dpd": "DPD"
      }
    },
    {
      "id": "lpc_domicileas_SendingService_austria",
      "type": "select",
      "title": "Sending service Austria",
      "class": "",
      "default": "dpd",
      "options": {
        "partner": "Local postal service",
        "dpd": "DPD"
      }
    },
    {
      "id": "lpc_domicileas_SendingService_belgium",
      "type": "select",
      "title": "Sending service Belgium",
      "class": "",
      "default": "dpd",
      "options": {
        "partner": "Local postal service",
        "dpd": "DPD"
      }
    },
    {
      "id": "lpc_domicileas_SendingService_denmark",
      "type": "select",
      "title": "Sending service for Denmark",
      "class": "",
      "default": "dpd",
      "options": {
        "partner": "Local postal service",
        "dpd": "DPD"
      }
    },
    {
      "id": "lpc_domicileas_SendingService_spain",
      "type": "select",
      "title": "Sending service for Spain",
      "class": "",
      "default": "dpd",
      "options": {
        "partner": "Local postal service",
        "dpd": "DPD"
      }
    },
    {
      "id": "lpc_domicileas_SendingService_estonia",
      "type": "select",
      "title": "Sending service for Estonia",
      "class": "",
      "default": "dpd",
      "options": {
        "partner": "Local postal service",
        "dpd": "DPD"
      }
    },
    {
      "id": "lpc_domicileas_SendingService_finland",
      "type": "select",
      "title": "Sending service for Finland",
      "class": "",
      "default": "dpd",
      "options": {
        "partner": "Local postal service",
        "dpd": "DPD"
      }
    },
    {
      "id": "lpc_domicileas_SendingService_italy",
      "type": "select",
      "title": "Sending service Italy",
      "class": "",
      "default": "dpd",
      "options": {
        "partner": "Local postal service",
        "dpd": "DPD"
      }
    },
    {
      "id": "lpc_domicileas_SendingService_luxembourg",
      "type": "select",
      "title": "Sending service Luxembourg",
      "class": "",
      "default": "dpd",
      "options": {
        "partner": "Local postal service",
        "dpd": "DPD"
      }
    },
    {
      "id": "lpc_domicileas_SendingService_netherlands",
      "type": "select",
      "title": "Sending service for Netherlands",
      "class": "",
      "default": "dpd",
      "options": {
        "partner": "Local postal service",
        "dpd": "DPD"
      }
    },
    {
      "id": "lpc_domicileas_SendingService_poland",
      "type": "select",
      "title": "Sending service for Poland",
      "class": "",
      "default": "dpd",
      "options": {
        "partner": "Local postal service",
        "dpd": "DPD"
      }
    },
    {
      "id": "lpc_domicileas_block_code",
      "type": "block_code"
    },
    {
      "id": "lpc_domicileas_block_code_min",
      "type": "number",
      "title": "Minimum order value for the secured code",
      "desc": "The secured code will only be activated for orders over the given value.",
      "desc_tip": true,
      "row_class": "lpc_domicileas_block_code_min",
      "default": "0",
      "custom_attributes": {
        "min": "0",
        "step": "any"
      }
    },
    {
      "id": "lpc_domicileas_block_code_max",
      "type": "number",
      "title": "Maximum order value for the secured code",
      "desc": "The secured code will only be activated for orders under the given value. Keep empty to disable this limitation.",
      "desc_tip": true,
      "row_class": "lpc_domicileas_block_code_max",
      "default": "",
      "custom_attributes": {
        "step": "any"
      }
    },
    {
      "id": "lpc_domicileas",
      "type": "sectionend"
    },
    {
      "id": "lpc_relay",
      "type": "title",
      "title": "Colissimo relay"
    },
    {
      "id": "lpc_relay_FreeFromOrderValue",
      "type": "number",
      "title": "Free from order value",
      "desc": "Shipping cost will be free if the order value is over the given one (only applied if this field is strictly positive).",
      "desc_tip": true,
      "class": "",
      "default": ""
    },
    {
      "id": "lpc_pickup_map_type",
      "type": "select",
      "title": "Pickup map type",
      "class": "",
      "default": "widget",
      "options": {
        "widget": "Colissimo widget",
        "gmaps": "Google Maps (requires an API key)",
        "leaflet": "Leaflet (free)"
      }
    },
    {
      "id": "lpc_relay_types",
      "type": "select",
      "title": "Types of displayed relays",
      "desc": "For parcels weighing more than 20kg, only the \"Post office\" relay type will be shown.",
      "desc_tip": true,
      "class": "",
      "default": "1",
      "options": {
        "-1": "Only Post offices",
        "1": "All relays",
        "2": "Only Pickup points",
        "3": "Only Pickup partner stores",
        "5": "Only Post offices and Pickup partner stores",
        "10": "All relays without Pickup lockers",
        "11": "All relays without Neighbor-relays Pickme"
      }
    },
    {
      "id": "lpc_select_default_pr",
      "type": "checkbox",
      "title": "Select automatically the nearest relay point",
      "desc": "When the user selects the relay method during the checkout, it will automatically propose a relay point based on the shipping address",
      "desc_tip": true,
      "class": "",
      "default": ""
    },
    {
      "id": "lpc_gmap_key",
      "type": "text",
      "title": "Google maps API key",
      "desc": "The API key can be generated on cloud.google.com/maps-platform. Don't add your API key if there is a conflict with an other plugin using it.",
      "desc_tip": true,
      "class": "",
      "row_class": "lpc_gmap_key_container",
      "default": ""
    },
    {
      "id": "lpc_show_list_only_mobile",
      "type": "select",
      "title": "Default display in mobile",
      "desc": "When the user is on a mobile device, the default display can be the list of relays or the map and the list.",
      "desc_tip": true,
      "class": "",
      "row_class": "lpc_show_list_only_mobile_container",
      "default": "map",
      "options": {
        "map": "Map and list",
        "list": "List only"
      }
    },
    {
      "id": "lpc_max_relay_point",
      "type": "number",
      "title": "Maximum number of displayed relays",
      "class": "",
      "row_class": "lpc_max_relay_point_container",
      "default": "20",
      "custom_attributes": {
        "min": "1",
        "max": "20"
      }
    },
    {
      "id": "lpc_prCustomizeWidget",
      "type": "checkbox",
      "title": "Customize widget",
      "desc": "If enabled, you can customize font and font color of the Colissimo widget",
      "desc_tip": true,
      "class": "",
      "row_class": "lpc_prCustomizeWidget_container",
      "default": ""
    },
    {
      "id": "lpc_prAddressTextColor",
      "type": "color",
      "title": "Colour of the selected pickup point in the list and on the map",
      "class": "",
      "row_class": "lpc_prAddressTextColor_container",
      "default": ""
    },
    {
      "id": "lpc_prListTextColor",
      "type": "color",
      "title": "Information icons color",
      "class": "",
      "row_class": "lpc_prListTextColor_container",
      "default": ""
    },
    {
      "id": "lpc_prDisplayFont",
      "type": "select",
      "title": "Font",
      "desc": "Font for texts inside the widget",
      "desc_tip": true,
      "class": "",
      "row_class": "lpc_prDisplayFont_container",
      "default": "verdana",
      "options": {
        "arial": "Arial, Helvetica, sans-serif",
        "arialblack": "Arial Black, Gadget, sans-serif",
        "comic": "Comic Sans MS, cursive, sans-serif",
        "courier": "Courier New, Courier, monospace",
        "georgia": "Georgia, serif",
        "impact": "Impact, Charcoal, sans-serif",
        "lucidaconsole": "Lucida Console, Monaco, monospace",
        "lucida": "Lucida Sans Unicode, Lucida Grande, sans-serif",
        "palatino": "Palatino Linotype, Book Antiqua, Palatino, serif",
        "tahoma": "Tahoma, Geneva, sans-serif",
        "times": "Times New Roman, Times, serif",
        "trebuchet": "Trebuchet MS, Helvetica, sans-serif",
        "verdana": "Verdana, Geneva, sans-serif"
      }
    },
    {
      "id": "lpc_relay",
      "type": "sectionend"
    }
  ],
  "checkout": [
    {
      "id": "lpc_checkout",
      "type": "title",
      "title": "Checkout"
    },
    {
      "id": "lpc_extra_cost",
      "type": "number",
      "title": "Extra cost",
      "desc": "This amount will be added to the shipping cost for all Colissimo shipping methods.",
      "desc_tip": true,
      "class": "",
      "default": "0",
      "custom_attributes": {
        "min": "0",
        "step": "any"
      }
    },
    {
      "id": "lpc_extra_cost_over_free",
      "type": "select",
      "title": "Apply extra cost also for free shipping",
      "desc": "If you select \"Yes\", the extra cost will be applied even if the shipping is free. This includes \"Free from order value\", \"Always free?\" and \"Free shipping classes\" options.",
      "desc_tip": true,
      "class": "",
      "row_class": "lpc_extra_cost_over_free_container",
      "default": "no",
      "options": {
        "yes": "Yes",
        "no": "No"
      }
    },
    {
      "id": "lpc_choose_min_max_rate",
      "type": "select",
      "title": "Choice for concurrent rates",
      "desc": "In case several price rates are available for the same shipping method, choose the one to display to the customer.",
      "desc_tip": true,
      "class": "",
      "default": "lowest",
      "options": {
        "lowest": "Cheapest",
        "highest": "More expensive"
      }
    },
    {
      "id": "lpc_calculate_shipping_before_coupon",
      "type": "checkbox",
      "title": "Calculate shipping method before applying coupons",
      "desc": "If enabled, the available shipping methods and fees will be calculated based on the cart price before applying any coupon.",
      "desc_tip": true,
      "default": "no"
    },
    {
      "id": "lpc_calculate_shipping_before_taxes",
      "type": "checkbox",
      "title": "Calculate shipping method before applying taxes",
      "desc": "If enabled, the available shipping methods and fees will be calculated based on the cart price before applying any tax.",
      "desc_tip": true,
      "default": "no"
    },
    {
      "id": "lpc_calculate_shipping_with_noship_products",
      "type": "checkbox",
      "title": "Calculate shipping method with no-shipment products prices",
      "desc": "If enabled, the available shipping methods and fees will be calculated based on the total cart price, including the price of products that don't require shipment.",
      "desc_tip": true,
      "default": "no"
    },
    {
      "id": "display_logo",
      "type": "checkbox",
      "title": "Display shipping methods logo on checkout",
      "desc": "Choose to add the shipping methods logo next to the method name in the checkout",
      "desc_tip": true,
      "default": "no"
    },
    {
      "id": "lpc_checkout",
      "type": "sectionend"
    },
    {
      "id": "lpc_delivery_date",
      "type": "title",
      "title": "Delivery date"
    },
    {
      "id": "lpc_preparation_time",
      "type": "number",
      "title": "Average preparation delay",
      "desc": "Your average delay for preparation of a shipment, in days.",
      "desc_tip": true,
      "class": "",
      "custom_attributes": {
        "min": "0"
      }
    },
    {
      "id": "lpc_display_shipping_date",
      "type": "checkbox",
      "title": "Display the expected delivery date",
      "desc": "Choose to add the expected delivery date below the method name in the checkout.",
      "desc_tip": true,
      "default": "no"
    },
    {
      "id": "lpc_delivery_date_deposit_location",
      "type": "lpc_deposit_location",
      "title": "Deposit location"
    },
    {
      "id": "lpc_delivery_date_cuttoff_times",
      "type": "lpc_cuttoff",
      "title": "Cutt Off times",
      "row_class": "lpc_delivery_date_container"
    },
    {
      "id": "lpc_delivery_date_format",
      "type": "lpc_date_format",
      "title": "Date format"
    },
    {
      "id": "lpc_delivery_date_text",
      "type": "lpc_text",
      "title": "Text to display",
      "desc": "Please include {date} in your text where the date should be shown.",
      "placeholder": "Delivery expected on {date}",
      "row_class": "lpc_delivery_date_container"
    },
    {
      "id": "lpc_delivery_date_color",
      "type": "color",
      "title": "Text color",
      "class": "",
      "row_class": "lpc_delivery_date_container",
      "default": ""
    },
    {
      "id": "lpc_delivery_date_font",
      "type": "select",
      "title": "Text font",
      "class": "",
      "row_class": "lpc_delivery_date_container",
      "default": "default",
      "options": {
        "default": "Default",
        "arial": "Arial, Helvetica, sans-serif",
        "arialblack": "Arial Black, Gadget, sans-serif",
        "comic": "Comic Sans MS, cursive, sans-serif",
        "courier": "Courier New, Courier, monospace",
        "georgia": "Georgia, serif",
        "impact": "Impact, Charcoal, sans-serif",
        "lucidaconsole": "Lucida Console, Monaco, monospace",
        "lucida": "Lucida Sans Unicode, Lucida Grande, sans-serif",
        "palatino": "Palatino Linotype, Book Antiqua, Palatino, serif",
        "tahoma": "Tahoma, Geneva, sans-serif",
        "times": "Times New Roman, Times, serif",
        "trebuchet": "Trebuchet MS, Helvetica, sans-serif",
        "verdana": "Verdana, Geneva, sans-serif"
      }
    },
    {
      "id": "lpc_delivery_date_size",
      "type": "select",
      "title": "Text size",
      "class": "",
      "row_class": "lpc_delivery_date_container",
      "default": "default",
      "options": {
        "default": "Default",
        "10px": "10px",
        "12px": "12px",
        "14px": "14px",
        "16px": "16px",
        "18px": "18px",
        "20px": "20px",
        "22px": "22px"
      }
    },
    {
      "id": "lpc_delivery_date",
      "type": "sectionend"
    }
  ],
  "custom": [
    {
      "id": "lpc_customs",
      "type": "title",
      "title": "Customs declaration"
    },
    {
      "id": "lpc_customs_defaultHsCode",
      "type": "text",
      "title": "Default HS code",
      "desc": "Used when no HS code set on a product",
      "desc_tip": true
    },
    {
      "id": "lpc_customs_hsCodeFieldName",
      "type": "text",
      "title": "HS code custom attribute name",
      "desc": "The name of the custom attribute you use to store the product HS code on products",
      "desc_tip": true,
      "default": "hs_code"
    },
    {
      "id": "lpc_default_country_for_product",
      "type": "defaultcountry",
      "title": "Default country for products without country",
      "desc": "This option allows you to set a default country for products without country",
      "desc_tip": true,
      "default": ""
    },
    {
      "id": "lpc_customs_countryOfManufactureFieldName",
      "type": "text",
      "title": "Origin custom attribute name",
      "desc": "The name of the custom attribute you use to store the product country of manufacture / origin on products",
      "desc_tip": true,
      "default": "country_of_manufacture"
    },
    {
      "id": "lpc_customs_descriptionFieldName",
      "type": "text",
      "title": "Product description custom attribute name",
      "desc": "The name of the custom attribute you use to store the product's description for the CN23. The product name will be used if not available.",
      "desc_tip": true,
      "default": "customs_description"
    },
    {
      "id": "lpc_customs_defaultCustomsCategory",
      "type": "select",
      "title": "Default customs category",
      "desc": "Define the nature of the shipment",
      "desc_tip": true,
      "options": {
        "1": "Gift",
        "2": "Commercial sample",
        "3": "Commercial shipment",
        "4": "Document",
        "5": "Other"
      },
      "default": "5"
    },
    {
      "id": "lpc_customs_isFtd",
      "type": "checkbox",
      "title": "French overseas parcels sent with DDP (Delivered Duty Paid)?",
      "desc": "For French overseas destinations only (except St-Pierre-et-Miquelon and Mayotte)",
      "desc_tip": true,
      "default": ""
    },
    {
      "id": "lpc_extracost_outremer",
      "type": "number",
      "title": "Extra cost for French overseas",
      "class": "",
      "row_class": "lpc_extraCostOm",
      "placeholder": "18",
      "custom_attributes": {
        "min": "0"
      }
    },
    {
      "id": "lpc_eori_number",
      "type": "text",
      "title": "EORI number",
      "placeholder": "FR123456789"
    },
    {
      "id": "lpc_eori_uk_number",
      "type": "text",
      "title": "UK EORI number",
      "desc": "EORI number for delivery to United Kingdom",
      "desc_tip": true
    },
    {
      "id": "lpc_usa_eori_number",
      "type": "text",
      "title": "USA EORI number",
      "desc": "EORI number for delivery to the United States",
      "desc_tip": true
    },
    {
      "id": "lpc_mid_code",
      "type": "lpc_mid",
      "title": "MID code for USA"
    },
    {
      "id": "lpc_customs_midFieldName",
      "type": "text",
      "title": "MID code custom attribute name",
      "desc": "The name of the custom attribute you use to store the product's MID code.",
      "desc_tip": true,
      "default": "mid_code"
    },
    {
      "id": "lpc_vat_number",
      "type": "text",
      "title": "VAT number",
      "desc": "The VAT number is needed for delivery to United Kingdom",
      "desc_tip": true
    },
    {
      "id": "lpc_customs",
      "type": "sectionend"
    },
    {
      "id": "lpc_cn23",
      "type": "title",
      "title": "CN23"
    },
    {
      "id": "lpc_cn23_number",
      "type": "number",
      "title": "Number of CN23 documents to generate",
      "class": "",
      "default": "4",
      "custom_attributes": {
        "min": "1",
        "max": "4"
      }
    },
    {
      "id": "lpc_cn23_format",
      "type": "select",
      "title": "CN23 format",
      "class": "",
      "default": "PDF_A4_300dpi",
      "options": {
        "PDF_A4_300dpi": "PDF office printing, dimension A4 and resolution of 300dpi",
        "PDF_10x12_300dpi": "PDF office printing, dimension 10cm x 12cm, and resolution of 300dpi",
        "ZPL_10x12_300dpi": "ZPL thermal printing, dimension 10cm x 12cm, and resolution of 300dpi",
        "ZPL_10x12_203dpi": "ZPL thermal printing, dimension 10cm x 12cm, and resolution of 203dpi",
        "DPL_10x12_300dpi": "DPL thermal printing, dimension 10cm x 12cm, and resolution of 300dpi",
        "DPL_10x12_203dpi": "DPL thermal printing, dimension 10cm x 12cm, and resolution of 203dpi"
      }
    },
    {
      "id": "lpc_cn23",
      "type": "sectionend"
    }
  ],
  "ddp": [
    {
      "id": "lpc_section_delivery_duty",
      "type": "title",
      "title": "Delivery Duty Paid settings"
    },
    {
      "id": "lpc_extracost_au",
      "type": "number",
      "title": "Option price for Australia",
      "class": "",
      "default": "18",
      "custom_attributes": {
        "min": "0"
      }
    },
    {
      "id": "lpc_extracost_bh",
      "type": "number",
      "title": "Option price for Bahrain",
      "class": "",
      "default": "18",
      "custom_attributes": {
        "min": "0"
      }
    },
    {
      "id": "lpc_extracost_ca",
      "type": "number",
      "title": "Option price for Canada",
      "class": "",
      "default": "18",
      "custom_attributes": {
        "min": "0"
      }
    },
    {
      "id": "lpc_extracost_cn",
      "type": "number",
      "title": "Option price for China",
      "class": "",
      "default": "18",
      "custom_attributes": {
        "min": "0"
      }
    },
    {
      "id": "lpc_extracost_eg",
      "type": "number",
      "title": "Option price for Egypt",
      "class": "",
      "default": "18",
      "custom_attributes": {
        "min": "0"
      }
    },
    {
      "id": "lpc_extracost_hk",
      "type": "number",
      "title": "Option price for Hong Kong",
      "class": "",
      "default": "18",
      "custom_attributes": {
        "min": "0"
      }
    },
    {
      "id": "lpc_extracost_id",
      "type": "number",
      "title": "Option price for Indonesia",
      "class": "",
      "default": "18",
      "custom_attributes": {
        "min": "0"
      }
    },
    {
      "id": "lpc_extracost_jp",
      "type": "number",
      "title": "Option price for Japan",
      "class": "",
      "default": "18",
      "custom_attributes": {
        "min": "0"
      }
    },
    {
      "id": "lpc_extracost_kw",
      "type": "number",
      "title": "Option price for Kuwait",
      "class": "",
      "default": "18",
      "custom_attributes": {
        "min": "0"
      }
    },
    {
      "id": "lpc_extracost_mx",
      "type": "number",
      "title": "Option price for Mexico",
      "class": "",
      "default": "18",
      "custom_attributes": {
        "min": "0"
      }
    },
    {
      "id": "lpc_extracost_om",
      "type": "number",
      "title": "Option price for Oman",
      "class": "",
      "default": "18",
      "custom_attributes": {
        "min": "0"
      }
    },
    {
      "id": "lpc_extracost_ph",
      "type": "number",
      "title": "Option price for Philippines",
      "class": "",
      "default": "18",
      "custom_attributes": {
        "min": "0"
      }
    },
    {
      "id": "lpc_extracost_sa",
      "type": "number",
      "title": "Option price for Saudi Arabia",
      "class": "",
      "default": "18",
      "custom_attributes": {
        "min": "0"
      }
    },
    {
      "id": "lpc_extracost_sg",
      "type": "number",
      "title": "Option price for Singapore",
      "class": "",
      "default": "18",
      "custom_attributes": {
        "min": "0"
      }
    },
    {
      "id": "lpc_extracost_za",
      "type": "number",
      "title": "Option price for South Africa",
      "class": "",
      "default": "18",
      "custom_attributes": {
        "min": "0"
      }
    },
    {
      "id": "lpc_extracost_kr",
      "type": "number",
      "title": "Option price for South Korea",
      "class": "",
      "default": "18",
      "custom_attributes": {
        "min": "0"
      }
    },
    {
      "id": "lpc_extracost_ch",
      "type": "number",
      "title": "Option price for Switzerland",
      "class": "",
      "default": "18",
      "custom_attributes": {
        "min": "0"
      }
    },
    {
      "id": "lpc_extracost_th",
      "type": "number",
      "title": "Option price for Thailand",
      "class": "",
      "default": "18",
      "custom_attributes": {
        "min": "0"
      }
    },
    {
      "id": "lpc_extracost_ae",
      "type": "number",
      "title": "Option price for United Arab Emirates",
      "class": "",
      "default": "18",
      "custom_attributes": {
        "min": "0"
      }
    },
    {
      "id": "lpc_extracost_gb",
      "type": "number",
      "title": "Option price for United Kingdom",
      "class": "",
      "default": "10",
      "custom_attributes": {
        "min": "0"
      }
    },
    {
      "id": "lpc_extracost_us",
      "type": "number",
      "title": "Option price for United States",
      "class": "",
      "default": "18",
      "custom_attributes": {
        "min": "0"
      }
    },
    {
      "id": "lpc_extracost_msg",
      "type": "textarea",
      "title": "Message shown when selecting the sending method",
      "class": "",
      "default": "",
      "css": "min-width: 50%; height: 75px;"
    },
    {
      "id": "lpc_section_delivery_duty",
      "type": "sectionend"
    }
  ],
  "support": [
    {
      "id": "lpc_section_dev",
      "type": "title",
      "title": "Debug and development"
    },
    {
      "id": "lpc_log",
      "type": "select",
      "title": "Log messages",
      "desc": "The extension will save informative or debug messages in a file when needed, please enable it only if support asks for it",
      "desc_tip": true,
      "class": "",
      "default": "0",
      "options": {
        "0": "No",
        "1": "Yes"
      }
    },
    {
      "id": "lpc_log",
      "type": "lpcmodal",
      "content": "logs",
      "title": "Colissimo logs",
      "text": "See logs",
      "class": "",
      "default": ""
    },
    {
      "id": "lpc_status_page",
      "type": "lpcstatus",
      "title": "Colissimo services",
      "text": "Check status",
      "class": "",
      "default": ""
    },
    {
      "id": "lpc_contact_tel",
      "type": "telsupport",
      "title": "Colissimo support",
      "text": "",
      "class": "",
      "default": ""
    },
    {
      "id": "lpc_contact",
      "type": "mailto",
      "title": "Plugin support",
      "text": "Contact us",
      "class": "",
      "default": ""
    },
    {
      "id": "lpc_doc",
      "type": "lpcdoc",
      "title": "Documentation"
    },
    {
      "id": "lpc_dev_doc",
      "type": "lpcmodal",
      "content": "hooks",
      "title": "Developer documentation",
      "text": "See documentation",
      "class": "",
      "default": ""
    },
    {
      "id": "lpc_section_dev",
      "type": "sectionend"
    }
  ],
  "video": [
    {
      "id": "lpc_section_video",
      "type": "title",
      "title": "Video tutorials"
    },
    {
      "id": "lpc_video_tutorials",
      "type": "videotutorials"
    },
    {
      "id": "lpc_section_video",
      "type": "sectionend"
    }
  ],
  "feedback": [
    {
      "id": "lpc_section_feedback",
      "type": "title",
      "title": "Plugin feedback"
    },
    {
      "id": "lpc_feedback",
      "type": "feedback"
    },
    {
      "id": "lpc_section_feedback",
      "type": "sectionend"
    }
  ]
}
