/shop/orderreceipt
A view of the shop module, defined in kernel/shop/module.php and run by kernel/shop/orderreceipt.php.
Address
/shop/orderreceipt/<Token>/(download)/<Download>Ordered parameters, in this order after the view name: Token.
Unordered parameters, in any order as /(name)/value: (download) sets Download.
Who may open it
Listed in settings/site.ini [RoleSettings] PolicyOmitList[]: no policy is checked, everyone may open it.
The view names no policy function, so the user needs a policy for the whole module: shop/* (every function of the module) in one of the roles assigned to them.
Details
| Key | Value |
|---|---|
| Navigation part | ezshopnavigationpart |
Example
A link in a template (ezurl adds the siteaccess and quotes the address); the parameter values are placeholders:
<a href='/shop/orderreceipt/token'|ezurl>shop/orderreceipt</a>
<a href=concat( '/shop/orderreceipt/token/(download)/', 1 )|ezurl>shop/orderreceipt</a>From PHP, the redirect a view gives after it has done its work:
return $Module->redirectTo( '/shop/orderreceipt/token' );Related
Generated by ./console exp:help:examples from kernel/shop/module.php, kernel/shop/orderreceipt.php. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.