Javascript Menu by Deluxe-Menu.com
     
Shopping cart software · eCommerce Solutions · Software for online shops

Powered By: EPS-Cart
   
You are here: Support > Knowledgebase > Knowledge base for 1.3.5 > General questionsPlease Login or Register



Adding a page for 'Terms and Conditions'

To make "Terms and Conditions" a link:
  • If you have the One page checkout option enabled (click on the Settings link in the ADMINISTRATION side box on the right of your administrator panel and check the One page checkout checkbox at the bottom):
    1. Open the payment_methods.tpl file located in the skins/[CUSTOMER_ACTIVE_SKIN]/customer/cart_pages directory of your EPS-Cart installation, where [CUSTOMER_ACTIVE_SKIN] is an active skin of your storefront.
    2. Find the following part of code there:
      {if $settings.General.agree_terms_conditions == 'Y' && $settings.General.one_page_checkout == 'Y'}
         <div align="center"><input type="checkbox" id="id_accept_terms" name="accept_terms" value="Y" class="valign" /><label for="id_accept_terms" class="valign">&nbsp;{$lang.checkout_terms_n_conditions}</label><br />&nbsp;</div>
      {/if}
    3. Replace it with the following part of code:
      {if $settings.General.agree_terms_conditions == 'Y' && $settings.General.one_page_checkout == 'Y'}
         <div align="center"><input type="checkbox" id="id_accept_terms" name="accept_terms" value="Y" class="valign" /><label for="id_accept_terms" class="valign">&nbsp;By checking this checkbox, you accept the <a href="#" onclick="window.open('terms.html', 'terms', 'width=200px, height=300px, left=200,top=100,scrollbars=yes, resizable=yes');return false">Terms and Conditions</a></label><br />&nbsp;</div>
      {/if}

             4 Save the file.

  • If the One page checkout option is disabled:
    1. Open the profiles_info.tpl file located in the skins/[CUSTOMER_ACTIVE_SKIN]/customer/profiles_pages directory of your EPS-Cart installation, where [CUSTOMER_ACTIVE_SKIN] is an active skin of your storefront.
    2. Find the following part of code there:
      {if $settings.General.agree_terms_conditions == 'Y'}
              <div align="left"><input type="checkbox" id="id_accept_terms" name="accept_terms" value="Y" class="valign" /><label for="id_accept_terms" class="valign">&nbsp;{$lang.checkout_terms_n_conditions}</label><br />&nbsp;</div>
      {/if}
    3. Replace it with the following part of code:
      {if $settings.General.agree_terms_conditions == 'Y'}
              <div align="left"><input type="checkbox" id="id_accept_terms" name="accept_terms" value="Y" class="valign" /><label for="id_accept_terms" class="valign">&nbsp;By checking this checkbox, you accept the <a href="#" onclick="window.open('terms.html', 'terms', 'width=200px, height=300px, left=200,top=100,scrollbars=yes, resizable=yes');return false">Terms and Conditions</a></label><br />&nbsp;</div>
              {/if}
    4. Save the file.
To create a page for the "Terms and Conditions" link:

1. Create the terms.html file with the following content in the root directory of your EPS-Cart installation.

<html>
<head>
<title>Terms and conditions</title>
<meta http-equiv="content-type" content="text/html;">
</head>
<body>
<table cellpadding="5" cellspacing="0" border="0" width="100%">
<tr>
   <td align="center">

       TEXT

   </td>
</tr>
<tr>
   <td align="center">
       <a href="javascript: window.close();" class="underlined">Close</a></td>
</tr>
</table>
</body>
</html>

 where TEXT is your text for the Terms and conditions page.

2. Save the file.



Was this answer helpful?

Add to Favourites
Print this Article

Powered by WHMCompleteSolution

Copyright 2001-2008 © EPS-Cart: shopping cart software. All rights reserved.