OpenCart 🇺🇦

Схема

public mixed deleteOrder ( $order_id )

Аргументы

Аргумент Возможный тип Описание
$order_id

Описание

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

Исходный код

/**
 * Called when an order is deleted - usually by the admin. Helpful to loop over the products to add the stock back to the markets.
 */
// eBay Module
if ($this->config->get('openbay_status') == 1) {
	$this->ebay->deleteOrder($order_id);
}

// Amazon Module
if ($this->config->get('amazon_status') == 1) {
	$this->amazon->deleteOrder($order_id);
}

// Amazon US Module
if ($this->config->get('amazonus_status') == 1) {
	$this->amazonus->deleteOrder($order_id);
}