Hi, when I leave the price on a product empty I get a button 'call for price' which links to an ask a question form on a separate page. I want to link the button to my contact page instead. Can anyone help me with this please?
Greatly appreciate any help!
Thanks
I am woking in joomla 2.5.22 and virtuemart 2.6.6
http://forum.virtuemart.net/index.php?topic=79799.0 (http://forum.virtuemart.net/index.php?topic=79799.0)
I am woking in joomla 2.5.22 and virtuemart 2.6.6
Thanks
you need to add some logic in your default_addtocart.php over ride to show the link you want
around the if (!( VmConfig::get('askprice', 0) and empty($tmpPrice) ) ) { statement
Thanks for the reply... I have just tried your suggestion but I still can't get it to link. Please bear with me as I am a beginner, this is the link I have placed around the statement:
<a href="http://newsite2.g2fdev.com/index.php/contact-us2"><?php
} else {
$tmpPrice = (float) $this->product->prices['costPrice'];
if (!( VmConfig::get('askprice', 0) and empty($tmpPrice) ) ) {
?></a>
Is that right as it doesn't seem to work.
Thanks
Solved it! :D Had to link it from default_showprices.php.