View Single Post
  #11  
Old 07-11-2011, 06:56 PM
 
bugaminute bugaminute is offline
 

Senior Member
  
Join Date: Oct 2004
Posts: 126
 

Default Re: Terms & Conditions on checkout page

Thanks for posting that Todd!

I ended up using this code and it works as a popup in the same window. It goes in the same places Todd mentioned

I accept the (<a onclick="newwindow=window.open('/path to terms-conditions.html here','pop','width=820,height=870, resizable, scrollbars' );return false" href="#">Terms & Conditions</a>) &amp; (<a onclick="newwindow=window.open('/path to terms-conditions.html here privacy.htm here','pop','width=820,height=870, resizable, scrollbars' );return false" href="#">Privacy Statement</a>)

I use the absolute server path instead of the URL because it allows me to use the database on my development server. Once done I move to production and it still works.

Hope this helps someone
__________________
Xcart Version Gold 4.7.12
Prod Sys- Debian 9 Stretch
Prod Sys - Apache/2.4.25 (Debian)
CDSEO Pro- 2.2
Mysql Community Edition 5.7.32
PHP 7.3
Reply With Quote