VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: treodude on January 11, 2015, 16:47:49 PM

Title: Call for Pricing Go to page instead of Popup
Post by: treodude on January 11, 2015, 16:47:49 PM
Hi VM Forum,

Using Joomla 3.3.6 and VM 3.0.2.

Title says it all, I would like the ´call for pricing´ not to popup in a fancy box, but instead open the Contact page on the same page.
I´ve come so far of opening the right page, but this happens in the popup box. How do I disable or change this popup box=
I had this feature in VM2, but at the moment I am totally lost in VM.

Kind regards,

Treodude
Title: Re: Call for Pricing Go to page instead of Popup
Post by: GJC Web Design on January 11, 2015, 16:56:26 PM
remove

if (VmConfig::get('ask_question', 0) == 1) {
         $askquestion_url = JRoute::_('index.php?option=com_virtuemart&view=productdetails&task=askquestion&virtuemart_product_id=' . $this->product->virtuemart_product_id . '&virtuemart_category_id=' . $this->product->virtuemart_category_id . '&tmpl=component', FALSE);
         ?>

if still there -

change the class

<a class="ask-a-questionxx" href="<?php echo $askquestion_url ?>" rel="nofollow" ><?php echo vmText::_('COM_VIRTUEMART_PRODUCT_ENQUIRY_LBL') ?></a>
Title: Re: Call for Pricing Go to page instead of Popup
Post by: treodude on January 11, 2015, 17:06:03 PM
Really helping me out today!

I had to change the class, your last option, I did lose the layout.

In which .css should I work in order to create a new layout for the class? (Called it ask-a-questionxx)
Title: Re: Call for Pricing Go to page instead of Popup
Post by: GJC Web Design on January 11, 2015, 17:17:57 PM
css works in any loaded file
Title: Re: Call for Pricing Go to page instead of Popup
Post by: treodude on January 11, 2015, 17:20:41 PM
I will give it a shot, thanks for the help