Skip to main content
Go to “Settings” in the side menu. The page has eight tabs: General, API, Payments, Billing, Shipping, Email service, Email templates and Cron. Click “Save” at the top to keep your changes in the tabs that have a form.

General

E-commerce module
Shows whether the store is on and lets you turn it off. See Turn the module off.
Logo
Drag and drop your logo, or click “Select from computer”. It accepts PNG, JPG, WebP, GIF or SVG files up to 400 KB, and it is shown in the e-mails, resized to fit 480 × 96 pixels. Use “Replace” to change it and “Remove” to delete it. Without a logo, the e-mails show the store name.
Store name
The name of your store, for example “Littlebox Store”. It is required and appears in the e-mails.
Time zone
The time zone of the store, for example Europe/Lisbon (the default). Promotion start and end dates follow it.
Support email
The address your customers can write to, for example support@example.com. It is shown in the e-mails.
Brand colour
A color in the #RRGGBB format, used in the e-mails. Type it or pick it with the color square. The default is #4945ff.
Storefront URL
The address of your online store, for example https://shop.example.com. Links in e-mails and in payment pages point here. It is required when customers can register.

Customer accounts

Choose who can buy. The orange box below the options explains the mode you select.
  • Guest checkout only (default): customers buy without an account. At checkout they only give their e-mail address and details. Registration, sign in and the customer area are turned off.
  • Registered customers only: only customers with an account can buy. They register, confirm their e-mail address and sign in before checkout. Guest checkout is turned off.
  • Guest checkout and registered customers: customers choose. They buy as a guest with just their e-mail address, or they register and sign in to follow their orders in the customer area.
The two modes with accounts need the storefront URL, the encryption key and a pepper. If one is missing, the page tells you what to set.
The account e-mails (account verification, password reset and e-mail change) contain links to pages of your storefront. You write these links in the e-mail templates, on top of {{store.url}}, with the {{token}} variable. For example, the default “Account verification” template links to {{store.url}}/account/verify-email?token={{token}}. Change the path if your storefront uses another one.

Markets

The countries and regions where the store sells. Shipping methods and carriers choose among them.
  • Choose a country in “Choose a market” and click “Add”.
  • Click “Add all countries” to add every country at once, or “Remove all” to start over.
  • Remove one country with the remove button on its row.
The default market is Portugal. Adding “Portugal - Islands” moves the postal codes that start with 9 (Azores and Madeira) to that market. Give your shipping methods prices for it, or the islands have no shipping. You cannot remove a country that a shipping method still uses: the page lists those methods.

API

Only your storefront server calls the storefront API. This server is often called the BFF (“backend for frontend”): a small server between the shopper’s browser and Strapi. Never put the token in the browser. API token of the storefront server
Click “Generate token”. The module creates and manages this token (type Custom, no permissions, no expiry). Its value is shown only once: click “Copy token” and put it in the storefront server as the Bearer token. Until a token exists, the storefront API is disabled. The card shows the name, the creation date, the last use and the expiry.
Regenerate
Creates a new token. The current one stops working immediately, so update the storefront server right away, or the store stops taking orders. The page also warns you when the token has full access, is read only, expires soon, has expired or no longer exists. In every case, regenerate it.
Session lifetime (hours)
How long a checkout session lasts, from 1 to 720 hours. The default is 168 hours (7 days). Unpaid orders are never cancelled when a session expires.
How the storefront server calls the API
A reference box with the base path and the headers the storefront server sends on every request: Authorization (Bearer plus the token), X-Checkout-Session, Idempotency-Key (a unique key per order, so a retry never creates a second order) and X-Storefront-Client-IP (the shopper’s IP address).

Payments

Every integration appears as a card with its status (“Active” or “Inactive”) and these buttons:
  • Configure: opens the fields of the integration. Secret fields show a masked value. Leave them empty to keep the saved value, or click “Clear” to remove it.
  • Test connection: checks the saved credentials with the provider.
  • Enable and Disable: turn the integration on or off. You must fill in the required fields first.

Stripe

Stripe takes card payments, MB WAY and other methods through Stripe Checkout, the payment page hosted by Stripe. Secret key
The secret key of your Stripe account (sk_live_... or sk_test_...). It is required. A restricted key also works.
Webhook signing secret
The secret Stripe gives you when you add the webhook (whsec_...). Without it, the module cannot confirm payments.
Publishable key
The public key of your Stripe account (pk_...). Optional.
Payment success path
The page of your storefront where Stripe sends the customer after paying. The default is /checkout/success.
Payment cancel path
The page where Stripe sends the customer who leaves the payment. The default is /checkout/cancel.

