sCampaignsGetList example

public function getCampaigns($parentId)
    {
        $campaigns = [
            'leftTop' => [],
            'leftMiddle' => [],
            'leftBottom' => [],
            'rightMiddle' => [],
            'rightBottom' => [],
        ];

        foreach ($campaigns as $position => $content) {
            $campaigns[$position] = Shopware()->Modules()->Marketing()->sCampaignsGetList(
                $parentId,
                $position
            );
        }

        return $campaigns;
    }

    public function getCapabilities()
    {
        return [
            
Home | Imprint | This part of the site doesn't use cookies.