<we:createShop>
Since version: - | Requires endtag: no | Required modules: shop
Description
This tag is necessary on any page which contains shop elements. It cannot be located in an included document.
Attributes
shopname
Default value: - | since version: - | required: yes
Set his attribute to the name of the shop in question. This is necessary as multiple shops can be displayed on one site / page.
deleteshoponlogout
Default value: false | since version: 6.1.1 | required: no
Values:
- true
- false
true the shop is deleted on logout of the user.
false old (still existing) shop data is imported from the existing session
If the global variable $follow is set, the user is redirected via header-rewrite to ("Location: ".$follow).
deleteshop
Default value: false | since version: 6.1.1 | required: no
Values:
- true
- false
true the shop is only deleted, if the variable deleteshop is set in the request.
false old (still existing) shop data is imported from the existing session
If the global variable $follow is set, the user is redirected via header-rewrite to ("Location: ".$follow).
Syntax
<we:createShop shopname="attribute" [deleteshoponlogout="true|false"] [deleteshop="true|false"] />
Examples
Example
<we:createShop shopname="shoppers"/>