Code
Explorer
You are a developer and looking for Shopware projects?
Apply Now!
prepareMainDetailAssociatedData example
protected
function
prepareAssociatedData
(
$data
,
$article
)
{
// Format the posted extJs product data
$data
=
$this
->
prepareArticleAssociatedData
(
$data
)
;
// Format the posted extJs product main detail data
$data
=
$this
->
prepareMainDetailAssociatedData
(
$data
)
;
// Format the posted extJs product main prices data
$data
=
$this
->
prepareMainPricesAssociatedData
(
$data
,
$article
)
;
$data
=
$this
->
prepareAvoidCustomerGroups
(
$data
)
;
// Format the posted extJs product configurator association.
$data
=
$this
->
prepareConfiguratorAssociatedData
(
$data
,
$article
)
;
// Format the posted extJs product categories associations
$data
=
$this
->
prepareCategoryAssociatedData
(
$data
)
;