Stripe webhook

A webhook is a message Stripe sends to your server when something happens, for example a payment succeeds. Step 1: In the Stripe card, click “Webhook”. The window shows the “Endpoint URL”, for example https://api.example.com/api/littlebox-strapi-suite/ecommerce/stripe/webhook, and the “Events to send”.
Step 2: Click “Copy URL”.
Step 3: In the Stripe dashboard, go to Developers → Webhooks and add an endpoint with this URL.
Step 4: Select these events: checkout.session.completed, checkout.session.async_payment_succeeded, checkout.session.async_payment_failed, checkout.session.expired, charge.refunded, refund.updated and refund.failed.
Step 5: Copy the signing secret of the endpoint and paste it into “Webhook signing secret” in Configure.
If the admin panel runs on a different host from the API, use the public address of the API instead of the host shown in the window.

Billing

The billing provider issues the certified invoices and credit notes. Only one billing provider can be active at a time. Without one, orders work normally, but you cannot issue invoices.

Moloni

Configure opens a window in two steps. Step 1 of 2: enter the API credentials and click “Continue”. The module checks them and then reads the other settings from your Moloni account.
  • Developer ID (Client ID): in the Moloni developer area (moloni.pt/dev), register an application, for example “Online store”, and copy its Developer ID.
  • Client secret: the secret shown next to the Developer ID.
  • Username: the e-mail of the Moloni user that issues the invoices. Create a Moloni user just for the online store, with only the permissions it needs.
  • Password: the password of that user. If it changes in Moloni, enter the new one here, or invoices stop being issued.
Step 2 of 2: choose the details. Every list comes from your Moloni account. If a list cannot load, the field accepts an ID typed by hand.
  • Company: the Moloni company that issues the invoices. Changing it clears the fields below.
  • Document type: “Invoice-receipt (FR)” (default) or “Invoice (FT)”.
  • Document series: the series of the invoices, for example “Online store”. Empty means the first series.
  • VAT exemption reason: only needed when a variant is sold with 0% VAT. Every invoice line without VAT must state the reason, for example M07 or M99. Confirm the right one with your accountant.
  • Payment method: used for manual payments without a method name. Stripe payments and named manual methods are matched by name in Moloni, and created there when missing.
  • Store credit payment method: the method used for the part of an order paid with store credit. Empty means a method named “Crédito em carteira”.
  • Product category (new articles) and Measurement unit (new articles): Moloni only invoices articles that exist in its catalog. When a SKU does not exist there yet, the module creates the article with this category and unit.
  • Shipping article reference: the Moloni article that represents shipping on the invoices. The default is PORTES, created as a service when missing.
Click “Edit credentials” to go back to the first step.

Shipping

The Shipping tab lists the carriers. Each one serves some of your markets and prices its delivery by market and order weight. At checkout, the customer sees every active option that serves the address and the weight.

Manual shipping

Delivery options you handle yourself, such as regular mail or a courier you book by hand. Step 1: Click “Add shipping method”.
Step 2: Pick the “Language” and type the “Name” the customers see, for example “Standard delivery”. Fill in every language of the store, or leave the others empty to use the default language.
Step 3: Choose the “VAT” rate of the shipping, or “Other” to type another rate.
Step 4: Click “Add markets” and choose the markets this method serves, or click “Add all markets”.
Step 5: For each market, add weight ranges with “Add range”. Each row has “Up to (kg)” and “Price (€)”. Prices include VAT, for example 4,95. Leave “Up to” empty on the last row for no limit. Orders heavier than the last range cannot use this method.
Step 6: To use the same ranges everywhere, click “Fill all markets” and then “Apply to all markets”.
Step 7: Save.
The table lists every method with its name, VAT and status. Use “Edit”, “Enable”, “Disable” and “Delete”. You cannot delete a method that orders already used: disable it instead.

DPD Portugal

