на Version 2.0.1.0 модуль заработал только после некоторых правок ( заодно и скидки сделал чтобы учитывал)
заменить код в файле /catalog/model/total/acute_simple_discounts.php
начиная с 25 строки
public function getTotal(&$total_data, &$total) {
if (!$this->config->get('acute_simple_discounts_status') ||
!($this->dateCurrentCheck($this->config->get('acute_simple_discounts_date_from'), $this->config->get('acute_simple_discounts_date_till')))) return;
$skip_specials = $this->config->get('acute_simple_discounts_skip_specials');
$action_products = array();
$category_filter = $this->config->get('acute_simple_discounts_filter_category');
$is_white_list = !$this->config->get('acute_simple_discounts_category_filter_type');
foreach ($this->cart->getProducts() as $product) {
if (count($category_filter)) {
$found_cat = false;
$product_categories = $this->getCategories($product['product_id']);
foreach ($product_categories as $category) {
if (in_array($category['category_id'], $category_filter)) {
$found_cat = true;
break;
}
}
if ($is_white_list xor $found_cat) continue;
}
$product_specials = $this->getProductSpecials($product['product_id']);
$special = false;
foreach ($product_specials as $product_special) {
if (($product_special['date_start'] == '0000-00-00' || strtotime($product_special['date_start']) < time()) && ($product_special['date_end'] == '0000-00-00' || strtotime($product_special['date_end']) > time())) {
$special = $product_special['price'];
break;
}
}
if (!$special || ($special && !$skip_specials)) {
for ($i = 0; $i < $product['quantity']; $i++)
$action_products[] = array('id' => $product['product_id'], 'price' => $product['price'], 'name' => $product['name']);
}
}
$discounts = explode(';', $this->config->get('acute_simple_discounts_discounts_list'));
$value = 0;
foreach (array_reverse($discounts) as $pair) {
$discount = explode(':', $pair);
if (count($action_products) >= $discount[0]) {
if (isset($discount[1])) {
$value = $discount[1];
}
break;
}
}
if ($value) {
$total_amount = 0;
foreach ($action_products as $action_product) {
$amount = $action_product['price'] * $value / 100;
if (!$amount) continue;
$total_amount += $amount;
}
$total_data['totals']= array(
'code' => 'acute_simple_discounts',
'title' => html_entity_decode(str_replace(array('{DISCOUNT}'), array($value), $this->config->get('acute_simple_discounts_caption')), ENT_QUOTES, 'UTF-8'),
'text' => $this->currency->format(-$total_amount, $this->session->data['currency'], false, false),
'value' => -$total_amount,
'sort_order' => $this->config->get('acute_simple_discounts_sort_order'));
$total -= $total_amount;
}
}
}