| Аргумент | Возможный тип | Описание |
| У метода нет аргументов | ||
$this->load->model('checkout/coupon');
$coupon_info = $this->model_checkout_coupon->getCoupon($this->request->post['coupon']);
if (!$coupon_info) {
$this->error['warning'] = $this->language->get('error_coupon');
}
if (!$this->error) {
return true;
} else {
return false;
}