if(isset($this->request->post['apply']) and $this->request->post['apply']){ $this->redirect(HTTPS_SERVER . 'index.php?route=catalog/product/update&token=' . $this->session->data['token'].'&product_id='.$product_id); }else{ $this->redirect(HTTPS_SERVER . 'index.php?route=catalog/product&token=' . $this->session->data['token'] . $url); }