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.

Edit your theme with Claude: test changes in a copy before going live

Ask Claude to make a copy of your theme and build the change, for example a stock badge on your products. You see the result in a preview your customers don't see, make the copy live when you're happy, and can undo it again.

Reading time: about 40 minutes
Store owner Developer

With Claude, you can edit the design of your online store just by describing what you want. For example, you can ask Claude to show "Only 3 left" on products that are about to sell out. Claude makes a copy of your theme, builds the change in the copy, and gives you a link so you can see the result in your own store. Meanwhile, your customers see the store they are used to. When you're happy, you ask Claude to make the copy live, and if you change your mind afterward, you just write "undo".

You don't need to know how to code. Claude writes the code, and Shoporama saves it, checks it for errors, and keeps the previous versions of every file. That makes it safe to try out an idea, even in the middle of a busy week. It works in Claude on your computer, on your phone, and on claude.ai.

In short: Tell Claude what you want to change, and ask for a copy of your theme. Open the preview Claude gives you. Write "make it live" when it looks right, and "undo" if you change your mind.

How it works

  1. Copy. Claude copies your theme to a new theme among your custom themes. You can also start from one of Shoporama's standard themes: Montana, MontanaB2B, Delaware, DelawareDK, Washington, California, or Alaska2. Your store is left untouched.
  2. Change. Claude finds the right files in the copy and writes the change. Shoporama checks the code before it is saved.
  3. Preview. You get a link that shows your store with the copy. Only people who open the link see the copy.
  4. Live. When you say so, Claude makes the copy live, and you can undo the switch again.

What you need

Requires Pro and Smarty 4. The feature is included in the price, but your store must be on the Pro price model and run Smarty 4, and Claude must be connected as described above. Pro is required because a copy is a custom theme. On Flex, Claude therefore cannot make copies, show them in a preview, or make a custom theme live. You change the price model under Company → Webshops with the change link next to the price model.

If Claude replies that the connection is missing access to theme files, remove Shoporama under Customize → Connectors in Claude, and connect again. Connections that were set up a long time ago may be missing this access.

Step by step: badges on your products

This example was made in the Montana theme on a test store that sells coffee. The conversations in the videos and images are simplified reproductions of Claude, but the steps are the same when you do it yourself.

1. Ask for a copy and a change

For example, write: "Make a copy of my theme and show 'Only 3 left' on products with 5 or fewer in stock. I want to see it before it goes live."

Claude copies the theme to a new copy, here called Montana-v2, reads the theme's overview of its files, finds the file with the badges on the product images, and adds the stock badge. Finally, you get a link to the preview. The badge appears on the product image in categories and on the product page when there are 1 to 5 left of a product without variants.

In the video, we ask for the stock badge and a discount badge in the same message, so you can see the whole process from message to finished product page.

Example of a conversation: one message is enough. Claude makes the copy, builds both badges, and gives you a link to the preview, which here shows the product page with the new badges. Your store has not been changed.

2. Keep building in the same conversation

You can also take one thing at a time and keep going as long as you like. For example, write: "Also add a red badge with 'Save X%' to the products that are marked down."

In the example, Claude's first attempt used a function that Shoporama doesn't allow in themes. Shoporama rejected the file with an error and a line number, and nothing was saved. Claude fixed the code and saved again. That's the kind of error Shoporama's check catches before it reaches the store. The badge only appears when the discount is at least 5%, so a product marked down by just a few kroner doesn't get a "Save 1%".

Conversation with Claude titled Discount badge on marked-down products. The user asks for a red badge with Save X percent on marked-down products. Claude shows three steps: read the file with the badges, a red step with the text Rejected: Smarty error in the template, and saved the corrected badge. Claude explains that the first attempt used a function Shoporama doesn't allow, that nothing was saved, and that the badge now appears at a discount of at least 5 percent.
Example of a conversation with Claude (simplified). The red step is Shoporama's check: the faulty file was rejected, and only the corrected version was saved.

Reload the preview, and you'll see both badges on the product.

