1&1 eShops come with ready-to-use design templates. You can modify them to suit
your needs. As a caution it is always best to back up the existing template files
before making changes.
Design templates consist of two kinds of files: Shop Script files and Template files.Shop Script filesThey are used to display whole pages. Every page that you see in your eShop was
generated using a Shop Script file. This file determines what a page will look like,
e.g. the order and layout using tables, background color, font etc.
Template filesThey are used to display individual objects, like product category or item within a
Shop Script file. They determine how to show item details, ie. description, name,
item number etc. Tables are used for layouts. You can choose the template you want
to use to display your items and product categories.
The design templates comprised of the following files:
|index.shopscript||This is where you
set what your eShop looks like with the various main, title and navigation
navigation bar. Buttons of the bar can be changed here.
|Used to define the
color of top and bottom frames.
|about_us.shopscript||shops starting page|
|identity.shopscript||Shops contact page|
|info.shopscript||Shops info page|
|terms.shopscript||Shops Terms and
|product_overview.shopscript||Forms the framework
for the display of catalogue structure of the product categories and sub
categories. It also decides the hierarchy of items. It uses
template_categorymain.template, template_categorysub.template and
template_smalllist.template for displaying various objects.
|template_categorymain.template||Generates the view
of product sub-categories of displayed category.
|template_categorysub.template||Generates the view
of product sub-sub-categories of displayed sub-category.
|template_smalllist.template||Displays an item as
part of an overview
|product_details.shopscript||Forms the frame for
detailed view of items that are created by template_detail.template.
view of an item.
|product_search.shopscript||Contains the Product
Search page. You can design as to how the search results are displayed.
|template_search.template||Creates the view of
the item search result.
Detailed description of Shop Script and Template filesindex.shopscript: The basic layout of all shop pages is determined in this
file. This is done using framesets that divide the website into individual frames.
You can set the width and height of the frames in the <frameset> ... </frameset>
tags. The Shop Script files described in the framesets will then be loaded.
nav.shopscript: This file contains the navigation bar with buttons that take
you to other pages of the eShop. The navigation elements are graphics in GIF format
that have the name of the reference page as a label.
top.html and bottom.html: Static HTML pages specific to a template. They
contain background colours of top and bottom frames. They may not show up for all
the templates of the eShop. Only a few have them.
about_us.shopscript: Information about your eShop is displayed using this
file. The content for this page can also be entered from 'Settings' ->
'Advanced Settings' -> 'Text modules 1 -> 'Texts for the 'About us' page'
identity.shopscript: The name and address of the shop owner is displayed
using this file. The content for this page can also be entered from 'Settings' ->
'Advanced Settings' -> 'Text modules 1 -> 'Texts for the 'Contact' page'
info.shopscript: This file is used to display important information like
right to cancellation, guarantee and privacy policies. The content for this page
can also be entered from 'Settings' -> 'Advanced Settings' -> 'Text modules 1
-> 'Texts for the 'Info' page'
terms.shopscript: This page is for displaying the Terms and conditions of
your eShop. The content for this page can also be entered from
'Settings' -> 'Advanced Settings' -> 'Text modules 1 ->
'Texts for the 'Terms and Conditions / additional entries' page'
product_overview.template: It displays the items and product categories. The
shop script command <%INIT_STRUCTURE %> reads the hierarchical structure of the
catalogue and later issue it.
The text between functions <% ITEMLOOP %> and <% END_ITEMLOOP %> is issued once for each object.
template_categorymain.template: This file is used to display a product
category that is just below the current product category. For instance, you are in
the root directory, then this template is used for every product category below the
root. If you are in a category P1, then this template will be used for categories
below it (P2).
You can choose the template for a product category under: eShop -> Category. You
can also assign your own template if needed.
You can access any field by using the variable $item_^lt;fieldname>, i.e.
$item_name or $item_image.
template_categorysub.template: This template is used in the
product_overview.shopscript to display the sub-category within a product category.
template_smalllist.template: This file is used to display an item in the
product overview (product_overview.shopscript)
product_details.shopscript: This page is intended for the output of a
detailed view of an item. Therefore the file, template_smalllist.template, which is
used to display an item in the product overview should contain a link to
template_detail.template: This template creates the detailed view of a
You can suppress the display of an item by deleting the appropriate variable, e.g.:
$item_description, $item_price, $item_vat from the code.
product_search.shopscript: This file creates the display of product search
before and after the search. The command <START_SEARCH %> executes the search
If no search query was entered, then the variable $text_search_nothing_found is
&lt;% IF_NO_ITEMS_FOUND %&gt; #If no items were found
&lt;% IF_QUERY %&gt; #If a search query was entered
&lt;% END_IF %&gt;
&lt;% ELSE_IF %&gt; #If items were found
&lt;% END_IF %&gt;
template_search.template: It creates a view of a single item