Remove Ask a Question

Ecommerce design Joomla template to start your online business with VirtueMart and additional eshop features.
GK User
Sat Mar 17, 2012 9:09 pm
Not sure if anyone here can help or not? I am still getting to grips with this new views thing in VM and not sure how to do some things. I have the product view and there is this annoying button that when disabled in the VM admin is a waste of time since it does not do what it appears to do.

The Ask a Question about This Product button on the product page needs to go and I though that this would be handled in the template override for it but even after I remove the code it is still there. Is there something new with Joomal 2.5 that will grab the view from both the component and the override?

I may be looking for this in the wrong view? I think it is in the html/com_virtuemart/productdetails/default.php file. Is that correct or should I be looking somewhere else?
User avatar
Expert Boarder

GK User
Sun Mar 18, 2012 1:35 am
Hi

I don't recommend that you change anything on vm files.
If VM doesn't have this option on back end, you can easily add this line on override.css file:

Code: Select all
.gkDetails .ask-a-question {display: none}


Don't forget to enable override.css on template parameters.

BTW your change on core vm file doesn't make any difference because yourShop template uses VM html files.

Cheers ;)
User avatar
Platinum Boarder

GK User
Sun Mar 18, 2012 1:56 am
Thanks Seichinha,

This was my lack of understanding and for anyone that is reading this for a solution you have to enable "Using the product Scripts" check box in the template (Activate CSS Styles & Javascripts) otherwise nothing works on the cart. Very redundant check box if you ask me since it being disabled you may as well use K2 instead of a shopping cart...;)

I really like what they have done with VM and the views though. This is going to make developing template integrations a snap! No more messing with templates in VM... WhooHooo!
User avatar
Expert Boarder


cron