Emergency

In urgent situations or outages, you can send a text message to our emergency line

Emergency line (text message only)

+45 29 70 15 95

Send a text message with the following information:

  • Your name and webshop
  • A description of the problem

Note: This service is only for critical situations where your webshop is down or has serious problems. For regular support, please use our normal support channels.

Build custom page designer modules with Claude

Ask Claude to build new modules for the page designer, such as a campaign countdown, an FAQ, or a comparison table. The module is built in a copy of your theme and placed on a draft until you put it live.

Reading time: about 34 minutes
Store owner Developer

In the page designer (Shoporama's page builder), you build your pages from modules, such as a large banner, a product list, or a text strip. If you need a module your theme doesn't have, Claude can build it for you. It could be a countdown to a sale, questions and answers that expand, a comparison of some of your products, or a step-by-step guide. You describe in your own words what the module should show and which fields you want to fill in yourself. Claude builds the module in a copy of your theme and places it on a draft, so you see the result before your customers do.

Below is a step-by-step example and three other modules Claude built for a coffee shop. To learn how the theme copy, the preview, activation, and saved versions work in general, see Edit your theme with Claude. If you haven't connected Claude to your store yet, start with Control the shop with AI.

What is a module in the page designer?

A module is a building block with its own design and its own fields. Montana's Large banner module, for example, has the fields Heading, Description, Button text, Link, and Image. When you add a module to a page, it becomes a section on that page. You fill in the fields, and the theme takes care of the design. The same module can be used on many pages with different content. Read more about the page designer itself in Page designer in Shoporama.

When Claude builds a new module, Claude creates both the design and the fields. Afterward, the module works just like the theme's own modules: you'll find it in the list when you click Add section, and you edit texts, dates, and images yourself. You only need Claude again if the module itself needs to change.

Check the theme's own modules first. What you're looking for may already exist. Montana, for example, has Text banner for a short sale message with a color and a link, and Values/USPs for your selling points with icons. See all the modules in Montana and MontanaB2B: all page designer modules and Delaware and DelawareDK: all page designer modules.

Example: a Black Week countdown, step by step

In this example, a coffee shop using the Montana theme already has a copy of the theme called Montana-v2. If you don't have a copy, ask Claude to make one first, or include it in the same message.

1. Describe what the module should do

Describe the module the way you would describe it to a colleague: what it should show, where it should go, and whether customers may see it yet. You don't need to know the technical details.

Example of a conversation. The chat is a simplified mock-up, not a recording from Claude. One message is enough: Claude builds the module, creates a draft of the front page, and gives you a link to the preview, where the countdown is ticking down.

2. What Claude does

  1. Reads the module guide, so the new module is built the same way as the theme's own modules.
  2. Builds the module in the copy. Here it's called Campaign countdown and has the fields Heading, Text, Ends, Button text, and Link. The banner counts down days, hours, minutes, and seconds and hides itself when time runs out. The store your customers see is untouched.
  3. Creates a draft of the front page. A draft is a page in the page designer that isn't online. In the example, the draft has the same modules as the front page, with the countdown at the top.
  4. Gives you one link that shows the theme copy together with the draft.

3. View the preview

The link opens your store with the theme copy and the draft. Only the browser that opens the link sees the change. Your customers still see the front page as it is. You can recognize the preview by two bars:

  • At the top is the page designer's bar: "Preview mode · Front page with campaign countdown (draft) · This page is not visible to your customers" with the link Close preview.
  • Right below it is the theme's bar: "Theme Preview Montana-v2 · Your customers still see the active theme" with the link Close preview.
The front page of a coffee shop using the Montana theme before the change: at the top, a light blue strip with three short selling points, a header with the logo, search field, and menu, a large banner with the heading Roasted this week and the buttons Shop coffee beans and Find a gift, and below the banner four selling points with icons
The front page before: the large banner is at the top, right below the menu.
The same front page in the preview with the draft. At the top, a dark bar with the text Preview mode, Front page with campaign countdown (draft), This page is not visible to your customers, and the link Close preview. Right below it, the bar Theme Preview Montana-v2, Your customers still see the active theme, with the link Close preview. Below the menu, a dark banner with the heading Black Week: 20% off all coffee beans, a countdown in days, hours, minutes, and seconds, and the button Shop coffee beans, marked with a red frame
The draft in the preview: the countdown is at the top (red frame). Two bars appear at the top: one shows that you're viewing a draft, the other that you're viewing the theme copy. Customers still see the front page without the countdown.

Check the module on both desktop and mobile. If you want something changed, tell Claude, for example "Make the numbers bigger on mobile" or "Use our orange color on the button". The link is valid for 7 days, and you can send it to a colleague. It doesn't give access to the admin.

4. What the draft looks like in the admin

If you open the draft under Design → Page designer, the countdown appears with its technical name and the yellow badge Not available in the active theme. Below the badge it says: "The section uses a module that the active theme does not have (for example, a module built in a copy of the theme). It cannot be edited here and will not appear in the store until the theme containing the module is active."

That's how it should be. The page designer in the admin always uses your active theme, and that theme doesn't know the module yet. You can edit the other modules on the draft as usual. The countdown's fields appear once the copy has become your active theme.

The draft opened under Design, Page designer. Under Sections above the content is the countdown row, shown by its technical name, with the yellow badge Not available in the active theme and the text The section uses a module that the active theme does not have, marked with a red frame. Below it is Montana's large banner module with its heading, description, button text, and link fields, and on the right the Add section panel with the theme's modules
In the admin, you can't edit the countdown yet (red frame), because the module only exists in the copy. You edit the rest of the draft as usual.

Why does Claude place the module on a draft?

As long as the module only exists in the copy, the theme your customers see doesn't know the module. If the module were on a page that's online, customers would, in most themes, see an error box with the text "You are missing the section" instead of the countdown. That's why Claude only places a new module on a draft, and Claude can't put the draft online until the copy with the module is your active theme. The page with the module and the theme that knows the module go live together.

Don't put the draft online too early. In the admin, you can check Online on the draft before the copy is active, but then customers will see the error box. Wait until the copy is your active theme. The reverse applies when you want to switch back: then the page with the module must go offline first. See Undo after the page is published.

Put the module live

When you're happy with it, two things need to happen, in this order:

  1. Activate the theme copy, so the module exists in the theme customers see.
  2. Publish the draft, so customers see the page with the module.

Claude can do both. Write, for example, "Looks good. Put it all live." or "Put the copy live, and publish the draft." While the theme is switching, the store briefly shows a message that it's being updated. If you'd rather do it yourself, select the copy under Design → Theme (under Custom themes), click Save, and then check Online on the draft under Design → Page designer.

Once the draft is published, the front page has two layouts in the page designer: the old one and the new one. Take the old one offline when you're satisfied, so you don't end up editing the wrong one. If you'd rather keep a single layout, you can instead ask Claude to move the module to your existing front page once the copy is active.

Afterward, you edit the content yourself

  • The fields are ready. The "Not available in the active theme" badge is gone, and the countdown's fields appear in the page designer. The Ends field has help text that shows how to enter the date and time.
  • The module is in the list. When you click Add section, you'll find the module on the page types Claude made it available for. In the example, that's the front page, category pages, and landing pages.
  • The next campaign doesn't need Claude. Edit the heading, text, and end date in the page designer when you want to use the countdown again.

Undo after the page is published

If you've published a page with a module from the copy and want to switch back to your previous theme, the page must go offline before you switch themes. Your previous theme doesn't know the module, so otherwise, in most themes, the store shows an error box with the text "You are missing the section" where the module was. Claude keeps an eye on this: before a theme switch, Claude always does a dry run, tells you which pages use modules the other theme doesn't have, and offers to take them offline first. You can also ask for both in the same message, for example "Take the front page with the countdown offline, and then switch back to the previous theme."

Chat with Claude in two rounds. The store owner writes: Looks good. Put it all live. Claude puts Montana-v2 live, publishes the draft, and says you can just write undo. The store owner writes: Undo. Claude first takes the front page with the countdown offline and then activates the previous theme. The reply explains that the front page was taken offline first because Montana doesn't have the module, and that the copy Montana-v2 and the draft are still there
A simplified example of the conversation, not a screenshot from Claude. First, the copy and the draft go live together. On undo, Claude takes the front page with the countdown offline before the previous theme becomes active again.
  • If you do it yourself in the admin, uncheck Online on the page under Design → Page designer before you select your previous theme under Design → Theme. If you forget, the switch still goes through, but Design → Theme then shows a yellow box at the top with the heading "Some pages use modules that the active theme does not have." and links to the pages, until they're offline or you switch back to the theme with the modules.
  • If you took the old front page offline, put it back online so the front page looks the way it did before.
  • If the module is on a page you want to keep, for example because Claude moved it to your existing front page, ask Claude to remove the module from the page instead of taking the whole page offline.
  • The copy and the draft stay where they are, so you can try again later.

More modules Claude has built

The countdown is just one example. In the same copy, Claude built three more modules for the coffee shop. Each module is on a draft of a category page and can be used on the front page, category pages, and landing pages. The modules only exist in the copy from the example, not in Montana. If you want a similar module, ask Claude to build it in your own copy, and feel free to use the messages below as a starting point.

Claude also fills in the content on the draft, such as the questions or the steps. Until the copy is your active theme, you edit the content by writing to Claude. After that, you edit it yourself in the page designer.

The Frequently asked questions module

The module shows a heading, a short text, and a list of questions. The customer clicks a question to expand the answer. Claude placed the module on a draft of the Coffee category with four questions about shelf life, grinding, roasting, and delivery.

  • Fields you edit yourself: Heading, Text below the heading, and Questions. Under Questions, you add as many as you like, each with a question and an answer. The answers are plain text. If you want to be able to add links or bold text to the answers, ask for formatted text.
  • Message to Claude: "Create a module with questions and answers that expand, and add four questions about coffee to the coffee page."
  • For your customers, not for Google. Don't count on the questions showing up as a special FAQ result in Google. Google only shows that kind of result for well-known government and health websites.
Example of a conversation. The chat is a simplified mock-up, not a recording from Claude. The questions are collapsed, and the customer clicks to see the answer.

The Comparison module

The module shows up to four products side by side with an image, name, price, and the button View product. Below the products are the attributes you write yourself, such as roast, flavor, origin, and what the coffee is best for. The price is taken from the product, so it's always current, even when the product is on sale. On mobile, the table turns into one card per product with the attributes below, so the customer doesn't have to scroll sideways. Claude placed the comparison "Find your coffee" with three coffees on a draft of the Coffee beans category.

  • Fields you edit yourself: Heading, Products (you select 2-4 products from your store), and Attributes. In each attribute, you write the name, such as Roast, and a value for Product 1, Product 2, Product 3, and Product 4 in the same order as the products. If you take one of the products offline, it disappears from the comparison, and the other products keep their own values.
  • Message to Claude: "Create a table so customers can see three of our coffees side by side: roast, flavor, origin, and what they're best for."
  • Errors are caught. The first version of the module had an error in the template. Shoporama rejected the file before it was saved, and Claude fixed the error and saved again.
Example of a conversation. The chat is a simplified mock-up, not a recording from Claude. The video shows the table on a desktop computer. On mobile, one card is shown per product.

The Brewing guide module

The module is a step-by-step guide with a heading, an intro, and numbered steps. Next to it is the What you'll need box with the products for the guide, each with an image and price, so the customer can click straight through to the product. On mobile, the box appears below the steps. Claude placed a French press guide with four steps and a French press, a grinder, and coffee on a draft of the Brewing equipment category.

  • Fields you edit yourself: Heading, Intro, Steps (each with a title and a text), What you'll need (products you select from your store), and Heading above the products. The box shows up to six products. You can reuse the module for other guides, such as pour-over or espresso.
  • Message to Claude: "Create a French press brewing guide with steps and the products you need, and put it on the brewing equipment page."
Example of a conversation. The chat is a simplified mock-up, not a recording from Claude. The products in the box link directly to the product pages.

Fields you can ask for

A module can have exactly the fields you need. Describe them in plain words, and Claude picks the right kind of field:

  • Short text, such as a heading or button text
  • Longer text and formatted text
  • Number, optionally with a minimum and a maximum, such as the number of columns
  • Checkbox for something that can be turned on and off
  • Color
  • Dropdown list with fixed options, such as left, center, or right
  • Link, for example to a category
  • Image or multiple images from your image archive
  • Video
  • Products, categories, or landing pages that you select from your store
  • Content type, such as your recipes or staff members, if you use content types
  • Repeating items, where you add as many as you like, such as questions and answers in an FAQ or rows in a table. Each item can have its own fields.

You can also ask for a field to be required, to have a default value, or to have help text next to it, so you and your colleagues know what to put in it.

Good messages to send Claude

The more precisely you describe the module, the fewer rounds you'll need. Say what the module should show, which fields you want to edit yourself, which pages it should be available on, and whether customers may see it yet.

  • "Create a customer testimonials module with name, city, text, and a small image. Show three at a time on desktop and one at a time on mobile."
  • "Create a module for our About us page with a timeline where I add the year, heading, text, and an image myself."
  • "The campaign countdown should also be able to have a background image. Add an image field, and show it to me on the draft."
  • "Include the front page's other modules on the draft, so the preview looks like the real front page."
  • "Show me which fields the module will get before you build it. Use the theme's colors and fonts."

Good to know

  • Only in themes with page designer modules. It works in copies of all Shoporama's standard themes and of custom themes that use the page designer. The requirements for editing your theme with Claude are in Edit your theme with Claude.
  • New Tailwind classes don't work. Montana, MontanaB2B, and Washington are built with Tailwind, and the theme's CSS is compiled in advance. Claude therefore uses the theme's existing classes or writes plain CSS for the module.
  • The module belongs to the copy. It only exists in the theme Claude built it in, and it comes along if you make a new copy of the copy. If you later switch to another theme, the module doesn't come along. So take pages with the module offline, or remove the module from them, before you switch, as described under Undo after the page is published.
  • Theme settings are shared. Colors and other theme settings are shared between the copy and the active theme. If you change them, the change shows up in your store right away. If you need to choose a color for the module, ask for a color field in the module itself.
  • Extra security. If you've turned on Extra Security, Claude still saves, deletes, and restores files in the copy right away, because your customers don't see the copy. So you can view the module preview without approving anything. Switching themes and deleting a theme wait for your approval in the admin, and so do files in your active theme. The draft can only be published once you've approved the switch. The theme copy itself and the draft in the page designer are created right away.
  • Requires the Pro pricing plan. It's included in the price, but the module is built in a copy, and a copy is a separate theme, which requires Pro. On Flex, Claude can't make copies.

For developers and agencies

This section is only relevant if you develop themes or integrations yourself. A module consists of three files in the theme:

  • components/sections.json determines which modules each page type can use, such as front, category, landing_page, and product.
  • components/sections/<name>.json describes the module in the admin: title, description, sketch (preview_svg), and fields.
  • templates/sections/<name>.html renders the module. The field values are in $section, for example <{$section.overskrift|escape}>.

The fields of the countdown from the example look like this (the sketch is left out):

{
  "title": "Campaign countdown",
  "description": "Banner with heading, text, button, and a countdown to an end date",
  "fields": [
    {"id": "overskrift", "type": "text", "title": "Heading", "placeholder": "Black Week ends soon"},
    {"id": "tekst", "type": "text", "title": "Text"},
    {"id": "slut", "type": "text", "title": "Ends", "description": "Date and time, e.g. 2026-11-30 23:59. The banner is hidden after this time.", "placeholder": "2026-11-30 23:59"},
    {"id": "knaptekst", "type": "text", "title": "Button text"},
    {"id": "link", "type": "link", "title": "Link"}
  ]
}

The field types are text, longtext, richtext, integer, bool, color, list, link, image, images, video, product, products, category, categories, landing_page, landing_pages, content_type, and repeater. A field can also have description, placeholder, default, required, min/max, options (for list), and fields/field_title (for repeater).

In the REST API, the page designer endpoints /page-builder-component, /page-builder-page, and /page-builder-row accept the parameter ?theme=<theme>, so modules and field types are read from one of the store's own themes that isn't active. A row for a module the active theme doesn't have can only be created on a draft (not online and without a schedule). Otherwise, the API responds with 409 and module_not_in_active_theme. You get the same response if you try to put such a draft online before the theme with the module is active. GET /theme-preview/{theme}?theme_page_id= returns one link to the copy with the draft. POST /theme-activate doesn't block a switch, but the response, also with dry_run, includes the fields pages_missing_modules and warning with the pages that are online or scheduled to go online and that use modules the new theme doesn't have.

The files themselves are written with PUT /theme-file/{theme}/{file}, which requires an API key with the Access to theme files checkbox. Templates with Smarty errors are rejected with a line number, and JSON files must be valid JSON. See the endpoints and fields in REST API and how modules are structured in the theme developer documentation.

Frequently asked questions

How do I remove the countdown after Black Week?

You don't need to. The countdown hides itself once the end date has passed, and it can be reused for the next campaign. If you want it gone completely, open the page under Design → Page designer, and click the trash can next to the countdown. If the countdown is on its own front page layout, you can instead uncheck Online and put the old front page back online, if you took it offline.

Can I change the end date or stop the campaign early?

Yes. Once the copy is your active theme, edit the Ends field in the page designer and save. If you set a time that has already passed, the banner disappears. Until the copy is active, ask Claude to change the date on the draft.

Do I add the module to the page designer myself, or does Claude do it?

The first time, Claude does it. The module is placed on a draft that you see in the preview. Once the copy is your active theme, the module appears in the list under Add section on the page types Claude made it available for. Then you can add it to more pages yourself without asking Claude.

How do I see the module on my phone before customers do?

Open the preview link on your phone. If you use the Claude app on your phone, tap the link in Claude's reply. Otherwise, send the link to yourself. Only the browser that opens the link sees the copy and the draft, and the link is valid for 7 days.

What happens to the front page if the module doesn't work?

Nothing, as long as the module is only in the copy and on a draft. Shoporama checks templates for code errors before they're saved and rejects a file with errors, so Claude has to fix it. If the module looks wrong in the preview, tell Claude. If the copy is already active, you can switch back. The page with the module must go offline first, and Claude offers to do that, as described under Undo after the page is published.

Do I need my agency, or can I ask Claude for a module myself?

You can do it yourself. You describe the module in plain words, and Claude writes the code. If an agency built your theme, talk to them first, because the copy won't get the changes they later make to the original theme. Themes from the Theme shop can't be copied, and the theme must have page designer modules.

What happens to the module when Shoporama updates Montana?

The module is in your copy, and a copy doesn't get Shoporama's later updates to the theme. So the updates don't touch your module, but the copy doesn't get new features and fixes from Montana either. If you want them, make a new copy of Montana, and ask Claude to move the module into it.

Does the module work if the store has a dark theme?

Shoporama's themes don't have a dark mode for your customers, so you don't need to think about it. The module is shown in the colors Claude gave it, often the theme's own, such as the button color. If you want different colors, tell Claude, or ask for a color field so you can choose the color yourself in the page designer.