VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: baggiesmad on March 19, 2015, 12:55:14 PM

Title: Flypage: disable modal pop out for [Ask A Question]
Post by: baggiesmad on March 19, 2015, 12:55:14 PM
Hi

Is it possible to disable the modal pop out of the [ask a question] button and just display the contact form instead?
Title: Re: Flypage: disable modal pop out for [Ask A Question]
Post by: 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).
Title: Re: Flypage: disable modal pop out for [Ask A Question]
Post by: baggiesmad on March 22, 2015, 21:23:05 PM
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?
Title: Re: Flypage: disable modal pop out for [Ask A Question]
Post by: jenkinhill on March 22, 2015, 23:38:50 PM
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