Вот код в xml Когда меняю количество товара цену обновляет, но не учитывает скидку (discounts) Вытащил код с другого модуля для учета (discounts) Код: function process_discounts(price, quantity) { <?php foreach ($dicounts_unf as $discount) { echo 'if ((quantity >= '.$discount['quantity'].') && ('.$discount['price'].' < price)) price = '.$discount['price'].';'."\n"; } ?> return price; } Помогите пожалуйста внедриты его в quantity control PRO