Emergency situation

In case of emergencies or breakdowns, you can send an SMS to our emergency hotline

On-call phone (SMS only)

+45 29 70 15 95

Send an SMS with the following information:

  • Your name and webshop
  • Description of the problem
  • Your callback phone number

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

How to switch to Smarty 4

Guide to upgrading your Shoporama webshop from Smarty 2 to Smarty 4. Smarty 4 is faster, more secure and runs on PHP 8.

Reading time: approx. 1-2 minutes
Developer

Smarty is the template language used to build online store themes on Shoporama. Smarty 4 is the latest version and offers better performance, security, and future-proofing.

Benefits of Smarty 4

  • Faster — Smarty 4 runs on PHP 8, which is significantly faster than PHP 7
  • More secure — Improved security model and updated dependencies
  • Future-proof — All new themes (Delaware, DelawareDK, California, Alaska2, Washington) are built for Smarty 4

How to switch

  1. Log in to the Shoporama admin
  2. Go to Account → Webstore → General
  3. Find the “Smarty version ” field and change the dropdown from 2 to 4
  4. Click Save and clear the cache

Important

Once you’ve made the change, you should thoroughly test your store. Browse around the site and make sure everything works—especially if you have customizations in your theme.

What is Smarty?

Smarty is a template language that separates logic from presentation. Shoporama is built in PHP, and Smarty is used to generate HTML in the themes. The syntax looks like this, for example:

<{foreach $products as $product}>
  <h2><{$product->getName()}></h2>
<{/foreach}>
Kodeeditoren i Shoporama-admin med MBN-Delaware-temaets filliste til venstre og Smarty-template-kode åben i mail-skabelonen after_purchase.html
The code editor under “Theme” displays the theme’s files in the list on the left and the contents of the selected file on the right. Here, you can edit the theme’s Smarty templates directly in your online store.

Do you have any questions? Contact us at support@shoporama.dk.