Hello,
When there is no price on a Virtuemart's product, the button 'Add to cart' is still displayed below.
Is this a bug? Do you have a solution for this button to disappear?
Best regards.
if ($product->prices['salesPrice']<=0 and VmConfig::get ('askprice', 1) and isset($product->images[0]) and !$product->images[0]->file_is_downloadable) return;
defined('_JEXEC') or die('Restricted access');
$product = $viewData['product'];