The product page for Terra Nova Ethiopia Guji, whole beans 1 kg, in the preview of the theme Montana-v2. In the top left corner of the product image are the badges Only 3 left and a red Save 20%, highlighted with a red frame. The price is 199.00 DKK with the previous price of 249.00 DKK struck through. Below the Add to basket and Buy now with MobilePay buttons is a green box with the text We ship Monday and Order now to make the next shipment. At the top is the bar Previewing theme Montana-v2 · Your customers still see the active theme with the link Close preview.
The product page in the preview with the two new badges. The product has 3 in stock and is marked down from DKK 249 to DKK 199, which is 20%. The green box below Add to basket is another example, which you can read about under More examples. Outside the preview, the page looks the way it always does.

3. Undo a single change

If you regret the latest change, just say so. If, for example, you added the discount badge on its own, as in step 2, you can write: "Remove the discount badge again. Keep the stock badge." Claude finds the previous versions of the file and restores the version from before the discount badge. The version with the discount badge is itself saved as a version, so you can get it back if you change your mind again.

Conversation with Claude titled Undo a change. The user writes: Remove the discount badge again. Keep the stock badge. Claude shows two steps: found the previous versions of the file, and restored the version from before the discount badge. Claude replies that the stock badge is still there and that the version with the discount badge has been saved as a version.
Example of a conversation with Claude (simplified). Claude brings back a previous version of the file, and the version being replaced is saved too, so nothing is lost.

4. Make it live

When the preview looks right, write "Looks good. Make it live." If you change your mind afterward, write "undo", and Claude reactivates your previous theme. Read more in the section Make the copy live, and undo it further down.

More examples

The badges are just one example. The three examples here were made on the same test store and in the same way: in a copy, and checked in the preview before anything went live.

Countdown to today's shipping cutoff

For example, write: "Add a countdown by the buy button: order before 2 PM and we ship today. Also show the expected delivery, which takes 1-2 business days."

Claude builds it in the same copy, Montana-v2, so it's included when the copy goes live. Below Add to basket, there's now a box with "We ship today" and a countdown, for example "Order within 1 h 23 min". Below it is the expected delivery, for example "Friday 6 November or Monday 9 November", and weekends are skipped. The countdown uses the shipping times you've set in the theme settings. After 2 PM and on weekends, the box changes to "We ship tomorrow" or "We ship Monday" with the text "Order now to make the next shipment."

Example of a conversation: Claude finds the theme's shipping message, builds the countdown and the expected delivery in the copy, and gives you a link. In the preview, the box below Add to basket counts down to today's shipping cutoff.

A Christmas theme you make live on December 1

For example, write: "Make a Christmas theme for the store: red and green, a little snow, and a banner about the last order date before Christmas. It must be possible to turn it off again in January."

Claude makes a new copy for Christmas, here Montana-christmas, next to the first one. The buttons turn red, the banner with the store's benefits turns green, and a red banner at the top says "Order by 20 December for delivery before Christmas". Light snow falls over the page, but not for visitors who have turned off animations on their phone or computer. The colors are layered on top of your color scheme in the copy's own files, so your theme settings are unchanged.

On December 1, write "Make the Christmas theme live", and in January write "undo" to get your regular theme back. If you've switched themes in the meantime, ask Claude to make your regular theme live instead, or select it under Design → Theme. It's best to make the Christmas theme close to December, because changes to your regular theme made after the copy was created are not included in it.

Example of a conversation: Claude puts the Christmas theme in its own copy, so you can make it live in December and undo it in January. The preview shows the front page with the Christmas banner, red buttons, and snow.

New modules for the page designer

Claude can also build completely new modules for the page designer in a copy, for example a campaign banner that counts down to when the offer ends. The module gets fields for texts and an end date, so you can edit them yourself in the page designer. Claude places the module on a draft of the front page, and you see it all in the preview before anything goes live. See Build page designer modules with Claude.

Example of a conversation: Claude builds the module Campaign countdown in the copy and places it on a draft of the front page. The two bars at the top show the draft and the theme copy.

Good messages to write to Claude

The more precisely you describe what should happen, where, and when, the faster Claude gets it right. It's a good idea to start with "make a copy of my theme", so you can be sure nothing changes in the store before you've seen it.

  • "Make a copy of my theme, and move the reviews above the product description on the product page."
  • "Show the text 'Delivered in a gift box' below Add to basket on the products in the Gift boxes category. Only in the copy."
  • "Make the buttons on the product cards round and a bit bigger in the copy."
  • "Which files control the cart in my theme? Don't change anything yet."
  • "Give me a new preview link that opens directly on the cart."
  • "Remove the latest change in the copy again."

