Saturday, December 21, 2013

How to edit terms of services in VirtueMart

This tutorial will show you how to edit Terms of services information in Virtuemart template on checkout page.


1. After you add your product to cart and go to checkout page, scroll to the bottom, you will see the following information.


How_to_edit_terms_of_services_Virtuemart_2_01


2. In order to edit “Terms of service” title and “Click here…” wordings, please, open the file language/en-GB/en-GB.com_virtuemart.ini and find the lines:


COM_VIRTUEMART_CART_TOS=”Terms of service”
COM_VIRTUEMART_CART_TOS_READ_AND_ACCEPTED=”Click here to read terms of service and check the box to accept them.”


Edit the wordings in quotes and save the file.


How_to_edit_terms_of_services_Virtuemart_2_02


3. Then, open the file administrator/components/com_virtuemart/models/updatesmigration.php and find the line:



$fields['vendor_terms_of_service'] = '<h5>You haven&#39;t configured any terms of service yet. Click <a href="'.JURI::base(true).'/index.php?option=com_virtuemart&view=user&task=editshop">here</a> to change this text.</h5>';

 



Edit the information between <h5></h5> tags


How_to_edit_terms_of_services_Virtuemart_2_03


4. Refresh your site and check the new updated information.


How_to_edit_terms_of_services_Virtuemart_2_04



How to edit terms of services in VirtueMart

No comments:

Post a Comment