J 1.7.3 V 2.0.0RC3
When I leave a price empty, I'd like to show a link Call For Price. Or maybe I could write some text instead of putting numbers in Price.
I'm reading that this could be done in V 1.1
edit: this is some code from V 1.1 that I found in the forum, but I don't know if or how I can use it in V 2
// User is not allowed to see a price or there is no price
if( !$auth['show_prices'] || !isset($price_info["product_price_id"] )) {
$link = $sess->url( $_SERVER['PHP_SELF'].'?page=shop.ask&product_id='.$product_id.'&subject='. urlencode( $VM_LANG->_('PHPSHOP_PRODUCT_CALL').": $product_name") );
echo vmCommonHTML::hyperLink( $link, $VM_LANG->_('PHPSHOP_PRODUCT_CALL') );
}
?>
and this is the topic where it says how to modify it in the old VM
http://forum.virtuemart.net/index.php?topic=65510.0 - but I cannot find anything similar in the new VM
PS: Personally I'm interested in showing Call For Price in Category page