Make one change at a time. That makes it easier to check in the preview, and easier to undo if it isn't right.

The preview

The link from Claude shows your entire store with the copy: the front page, categories, product pages, cart, and checkout. As you click around, you stay in the preview. Your customers and all other visitors still see your active theme.

At the top of the page is a dark bar with the text "Previewing theme Montana-v2 · Your customers still see the active theme", with the name of your copy. Click Close preview on the right side of the bar (on mobile it just says Exit) when you want to go back to the regular store.

The Coffee beans category in the preview of the theme Montana-v2. At the top of the page is a dark bar, highlighted with a red frame, with the text Previewing theme Montana-v2 · Your customers still see the active theme and the link Close preview on the right.
The bar at the top tells you that you're viewing the copy. It follows you on every page, including the cart and checkout. Click Close preview to see the store as your customers see it.
  • The link works for 7 days. Ask Claude for a new one, or use the Preview button under Design → Theme or next to the theme in Design → Code editor.
  • You can share the link with a colleague who needs to take a look. It doesn't give access to your admin.
  • The cart and checkout are real. If you complete an order in the preview, it's a real order.
  • Emails can't be previewed, because they are sent outside your browser. If Claude changes an email in the copy, you can't see it in the preview.
  • Google and other search engines don't index the preview.
  • If the copy has an error, you'll see it in the preview. It doesn't trigger any notifications in admin or emails to you.

If Claude has also built a draft in the page designer, the preview can show the draft together with the copy. The page designer bar is then at the top and tells you that the draft isn't visible to your customers, and the bar for the copy is just below it.

Make the copy live, and undo it

For example, write "Make the copy live". Claude always does a dry run first, which shows what will change without changing anything. While the switch happens, the store briefly shows the message "We're updating your store. This usually takes about a minute." After that, all visitors see the new theme.

If you want to make the copy live yourself, click Enable next to the copy in Design → Code editor, and confirm. There's no dry run then. If some pages use modules the theme doesn't have, the code editor shows the warning afterward with links to the pages. You can still write "undo" to Claude.

If you change your mind, write "undo". Shoporama remembers the theme from before the latest switch, and Claude reactivates it. The copy stays among your custom themes, so you can try again later. You can also ask Claude to go back to your standard theme, or select a theme yourself under Design → Theme.

Conversation with Claude titled Make the copy live. The user writes: Looks good. Make it all live. Claude shows two steps, made Montana-v2 live and published the draft, and writes that Montana-v2 is now the active theme, that the front page with the countdown has been published, and that you can write undo. The user writes Undo. Claude shows two new steps, took the front page with the countdown offline and activated the previous theme, and explains that Montana is the active theme again and that the front page was taken offline first because Montana doesn't have the module, so customers would otherwise see an error instead of the banner. The copy Montana-v2 and the draft are still there.
Example of a conversation with Claude (simplified). The copy goes live together with a front page from the page designer. On "undo", Claude first takes the front page offline, because the previous theme doesn't have the module, and then activates the previous theme.

Have you published a page with a module from the copy? The module only exists in the copy, so your previous theme can't show it, and in most themes the store shows an error box instead where the module should have been. The dry run catches this: Claude tells you which pages are affected and offers to take them offline before switching, as in the example. The switch goes through even if you say no. As long as there are affected pages, Design → Theme 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. If you switch themes yourself under Design → Theme or with Enable, there's no dry run, and the warning only appears after the switch.

With Extra Security turned on

If you've turned on Extra Security, Claude still saves, deletes, and restores files in a copy right away. Your customers don't see the copy, and every file has previous versions. Files in a theme the store uses, on the other hand, wait for you to approve them in admin. That applies to your active theme, a theme selected for a country, and a variant in a running split test. The same applies when Claude makes a theme live or deletes one of your custom themes. The copy itself is created right away, and the preview link doesn't require approval either. So Claude can finish building in the copy, and you only approve when the copy is to go live.

See who switched themes

