Give Your Customers a Chance to See Your Terms of Purchase Before Buying

Often times you may wonder if your customers have taken a look at your Terms and Conditions before they make a purchase.  There’s an easy way to make sure the know you have them before they purchase.  This can save you from needing to point them out afterwards to someone that is asking for something outside the scope of what you offer. 

This code snippet will place a note next to the ‘Place Order’ button, much like you can see on this site if you order one of our Jigoshop or WooCommerce extensions. You can place this code in your themes functions.php file.

For WooCommerce

add_action( 'woocommerce_review_order_before_submit', 'sod_terms' );
function sod_terms(){
	$link = '<a href="" target="_blank"><em>Terms and Conditions</em></a>';
	$msg = 'By placing your order, you are confirming that you agree with our ' . $link;
	echo $msg;

To accomplish the same thing in Jigoshop, swap out the code:

add_action( 'woocommerce_review_order_before_submit', 'sod_terms' );

for this one:

add_action( 'jigoshop_review_order_before_submit', 'sod_terms' );

Now, simply change the anchor, URL, and message in the variables $link and $msg (in the sod_terms() function) and you’ll be good to go!