News:

Support the VirtueMart project and become a member

Main Menu

How to add url external link on name product in category?

Started by andrzejlv, December 08, 2013, 10:39:08 AM

Previous topic - Next topic

andrzejlv

<h2><?php echo JHTML::link ($product->link$product->product_name);?></h2>

GJC Web Design

depends what the lonk is

if it is always the same just hard code it in your template

<h2><a href="http://www.google.com" ><?php echo $product->product_name?></a></h2>

if it is always different can the product be used to vary it?

<h2><a href="http://www.my_link.com/blah/<?php echo $product->product_name?>.html" ><?php echo $product->product_name?></a></h2>

etc

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