The activity log, which you open with the Activity Log button under Company → Users, shows each switch as "Theme changed" with the theme before and after, and whether it happened via Claude, the API, or admin. A copy appears as "Theme copied", and a deleted theme as "Custom theme deleted". You can also see everything Claude has done in your store in the AI log.

Previous versions and code checks

The latest 20 versions of every file

Every time a theme file is changed or deleted by Claude, via the API, or in the code editor, Shoporama saves the old version. The latest 20 versions of each file are kept. Changes you or your developer make via SFTP are not saved as versions.

The easiest way back is to ask Claude, as in the example above. You can also do it yourself in the code editor:

  1. Go to Design → Code editor, and open the file.
  2. Click Previous versions. You see a list of the versions showing when each one was saved and how large it is.
  3. Click Restore next to the version you want back, and confirm the question "Restore this version? The current file will first be saved as a version."

Because the current version is saved first, a restore can also be undone. Claude can bring back a file that has been deleted.

The code editor under Design with the Previous versions window open, highlighted with a red frame. At the top is the name of the file in the copy Montana-v2, followed by an explanation that a version is saved every time the file is saved or deleted in the editor, by Claude, or via the API, that changes via SFTP are not saved, and that the latest 20 versions are kept. The table has the columns Saved and Size with two versions from November 28, each with a Restore button, and at the bottom the Close button. Below the editor are the buttons Save, Delete, Full screen, and Previous versions.
The Previous versions button in the code editor shows the saved versions of the open file. Click Restore next to the one you want back.

The copy is an ordinary custom theme, so you or your developer can also open it in the code editor and keep working on it.

Shoporama checks the code before it is saved

Before a template is saved, Shoporama checks that the code can be used. If there's an error, the file is rejected with an explanation and a line number, and nothing is saved. Claude reads the error and fixes it itself, as in the discount badge example. The same check applies when you save in the code editor. You then see the error message, and the file is not saved.

Configuration files in JSON format must also be valid before they can be saved, and program code can never be placed in a theme. The check catches errors in the code itself, but not everything that may look wrong on the page. So always look through the copy in the preview before it goes live.

Images and files in the theme

If the theme needs an image, an icon, or a font, attach the file in the chat and tell Claude what it's for. It works the same way as Images from Claude, and the first time, you need to allow www.shoporama.dk in Claude's settings. Claude can also fetch a file from a public address on the web, or create a small file itself, such as an icon.

Text files can be up to 2 MB, and images, fonts, PDFs, and videos up to 10 MB.

Banners and other images you want to be able to change yourself don't belong in the theme. Put them in the Image Archive, and use them in the page designer's image fields. That way, you can change them without anyone having to touch the theme.

Your custom themes under Design → Theme

The copy is listed under Custom themes on the Select theme page, which you find under Design → Theme. Newer copies have a line below the name showing what they are a copy of and when, for example "Copy of Montana from 24.11.2026". Older copies and themes uploaded via SFTP don't have this line. Next to a custom theme that isn't active, you'll find:

  • Select, which makes the theme live when you then click Save at the bottom of the page.
  • Preview, which opens the store with the theme in a new tab without activating it. It's the same preview Claude gives you.
  • The copy button (two overlapping pages), which makes a new copy of the theme. It's handy if you want to try something new without touching a copy you're happy with.
  • The trash can, which deletes the theme. You're asked first: "Delete the theme Montana-v2? This action cannot be undone here, but support can recover it within 30 days."
The Select theme page under Design → Theme. At the top is the Custom themes section with the cards Delaware-copy and Montana-v2, both with the Custom Theme badge and the lines Copy of Delaware from 28.11.2026 and Copy of Montana from 28.11.2026. On the Montana-v2 card are the buttons Select, Preview, a copy button, and a trash can, where Preview, the copy button, and the trash can are highlighted with a red frame. Below is the Free themes section with Montana marked as Active, MontanaB2B, DelawareDK, and Delaware, and at the bottom the bar Selected theme: Montana with the Save button.
The copy is listed under Custom themes with information about what it's a copy of. Preview shows the store with the copy without activating it, the copy button makes a new copy, and the trash can deletes a copy you don't need.

