Author |
Topic  |
|
kierantravel
Advanced Member
United Kingdom
110 Posts Pre-sales questions only (More Details...)
|
Posted - 11/02/2017 : 13:49:35
|
I want the customer to TICK my my Terms and Conditions prior to checkout. They should be able to click the link and read them if required
I have static T&Cs page already
|
|
Sinbad
Administrator
65857 Posts |
Posted - 11/02/2017 : 14:25:27
|
Hi Kierantravel, you will need to add the following to the vsadmin/includes for WP it would be $GLOBALS['termsandconditions']=TRUE; and make sure your page is named as mentioned below.
If you need to make your customers agree to your terms and conditions on checkout, set $termsandconditions=TRUE; You will also need to create a page with your terms and conditions called termsandconditions.php ... which will be shown in a 420 x 380 popup.
Winners never quit, quitters never win CSS and Responsive Designs User Manual for Ecommerce Templates |
 |
|
kierantravel
Advanced Member
United Kingdom
110 Posts Pre-sales questions only (More Details...)
|
Posted - 11/02/2017 : 14:33:34
|
termsandconditions.php
Shall I just make a copy of the Thanks page and rename it termsandconditions.php
Then the terms page I created in wp I ensure the permalink is 'termsandconditions.php'
so my includes entry looks like this:
$GLOBALS['termsandconditions']=TRUE; $termsandconditions=TRUE;
Is this right Marlene?
Thx Pete |
Edited by - kierantravel on 11/02/2017 14:37:19 |
 |
|
kierantravel
Advanced Member
United Kingdom
110 Posts Pre-sales questions only (More Details...)
|
Posted - 11/02/2017 : 14:45:58
|
I copied and renamed the thanks.php page. My termsandconditions.php page now looks like this, I dont think its right. While I can see the checkbox on checkout when I click the T&C link I get an error
<?php $GLOBALS['ectcartpage']='thanks'; require('./wp-ect-header.php'); get_header(); ?> ,
<div class="midWrapper"> <div class="container"> <div class="row clearfix"> <div class="col-9 mid_<?php echo CONTAINER_POS?>"> <?php include "vsadmin/inc/incthanks.php";?> </div> <?php get_sidebar(); ?> </div> </div> </div> <?php get_footer(); ?> |
 |
|
Sinbad
Administrator
65857 Posts |
Posted - 11/02/2017 : 17:05:52
|
Hi you can use a plain editor like notepad to create the page and upload it to the server it does not need to be created in WP. You should only have
$GLOBALS['termsandconditions']=TRUE; in the includes and not $termsandconditions=TRUE;
Winners never quit, quitters never win CSS and Responsive Designs User Manual for Ecommerce Templates |
 |
|
|
Topic  |
|