Code
Explorer
You are a developer and looking for Shopware projects?
Apply Now!
basketHasEsdProducts example
$agbChecked
=
$this
->
Request
(
)
->
getParam
(
'sAGB'
)
;
if
(
!
empty
(
$agbChecked
)
)
{
$this
->
View
(
)
->
assign
(
'sAGBChecked', true
)
;
}
$this
->
View
(
)
->
assign
(
'sTargetAction', 'confirm'
)
;
$this
->
View
(
)
->
assign
(
'hasMixedArticles',
$this
->
basketHasMixedProducts
(
$this
->
View
(
)
->
getAssign
(
'sBasket'
)
)
)
;
$this
->
View
(
)
->
assign
(
'hasServiceArticles',
$this
->
basketHasServiceProducts
(
$this
->
View
(
)
->
getAssign
(
'sBasket'
)
)
)
;
if
(
Shopware
(
)
->
Config
(
)
->
get
(
'showEsdWarning'
)
)
{
$this
->
View
(
)
->
assign
(
'hasEsdArticles',
$this
->
basketHasEsdProducts
(
$this
->
View
(
)
->
getAssign
(
'sBasket'
)
)
)
;
}
$serviceChecked
=
$this
->
Request
(
)
->
getParam
(
'serviceAgreementChecked'
)
;
if
(
!
empty
(
$serviceChecked
)
)
{
$this
->
View
(
)
->
assign
(
'serviceAgreementChecked', true
)
;
}
$esdChecked
=
$this
->
Request
(
)
->
getParam
(
'esdAgreementChecked'
)
;
if
(
!
empty
(
$esdChecked
)
)
{
$this
->
View
(
)
->
assign
(
'esdAgreementChecked', true
)
;
}