News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Show URL field

Started by sofmax, January 15, 2017, 07:10:00 AM

Previous topic - Next topic

sofmax


Hi, how can I display the URL field in the storefront?



Thanks

jenkinhill

http://forum.virtuemart.net/index.php?topic=128401.0

Override components/com_virtuemart/views/productdetails/tmpl/default.php to include the following code wherever you want the url to appear.
<?php echo $this->product->product_url; ?>     
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

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

sofmax

Thanks Kelvyn ! I will try it.

I forgot the versions:

Joomla:  3.6.2
VirtueMart: VirtueMart 3.0.16
PHP: 5.5.35

Regards.

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