News:

Support the VirtueMart project and become a member

Main Menu

Call for Pricing Go to page instead of Popup

Started by treodude, January 11, 2015, 16:47:49 PM

Previous topic - Next topic

treodude

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

GJC Web Design

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>
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

treodude

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)

GJC Web Design

GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

treodude