News:

Support the VirtueMart project and become a member

Main Menu

Custom Terms of Service link

Started by YodaStudio, October 04, 2017, 08:54:25 AM

Previous topic - Next topic

YodaStudio

Hello everybody.

I would like to change the "Terms of Service" link in the checkout page in order to use a custom page instead of the default one but I don't know how to do it.
Any help about it?

Thanks
-- Do. Or do not. There is no try. --

www.yodastudio.com

jenkinhill

Edit and override components/com_virtuemart/sublayouts/tos.php  - or if you are using a template which already has overrides then you may need to look for the file in templates/[your Joomla template]/html/com_virtuemart/sublayouts/

The line that links to the "normal" tos is:
<?php echo vmText::_ ('COM_VIRTUEMART_CART_TOS_READ_AND_ACCEPTED') ?>
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