OpenCart 🇺🇦

Схема

public mixed failure ( )

Аргументы

Аргумент Возможный тип Описание
У метода нет аргументов

Описание

Метод пока еще не документирован.

Исходный код

$this->language->load('payment/amazon_checkout');

$this->document->setTitle($this->language->get('heading_title'));

$this->data['heading_title'] = $this->language->get('heading_title');
$this->data['text_payment_failed'] = $this->language->get('text_payment_failed');

if (file_exists(DIR_TEMPLATE . $this->config->get('config_template') . '/template/payment/amazon_checkout_failure.tpl')) {
	$this->template = $this->config->get('config_template') . '/template/payment/amazon_checkout_failure.tpl';
} else {
	$this->template = 'default/template/payment/amazon_checkout_failure.tpl';
}

$this->children = array(
	'common/column_left',
	'common/column_right',
	'common/content_top',
	'common/content_bottom',
	'common/footer',
	'common/header'
);


$this->response->setOutput($this->render(true));