protected function addCarriers() { if (Validate::isLoadedObject($product = new Product((int) Tools::getValue('id_product')))) { $carriers = array(); if (Tools::getValue('carriers')) { $carriers = Tools::getValue('carriers'); } $product->setCarriers($carriers); } }