You can also make a copy yourself without Claude. Click the copy button next to one of Shoporama's free themes under Design → Theme, or click Copy in the Shoporama's Themes box below the file list in Design → Code editor. Change the name if you like, and click Make a copy. The copy is the same as the one Claude makes, and afterward you can ask Claude to build changes in it. Read more in The code editor.

You can't delete the active theme, a theme selected for one of your countries, or a theme that is part of a running split test. If you try, you get the message "The theme is in use and cannot be deleted." A deleted theme is moved to a trash folder along with its previous versions. If you deleted it by mistake, write to support@shoporama.dk, and we'll recover it. Claude can also delete a theme for you, but asks you first, and Claude can't bring back a deleted theme.

Good to know

  • Theme settings, logo, and stylesheet are shared. They apply to the whole store and not to the individual theme. A change under Theme settings or Stylesheet therefore takes effect in the store right away, even while you're working in a copy. Claude doesn't change them while working in a copy, but builds the change in the copy's own files.
  • A copy doesn't receive Shoporama's updates. If you copy a standard theme, the copy doesn't get the improvements we later make to the theme. The copy is also a snapshot: changes made to your active theme afterward are not automatically included in the copy.
  • Themes from the Theme shop can't be copied. Instead, you can make a copy of one of Shoporama's standard themes.
  • The standard themes' CSS is prebuilt. New CSS classes, for example from Tailwind in Montana, MontanaB2B, and Washington, therefore don't work on their own in a copy. Claude knows this and uses the classes the theme already has, or regular CSS. You usually won't notice.
  • A maximum of 10 custom themes and 500 MB per copy. Delete old copies under Design → Theme if you hit the limit.
  • Claude knows the standard themes best. Shoporama's standard themes have an overview that tells Claude which files control what, and it's included in the copy. If a developer built your theme, Claude has to find its way around the files itself, which can take a little longer.
  • Only your own themes. Claude can only see and change your store's custom themes, never other stores' themes, and program code can't be placed in a theme.

For developers: themes via the REST API

This section is technical. As a store owner, you can skip it.

Everything Claude does with themes can also be done via Shoporama's REST API. The API key must have the Access to theme files checkbox selected. Connections from Claude via the connector get this access automatically. All endpoints are under https://yourstore.com/REST/, and copy, preview, activation, and deletion require Smarty 4 and Pro (on other price models, the API returns 403 with requires_pro):

  • GET /theme-copy tells you what the store can do: whether copies are enabled, whether versions are saved, custom themes, standard themes, and limits.
  • POST /theme-copy makes a copy with source_kind (own or standard), source, and name. DELETE /theme-copy/{name} deletes a custom theme.
  • GET /theme-preview/{theme}?page=&theme_page_id= returns a preview link, optionally directly to a specific page or together with a draft from the page designer.
  • POST /theme-activate with theme, standard, or previous makes a theme live, goes back to the standard theme, or undoes the latest switch. dry_run only shows what would happen. The response, also with dry_run, includes the fields pages_missing_modules and warning with the page designer pages that are online or scheduled to go online and use modules the new theme doesn't have. The switch isn't blocked.
  • GET and POST /theme-history/{theme}/{file} list and restore versions of a file.
  • GET /theme-search/{theme}?q=&regex=&folder= searches the theme's files, and GET /theme-trace/{theme}?page= shows which templates a page uses.
  • GET /theme-docs and GET /theme-docs/{id} return the theme documentation.
  • PUT /theme-file/{theme}/{file} can take ?upload_id= or ?source_url= instead of a body, and the page designer endpoints take ?theme=, so you can work with modules in a copy.

A copy's name is 1 to 64 characters of letters, numbers, hyphens, and underscores, and it must start with a letter or a number. Build files such as node_modules, src, and package.json are not included in a copy. The fields and responses are described in the API documentation.

Frequently asked questions

Does it cost extra?

No, it's included in the price. However, it requires the Pro price model, because a copy is a custom theme. On Flex, you can't make copies.

Can I do it all from the Claude app on my iPad or phone?

Yes. When Shoporama is connected to your Claude account, you can write to Claude in the app on your iPad and phone, just like on your computer. The preview link opens in a browser on the device where you tap it. If you're working on your computer and want to see the copy on your phone, open the same link on your phone. It works on all your devices as long as the link is valid.

