News:

Looking for documentation? Take a look on our wiki

Main Menu

Flypage: disable modal pop out for [Ask A Question]

Started by baggiesmad, March 19, 2015, 12:55:14 PM

Previous topic - Next topic

baggiesmad

Hi

Is it possible to disable the modal pop out of the [ask a question] button and just display the contact form instead?

Studio 42

Hi,
All is possible, simple overide the file in your template and add the modification here.
You can copy/paste the code from ask a question if you need it so. This is not a problem(but not in the cart area of course).

baggiesmad

Quote from: Studio 42 on March 21, 2015, 01:01:03 AM
Hi,
All is possible, simple overide the file in your template and add the modification here.
You can copy/paste the code from ask a question if you need it so. This is not a problem(but not in the cart area of course).

Thanks for your reply. So what files do I need to edit?

jenkinhill

The file to override is components/com_virtuemart/views/productdetails/tmpl/default.php  - unless you already have overrides.
The code begins  // Ask a question about this product
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