Hi Everyone,
To change the link for ask a question, you can do it in the template override for "/productdetails/default.php".
Find the following code block:
<?php
// Ask a question about this product
if (VmConfig::get('ask_question', 1) == '1') { ?>
<div class="ask-a-question">
<a class="ask-a-question" href="<?php echo $url ?>" ><?php echo JText::_('COM_VIRTUEMART_PRODUCT_ENQUIRY_LBL') ?></ a>
<!--<a class="ask-a-question modal" rel="{handler: 'iframe', size: {x: 700, y: 550}}" href="<?php echo $url ?>"><?php echo JText::_('COM_VIRTUEMART_PRODUCT_ENQUIRY_LBL') ?></ a>-->
</ div>
<?php } ?>
and change it accrodingly to what ever you want.
You need to remember to change the class name, as "class="ask-a-question"" is connected to a jQuery event set to trigger off a modal window, but only if you want it to NOT open a modal.
<?php if (VmConfig::get('ask_question', 1) == '1') { // Ask a question about this product ?>
<div class="ask-question">
<a class="ask-a-question-but" href="http://www.yourdomain.com/" target="_blank"><?php echo JText::_('COM_VIRTUEMART_PRODUCT_ENQUIRY_LBL') ?></a>
</div>
<?php } ?>
I hope this helps.