Shopware PHP Get Cookie
//Get Cookie
Shopware()->Front()->Request()->getCookie('nameofthecookie'));
//Set Cookie
Shopware()->Front()->Response()->setCookie('nameofthecookie', 'value');
Sergiu The Man