News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Remove ask a question about this product!

Started by Gumx, February 14, 2012, 17:56:14 PM

Previous topic - Next topic

Gumx

i've been trying this whole day now and i can't figure it out! how do i remove the "ask a question about this product" link/button or in my case the "stel een vraag over dit artikel" link/butten can someone please help me? i don't know if its relevent but i'm dutch and so i'm using a dutch translated version of vm

Edit: sorry for not mentioning it before... i'm using VM 2.0

[attachment cleanup by admin]

karuppiah

do u using virtuemart 1 version or virtuemart 2?
karuppiah

Gumx


jenkinhill

You can remove or comment out the relevant code in  joomla_root/components/com_virtuemart/views/productdetails/tmpl/default.php (it is annotated) and use template override - http://forum.virtuemart.net/index.php?topic=90935.0

Or in VM2.0.1H there is a switch for this in configuration.  See http://forum.virtuemart.net/index.php?topic=96945.0
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Gumx

Quote from: jenkinhill on February 15, 2012, 18:47:11 PM
Or in VM2.0.1H there is a switch for this in configuration.  See http://forum.virtuemart.net/index.php?topic=96945.0

Great this worked for me... its a bit english and dutch now but thats oke THANKS!

earthrat

#5
Quote from: jenkinhill on February 15, 2012, 18:47:11 PM
You can remove or comment out the relevant code in  joomla_root/components/com_virtuemart/views/productdetails/tmpl/default.php (it is annotated) and use template override - http://forum.virtuemart.net/index.php?topic=90935.0

Or in VM2.0.1H there is a switch for this in configuration.  See http://forum.virtuemart.net/index.php?topic=96945.0

I tried to remove the code but it did not work. I am using 2.0.2 but unchecking Show the Ask a question link does not work and it is still there.

earthrat

My fault, I disabled the Using the Product Scripts check and it killed this ability...

earthrat

Just updated to 2.0.4 running on Joomla 2.5.4 and the button is back and again I have to ask why there is a parameter to not show this button when it does not work? I have enabled the Script as was the issue last time but it still shows up regardless if "Show the Ask a question link" is checked or not in the Shop Front.