productPrice)) : ?>
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) { echo JText::_ ('COM_VIRTUEMART_PRODUCT_ASKPRICE'); } $oldPrice = false; $oldPriceProps = array('name' => '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") } }