Всё правильно
Вот сюда
public function hookPayment($params)
{
if (!$this->active)
return;
if (!$this->checkCurrency($params['cart']))
return;
$this->smarty->assign(array(
'this_path' => $this->_path,
'this_path_bw' => $this->_path,
'this_path_ssl' => Tools::getShopDomainSsl(true, true).__PS_BASE_URI__.'modules/'.$this->name.'/'
));
return $this->display(__FILE__, 'payment.tpl');
}
Добавить:
$products = $this->context->cart->getProducts();
if($products)
{
foreach ($products as $product) {
if ($product['is_virtual'])
{
return false;
}
}
}