Welcome, Guest
Username: Password: Remember me
Use this Category for your support questions about Virtuemart Template - FlexibleMart (SKU# FLEX-00007)

TOPIC: Alter "Call for Pricing" link into text notice

Alter "Call for Pricing" link into text notice 2 years 11 months ago #14689

Hi all,

It has been a few months, but I am now attempting to find where to alter the function of "call for price" on zero-priced items.

Basically, I just want it to say "Call for Price" without linking to the contact form. Just pointing me to the correct folder and file would help tremendously. Thank you for any assistance you can provide, and have a great week!
The topic has been locked.

Alter "Call for Pricing" link into text notice 2 years 11 months ago #14699

Hi,

So do you want to change the link of the "Call for Price" link to a specific link? If so, then you can do this by editing the PHP file that controls the price-layout

open this PHP file:
/templates/YOUR_TEMPLATE/html/com_virturmeart/sublayouts/prices.php

find this line:
$askquestion_url = JRoute::_('index.php?option=com_virtuemart&view=productdetails&task=askquestion&virtuemart_product_id=' . $product->virtuemart_product_id . '&virtuemart_category_id=' . $product->virtuemart_category_id . '&tmpl=component', FALSE);

replace it wiht this (insert your own link in it):
$askquestion_url = "http://www.yourdomain.com/yourCustomLink";

then you will be good to go.

Regards.
Last Edit: 2 years 11 months ago by Support.
The topic has been locked.

Alter "Call for Pricing" link into text notice 2 years 11 months ago #14700

That is a huge help!

Now if there were a way to either focus on the module assigned to that page only, or do away with the i-frame, we'd be all set. Thank you so much!
The topic has been locked.

Alter "Call for Pricing" link into text notice 2 years 11 months ago #14701

Hi,

You can create a Joomla article and get its URL, then put the ?tmpl=component parameter at the end of the url, something like:

yourdomain.com/the_url_of_the_article?tmpl=component

then the page will contain only the "article content", without the surroundings (without the menu navigation on top, the sidebar or footer)

Regards.
The topic has been locked.

Alter "Call for Pricing" link into text notice 2 years 11 months ago #14704

Thank you so much for all your help!
The topic has been locked.

Alter "Call for Pricing" link into text notice 2 years 11 months ago #14707

Sure, glad i could help ;)

case solved, topic is closed.

Regards.
The topic has been locked.
Time to create page: 0.138 seconds

MaterialMart

for Virtuemart 3

Google's Material Design has finally arrived to Virtuemart

Virtumart Template - MaterialMart Virtumart Template - CleanMart Virtumart Template - CleanMart Virtumart Template - CleanMart

Fully responsive!

Buy Now   |   Live Demo