Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
 All Forums
 Technical
 WordPress for Ecommerce Templates
 Checkbox at checkout for terms
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
ECT Moderator

USA
65936 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
ECT Moderator

USA
65936 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 »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.02 seconds. Snitz Forums 2000