Author Topic: Flypage: disable modal pop out for [Ask A Question]  (Read 1597 times)

baggiesmad

  • Jr. Member
  • **
  • Posts: 308
Flypage: disable modal pop out for [Ask A Question]
« 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?

Studio 42

  • Contributing Developer
  • Sr. Member
  • *
  • Posts: 4437
  • Joomla & Virtuemart developper
    • Studio 42 - Virtuemart & Joomla extentions
  • VirtueMart Version: 2.6 & 3
Re: Flypage: disable modal pop out for [Ask A Question]
« Reply #1 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).

baggiesmad

  • Jr. Member
  • **
  • Posts: 308
Re: Flypage: disable modal pop out for [Ask A Question]
« Reply #2 on: March 22, 2015, 21:23:05 pm »
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

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 28120
  • Always on vacation
    • Jenkin Hill Internet
Re: Flypage: disable modal pop out for [Ask A Question]
« Reply #3 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
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

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

Currently using VirtueMart 3.8.9.10473 on Joomla 3.9.24 PHP 7.4.14