productPrice->show_prices == '1') {
if ($productItems->productPrice->prices['salesPrice']<=0 and VmConfig::get ('askprice', 1)
and $productItems->productPrice->imagesExists && !$productItems->productPrice->image->file_is_downloadable) {
$askquestion_url = JRoute::_('index.php?option=com_virtuemart&view=productdetails&task=askquestion&virtuemart_product_id=' .
$product->virtuemart_product_id . '&virtuemart_category_id=' . $product->virtuemart_category_id . '&tmpl=component', FALSE);?>
'basePrice', 'description' => 'COM_VIRTUEMART_PRODUCT_BASEPRICE', $productItems->productPrice->prices, true);
$regularPriceProps = array('name' => 'salesPrice', 'description' => 'COM_VIRTUEMART_PRODUCT_SALESPRICE', $productItems->productPrice->prices, true);
?>
@if(_positionPrice !== 'bottom') {
@if(showOldPrice) {
@include("oldPrice")
}
@include("regularPrice")
} else {
@include("regularPrice")
@if(showOldPrice) {
@include("oldPrice")
}
}