ez.no / exponential / documentation / building an exponential shop / setting up a simple shop / adding a simple shop
These documentation pages are no longer maintained. Please visit the new documentation site.
The following items are the steps you should perform to set up the default shop:
|
attribute |
name |
identifier |
checkboxes |
|---|---|---|---|
|
Textline |
name |
name |
required, searchable |
|
Textfield |
description |
short_description |
searchable |
|
image |
image |
image |
|
|
price |
price |
price |
required |
The chosen identifiers correspond with the default template: "design/base/override/templates/listitem/product.tpl". If you choose other identifiers, the default template may give an error in the test phase.
To test this shop, go to the front-end (user interface) and change the URL to: "http://[mywebsite]/index.php/tscm/shop/".
A shop with the plain (and ugly) templates should appear.
This shop has multiple pages. The default page is a list of products. The pages which are currently available in the shop:
Comments
Shop module access
ben nikakoi
Thursday 28 April 2005 1:20:57 pm
The "/shop" uri is reserved for the Shop module. As a result, when a "shop" folder is added to the content structure, it will refer to "/shop__1" instead.
By default, "/shop/basket" returns "Access denied". You can resolve this by adding the following line to your site.ini.append:
[RoleSettings]
PolicyOmitList[]=shop/basket
This will skip checking access permissions for "/shop/basket".
Editing the "Anonymous" role, as suggested in the link below, by adding policy:
module->shop, function->buy, limitations->*
will grant anonymous users access to the shopping process.
http://www.ez.no/community/forum/...shopping_basket_restriction_annoying
In case you want to restrict shopping functionality to registered users only, you could create a "Guest" role and add the above policy to it.
Error in "shop" name
Torbjørn Laukvik
Wednesday 27 April 2005 11:58:26 am
if I add "testshop" and then browse this, everything is ok.
before I started to create folders with different names, I tried to add sections and rights as previous shown to no avail.
Seems to me "shop" is a protected word and kicks in some form of log in sequence.