Skip to content

Installing and upgrading

evebb edited this page Nov 7, 2026 · 5 revisions

This page is for whoever sets the shop up: usually the person who built the website, not the shop owner.

What you need

  • A working Wren CMS site.
  • PHP 8.1 or newer with the SQLite, GD, cURL and mbstring extensions. These are standard on most UK hosting.
  • An SSL certificate, so the site works on https://. Most hosts give you one free.

Installing

  1. Download the latest release and unzip it on your computer.
  2. Upload the shop folder to the same place as Wren's index.php, so you have /shop/index.php beside Wren.
  3. Visit /shop/ in a browser. The shop creates its database and data folder on this first visit.
  4. Visit /shop/admin. It asks for a setup code.
  5. Using your hosting file manager or FTP, open the file shop/data/setup-code.php and copy the code from it. (Opening that file in a browser shows nothing; that's deliberate, so nobody else can read it.)
  6. Enter the code, choose a username and a password of at least 10 characters, and press Create admin account. The setup code file is deleted.

You're now signed in. The admin opens with a Getting ready reminder, which is your checklist from here.

The Getting ready checklist

Find it under Settings → Getting ready. It ticks off what a shop needs before it takes real orders:

Essentials

  • Business name, email and address (UK law expects online sellers to show these)
  • At least one product
  • Delivery or collection set up
  • A way to pay
  • PayPal taking real payments, not Sandbox (only if PayPal is switched on)
  • Emails sending
  • Private data folder protected
  • Demo mode off
  • A secure https:// address
  • A link to your privacy notice

Recommended

  • A link to your terms of sale
  • Two-factor sign-in for the admin
  • A test order placed (place one yourself, check the emails, then cancel or refund it)

Each item that isn't done says why it matters and has a Do it link to the right setting. Until the essentials are done, a reminder shows on the Orders and Products pages.

Handing a shop over to a client? Go through this list with them, and make sure the admin account is theirs (they should choose its password).

Upgrading

  1. Download the new release.
  2. Upload only shop/index.php, replacing the old one. Never replace the data or media folders: they hold the orders, settings and photos.
  3. Open the shop once. Any database changes happen by themselves.
  4. Open the shop admin once. The shop learns its own web address from your signed-in visit. Until then it uses a plain version of your theme and doesn't send emails. (This applies when upgrading from 0.12.0 or earlier.)

The shop's version number shows at the bottom of Settings → Advanced, and in the footer of shop pages unless you've hidden it.

Upgrading to 1.2 needs nothing more: your products, categories, orders and customers are kept as they are, and the new features (categories inside categories, SKUs, sale prices, backorders, import and export, search and invoices) are there to use when you want them.

Upgrading to 1.4 is the same: everything is kept, and the shop looks as it did. Search gets smarter by itself (spelling mistakes, suggestions as you type, filters on longer lists); tags, the search report and a logo on your documents are there when you want them.

Upgrading to 1.3 is the same: everything is kept. From 1.3.2, on a computer, the categories are in a card down the side of the shop; to keep them along the top, choose Along the top under Settings → Shop → Categories menu (more). The new features (two options, delivery methods and zones, trade accounts, photo import, moving from WooCommerce, related products and reports) are there to use when you want them. If your site is behind Cloudflare with Proxy or CDN: Cloudflare switched on, upgrade as soon as you can: earlier versions showed an error page with that setting on.

Servers that aren't Apache or LiteSpeed

The shop keeps its database in shop/data/ and protects it with .htaccess files. Apache and LiteSpeed obey those; nginx ignores them. The shop checks for this itself: if its database can be downloaded, every admin page shows a red warning, and the shop stops taking orders until it's fixed.

On nginx, add this to the site's server block (adjust the path if the site lives in a sub-folder), plus your usual rule that sends requests for missing files to /shop/index.php:

location ^~ /shop/data/ { deny all; }

Then press Check again on the warning.

Behind Cloudflare or another proxy

Set Settings → Advanced, Proxy or CDN,, or the shop sees every visitor as the proxy. See the Settings reference.

Clone this wiki locally