On this page
Store themes and the theme editor
A theme is the look of the store website: its colours, fonts, and the order of the sections on each page (EC7). Each store has one theme. The system keeps the store's changes to it as customisations, in two copies: a published copy that shoppers see, and a draft that you work on in the editor (EC11).
Permissions
| Key | Lets you |
|---|---|
ecommerce.theme.view | Open the Store themes screen and see the theme and its draft |
ecommerce.theme.update | Edit the draft in the editor and preview it |
ecommerce.theme.publish | Publish, apply a style, and change the store's theme |
Store themes
Open E-commerce → Store themes and choose the Store at the top of the screen.
Current theme
The Current theme card shows the theme's name, version, image and status:
| Status | Meaning |
|---|---|
| Theme as shipped | No customisation has been published, so the theme shows its original values |
| Published | Shoppers see the published customisations, and there's no pending draft |
| Draft not published | There's a saved draft that hasn't been published yet |
Select Customise to open the theme editor. If you don't have permission to edit, the button reads Open in the editor, and you can look at the theme without changing it.
Styles
A style is a ready-made set of the theme's colours and fonts. To apply one:
- In the Styles section, select Apply style on the style's card.
- Confirm the question. The store website switches to the style immediately, and your own settings and sections stay on top of it.
If there's an unpublished draft, the question warns you that it will be replaced by the published theme with the new style (UX14).
Available themes
The Available themes section lists the themes the store can use: the Atlas theme that comes with the platform, and every theme your company has got from the marketplace. Each theme shows its image, description, and number of sections and styles. Marketplace themes also show the kind of shop they were designed for. The theme in use is tagged In use.
- Search looks in the theme's name and description.
- Kind of shop limits the list to one kind of theme. It appears when one of your themes comes from the marketplace.
- More themes in the Marketplace opens the marketplace, where you'll find the thirty ready-made themes (EC51).
- Preview on my store shows your store, with its products, as it would look in this theme. It opens in a window on the screen, and nothing changes for shoppers. The button appears for themes the platform publishes, as long as the store website has an address.
To change the theme, select Use this theme, then confirm.
What changing the theme does
When you change the theme, the store website switches to the new theme immediately, with its layout and the colours of its first style. The store's logo, browser icon, fonts, store information, social links and announcement bar move with the store. The current theme's other customisations, published and draft, are replaced (EC50). If you want your store's colours to move too, turn on When changing the theme, keep my store's colours (logo, fonts and store information always move with the store) before you change. Updating the same theme to a newer version (Update to this version) keeps your settings and sections.
Marketplace themes
Themes your company got from the marketplace appear among the available themes with the source From the Marketplace. You install and update them from My purchases (EC21).
- When a newer version covered by your licence is released, you see the notice "Version … of this theme is available." with an Open My purchases button.
- When the theme's licence becomes inactive, a notice starting "The licence of this theme is not active" appears. It states the date until which shoppers will keep seeing the theme. You can't edit or publish the theme until the licence is renewed, and none of your customisations are deleted (EC20).
The theme editor
The editor has three parts: what you're editing (the theme settings or a page's sections), the settings form, and the Preview. On narrow screens the parts are stacked one below the other.
The top of the page shows the status (Unsaved changes, Draft not published or Published) and when the theme was last published and the draft last saved.
Choose what to edit
In the Edit field, choose:
- Theme settings, which apply to every page (colours, fonts, layout and so on).
- A page: Home page, Product page, Collection page, Cart page and others.
- A part shared by all pages: Header, Footer, or Cart drawer and dialogs.
Theme settings
- The Style provides the starting values. Any setting you change yourself keeps your value.
- Groups of settings (colours, fonts and so on) appear in panels that you can expand and collapse.
- Under each setting you've changed, Use the theme's value takes it back to the theme's or style's value.
Sections
Each page is an ordered list of sections. Each section has these buttons:
| Button | Effect |
|---|---|
| Up / Down | Moves the section one place. With the keyboard, put the focus on the section's name and press Alt+↑ or Alt+↓ |
| Hide / Show | A hidden section stays in the list with its settings, tagged Hidden, and shoppers don't see it |
| Remove | Asks you to confirm first, then removes the section with its blocks and settings |
To add a section:
- Select Add section.
- In the Add a section window, choose the section. The window offers only what the theme allows on this page. A section that has reached its limit is shown disabled, with the reason.
- The section is added after the selected section (or at the end of the list), and its settings form opens.
Restore the theme's layout resets the page's sections and their order to what the theme itself defines, after asking you to confirm.
Blocks inside a section
Select a section's name to select it. If the section has blocks (slides, columns, questions and so on), a Blocks list appears below it, with the same buttons (up, down, hide, remove) and an add button for each kind of block. The theme limits how many blocks a section can have, and how many of each kind. When a limit is reached, the add button is disabled and the reason is shown.
Add-on blocks
Some sections have a slot for blocks provided by the add-ons installed on the store, such as a WhatsApp chat button or product reviews (EC44). In the Atlas theme, this slot is in the Apps section (found on the home page, the product page, the footer and the floating elements, and you can add it to any page) and in the product section.
- Install the add-on and switch it on in Store add-ons.
- In the editor, choose the page, then select a section that has an add-on slot. Below its blocks, an Add-on blocks list appears, with an add button for each block that this store's add-ons provide.
- Select the add button. The block is added and its settings form opens, with fields defined by the add-on itself.
- Arrange it with Up / Down, hide it, or remove it (removing asks you to confirm first), like any other block. Then save and publish.
| What you see | What it means |
|---|---|
| The add button is disabled, with a reason next to it | The block isn't meant for this page, it has been used the maximum number of times allowed on the page, or the section is full |
| Add-on switched off: not shown on the storefront | The add-on is installed but switched off. Switch it on in Store add-ons |
| Add-on licence not active: not shown on the storefront | The add-on's licence has lapsed. The block comes back after renewal, and nothing is deleted |
| Add-on not set up: not shown on the storefront | The add-on is missing a setting, such as the WhatsApp number |
| Block of an add-on that is not installed | The add-on was removed from the store. The theme stays valid and can still be saved and published. Remove the block, or install the add-on again to get its settings back |
An add-on can't break the store website
The platform renders add-on blocks with its own templates, and no add-on code runs on the page. If an add-on takes more than two seconds to answer, or fails, its block disappears (or its last valid answer is shown, for up to an hour) and the rest of the page is unaffected. Block data is refreshed every five minutes (EC45).
The settings form
Select a section or block to show its form. The form is built from the theme's definition. These are the kinds of field:
| Field | Input |
|---|---|
| Text | Two fields: Arabic and English |
| Rich text | HTML for each language. The store website strips scripts and unsafe tags |
| Number and range | A number within the limits shown next to the field |
| Choice | A list of the theme's options, or a checkbox |
| Colour | A colour picker, or a code such as #1a2b3c |
| Font | One of the platform's fonts or the theme's fonts |
| Image | From the store's media library, Upload image, or an address |
| Link | A page, collection or product in the store, or an address you type |
| Collection / product / page / blog / menu | A record from the store |
Problems
The system checks each change as soon as you make it (EC11). An invalid value is flagged at its field with the reason, the section and page that contain the problem are flagged too, and the number of problems appears at the top of the page. You can't save or publish until you fix them, and the preview stays at the last valid state.
Preview
The Preview shows the store website with the changes in the editor before you save them, and refreshes after each change:
- Width: Desktop, Tablet or Phone.
- Language: the store's languages.
- It shows the page you're editing: a real product for the product page, and a real collection for the collection page.
Links inside the preview open the published store, not the draft.
The system's server signs each preview for the store's address and for a few minutes only. The signing key never reaches the browser (EC12). If the store has no website address (the first domain on the store page), or the preview key isn't set on the server, a message appears instead of the preview. You can still save and publish.
Save and publish
| Button | Effect |
|---|---|
| Save draft | Saves the changes to the draft. Nothing changes for shoppers |
| Publish | Asks you to confirm first; shoppers then see the changes on the store website immediately. Whatever is in the editor at that moment is published |
| Discard draft | Asks you to confirm first, then deletes the draft and any unsaved changes. The editor goes back to the published theme |
| Close | Takes you back to Store themes. If there are unsaved changes, it asks before discarding them |
If another user edits the same theme while you're working, the system refuses your save with a message. Reload reopens the editor from that user's version, so their work is never overwritten.
Business rules
- Shoppers see only the published copy (EC11).
- A store's customisations are stored in a single document of at most 256 KB (EC9).
- Removing, discarding the draft, publishing, applying a style and changing the theme all ask you to confirm first (UX14, EC14).
- An invalid value never breaks the store: the store website uses the theme's value instead (EC11).
- Shoppers don't see the blocks of an add-on that was removed, switched off or whose licence lapsed, and this doesn't make the theme invalid (EC44).