Hi,
I would like to replace the link of the button " ask for a question" with a url of product website ( in backend, there's ref,name, alias, and URL). With this, if price is not given, it's possible to go directly on the site dealer.
Could you please help ?
Thanks in advance,
SJ
http://forum.virtuemart.net/index.php?topic=108234.msg387280#msg386957
Thanks for reply.
I don't want to add extra field in ask a question. I would like to replace the link of button " ask a question" with existing field in virtuemart, the "URL" field in product details.
Then customer can have access to external page if there no price defined.
This should grab the product url:
<?php echo $this->product->product_url ?>
Edit the section beginning // Ask a question about this product in productdetails/tmpl/default.php and use the edited file as a template override.
QuoteI don't want to add extra field in ask a question. I would like to replace the link of button " ask a question" with existing field in virtuemart, the "URL" field in product details.
If you read the complete posts and not only the headline of the thread, then you will find the information how to change the link. The user asked also about the link and I've wrote him, he can do this also with a override.
Hi
thanks a lot,
I will try,
Again thanks for reply, it's cool,
SJ