Home delivery (DPD Express) and pickup points (DPD Pickup), priced per market and order weight. The module creates the shipment at DPD, which returns the tracking code and the label. In Configure, fill in the fields DPD gives you:
  • Authentication endpoint and Expedition endpoint;
  • Client ID, Client secret, Username and Password;
  • Account home (DPD Express), required for DPD Express;
  • Account shop (DPD Pickup) and Pickup points key, required for DPD Pickup;
  • Pickup points endpoint, already filled in with the default address;
  • Sender: name, Sender: address, Sender: postal code, Sender: city, Sender: phone and Sender: email: the address DPD collects the parcels from.
Below the card, the services table lists “DPD Express (home delivery)” and “DPD Pickup (pickup points)”. Click “Edit” on a service to set the “Name shown to customers”, the VAT, the markets and the weight ranges, as for a manual method. Then “Enable” it. When both services are off, DPD Portugal is deactivated.

CTT Expresso Portugal

Creates shipments and tracking codes with CTT Expresso Portugal. In Configure, fill in the “Client ID”, “Contract number”, “Username” and “Password”, and choose the “Markets served”. The price comes from the CTT quote, not from weight ranges.
The CTT Expresso Portugal integration is not finished yet: it is listed so you can prepare the credentials, but it cannot quote or create shipments for now.

Store pickup

Customers collect their orders at one of your stores. It needs no credentials. Step 1: In the “Store pickup” card, click “Configure”.
Step 2: Set the name customers see and the VAT rate.
Step 3: Add the markets where customers can collect their orders, each with its weight ranges.
Step 4: In each market, click “Add store” and fill in the “Name”, “Address”, “Address line 2”, “Postal code” and “City”. The postal code must belong to that market. You can add up to 100 stores per market.
Step 5: Save and enable Store pickup.
A market is only offered when it has prices and at least one store. When you ship a store pickup order, the customer receives the “Ready for pickup” e-mail with the store address.

Email service

Resend

Resend sends the store e-mails to your customers. Without an active e-mail service, the e-mails are recorded as “Skipped” on the order. API key
Your Resend API key. A key with only the sending permission is enough.
Sender email
The address the e-mails come from, for example orders@shop.example.com. Its domain must be verified in Resend.
Sender name
The name the customers see, for example “Littlebox Store”. Optional.
Click “Test connection” to check the key, then “Enable”.

Email templates

The list shows every e-mail sent to customers. Each template has an English default and you can customize it for every language of the store. The “Customized languages” column shows which languages you changed, or “Default”.

Edit a template

Click “Edit” on a template. Language
The language you are editing. Each language shows “Default” or “Customized”.
Subject
The subject line of the e-mail. It accepts variables.
HTML
The body of the e-mail. The editor flags problems as you type: “Unknown variable”, “Unsafe HTML” (for example a script) or “Syntax error”. You cannot save a template with errors.
Preview
Shows the e-mail filled with sample data. Click a text marked with a dashed line and type to change it: the HTML follows. Highlighted values come from variables, and you change them in the HTML.
Variables
Lists the variables of this template. Click one to copy it, then paste it in the subject or the HTML. Every template has the store variables ({{store.name}}, {{store.logoUrl}}, {{store.brandColor}}, {{store.url}}, {{store.supportEmail}} and more). Order e-mails add the customer and the order, for example {{customer.firstName}} and {{order.reference}}. Each type adds its own, for example {{payment.link}}, {{shipment.trackingUrl}}, {{credit.code}} or {{token}}. A list repeats a block for each item, and a condition shows a block only when a value exists:
Save
Saves the template for the selected language. Each save keeps a version.
Versions
Lists the previous versions with the date and the user who saved them. Click “Restore” to bring one back. The current content stays in the history.
Restore default
Replaces the customization of this language with the default template. The current version stays in the history.
Send test email
Sends the saved version of the template, filled with sample data, to the “Recipient” you type. It needs an active e-mail service.
Translate with AI
Replaces the subject and the HTML of this language with an AI translation of the default language. Only the texts are translated: the layout and the variables stay. Nothing is saved until you click “Save”. It uses the OpenAI key of the Translations module.

Cron

The module runs one scheduled job, “Expired data cleanup”. It deletes expired guest sessions, customer sessions and account e-mail links. It runs a minute after Strapi starts and then every 24 hours. It works without the cron configuration of Strapi, so you do not need to turn anything on. The table shows the last 50 runs, with the start date, the job, the status, the duration and the errors. The status is “Running”, “Success”, “Failed”, “Timed out” (a run stops after 10 minutes) or “Interrupted” (Strapi stopped during the run). Click “Refresh” to update it.