Code
Explorer
You are a developer and looking for Shopware projects?
Apply Now!
sDeleteNote example
$view
->
assign
(
'sNotes',
Shopware
(
)
->
Modules
(
)
->
Basket
(
)
->
sGetNotes
(
)
)
;
$view
->
assign
(
'sUserLoggedIn',
Shopware
(
)
->
Modules
(
)
->
Admin
(
)
->
sCheckUser
(
)
)
;
$view
->
assign
(
'sOneTimeAccount',
Shopware
(
)
->
Session
(
)
->
offsetGet
(
'sOneTimeAccount'
)
)
;
}
/** * @return void */
public
function
deleteAction
(
)
{
if
(
!
empty
(
$this
->
Request
(
)
->sDelete
)
)
{
Shopware
(
)
->
Modules
(
)
->
Basket
(
)
->
sDeleteNote
(
$this
->
Request
(
)
->sDelete
)
;
}
$this
->
redirect
(
[
'action' => 'index'
]
)
;
}
/** * @return void */
public
function
addAction
(
)
{
$orderNumber
=
(string)
$this
->
Request
(
)
->
getParam
(
'ordernumber'
)
;