Can Claude end up changing my active theme directly?

Yes, if you have a custom theme and ask Claude to edit it, the change takes effect in the store right away. Claude is instructed to use a copy for anything other than small fixes, but feel free to say it yourself: "make a copy first". Claude can't change Shoporama's standard themes directly, only copies of them. If you want to be completely sure, turn on Extra Security. Then every file in your active theme waits for your approval, while Claude can still work freely in a copy.

I don't understand code. How do I know what Claude has changed?

Ask Claude to explain it in plain English, for example: "What did you change, and which pages does it affect?" Then check the change in the preview, ideally on both computer and mobile. Every time Claude saves a file, the old version is saved as a version, so you can always go back.

How far back can I go if something goes wrong in the middle of the season?

File versions have no expiry date. Shoporama keeps the latest 20 versions of each file, so for a file that rarely changes, you can go a long way back. You undo a theme switch with "undo", which goes back to the theme from before the latest switch. If you want to go further back, select the theme under Design → Theme.

Who can see the preview link?

Anyone with the link can see the copy until the link expires after 7 days. The link only works for your store and the copy it was created for, and it can't be used to change anything. So only share it with people who need to see it. A link can't be closed early unless the copy is deleted.

I maintain a customer's theme via SFTP. What happens to my changes once a copy has been made?

The copy is a separate folder among the store's custom themes. Changes you make to the original after the copy was made are not included in the copy, so if the customer makes the copy live, those changes will be missing. So agree with the customer on which theme is being worked on, or make your changes in the copy, which you can open like any other custom theme. Remember that changes via SFTP are not saved as versions.

The customer made a copy live, and something doesn't work. Can I see it and switch back?

Yes. The company's administrators can see the switch in the activity log as "Theme changed" with the theme before and after, and whether it happened via Claude. You switch back without Claude under Design → Theme: click Select next to the previous theme and then Save. The copy stays, so the error can be fixed without rushing.

Can I try out new colors in the copy before customers see them?

Not under Theme settings. The colors there apply to the whole store, even while you're working in a copy, so customers see a change right away. Instead, ask Claude to put the new colors in the copy's own files, as in the Christmas theme above. Then you only see them in the preview until the copy goes live.

What do I do if something looks wrong in the copy?

Tell Claude what's wrong and on which page. A screenshot in the chat helps. The copy isn't live, so your customers won't notice anything while it's being fixed. If that doesn't solve it, Claude can restore a previous version of the file, or you can delete the copy and start over with a new one.

Related articles

Control your store with AI: get started with Claude and MCP

Connect your Shoporama store to Claude from Claude's connector directory or via MCP, and ask it to create orders, discount codes, and front pages....

Extra Security: approve changes from Claude

With Extra Security, Claude does not carry out changes that send emails, move money, or cannot be undone until you have approved them. Here is how...

Images from Claude: send photos and PDFs straight to your online store

Attach photos and PDFs in Claude on your phone, in Claude Desktop, or on claude.ai, and ask Claude to add them to your products. The first time,...

Code editor: edit theme files directly in admin

The code editor lets you edit your theme's HTML, CSS, and JavaScript files directly in admin. See which theme your customers see, make a copy of a...

Customize which tools Claude can use in your store

Choose Read and edit, Read only, or Off for each area of your store, so Claude only works with what you want and has more room in the conversation.

Activity log: see who did what in the admin

The activity log shows who refunded, exported, deleted, imported, or changed access in the admin, and when. See what the log captures, what it does...

AI audit log: see what AI has done in your store

The audit log shows every action an AI assistant has performed in your online store. See what is logged, how to filter, how to undo changes, and...

How to upgrade your theme to Smarty 4

Upgrade your Shoporama store from Smarty 2 to Smarty 4. Smarty 4 is faster, more secure, and runs on PHP 8.

Theme settings: how to customize your Shoporama theme

Theme settings are your theme's own control panel in Shoporama. Change colors, texts, images, and on/off features without code, and learn what the...

REST API: authentication, endpoints, and the API log

A complete guide to Shoporama's REST API: authentication, API keys and user roles, all endpoints, examples, the Swagger documentation, and the API...

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...