Support » Plugin: WooCommerce » WooCommerce Check Out Page Terms & Conditions Link

Viewing 11 replies - 1 through 11 (of 11 total)
  • WooCommerce 2.x already has this “open in a tab” feature in the plugin templates, but maybe your template doesn’t? The link code is in the checkout/review-order.php template.

    Thanks! I’m having trouble following your instructions. I have WooCommerce version 2.0.5 – which a very recently downloaded (this month). Where do I find this “open in a tab” feature? Somewhere in settings? Do I search via editor?

    Your theme might have its own Woocommerce templates. If it does they’ll be in a subdirectory called “woocommerce”. Look in there for a checkout subdirectory. Then find the file I mentioned and edit it. There’s an “A” tag in it for terms and conditions. Add this:


    If your theme doesn’t have WooCommerce templates then you will have to copy them from the plugin directory. I can’t explain all of this step by step, and you do need to know a little HTML to get it done.

    Here’s a place to start:

    The code looks like this:

    <label for="terms" class="checkbox"><?php _e( 'I have read and accept the', 'woocommerce' ); ?>
     <a href="<?php echo esc_url( get_permalink(woocommerce_get_page_id('terms')) ); ?>" target="_blank">
    <?php _e( 'terms & conditions', 'woocommerce' ); ?>

    Hmm… At present I’m using the WP 2011 theme – I don’t see a woocommerce subdirectory. I go into the WooCommerce via edit and look in checkout subdirectoy and finding the code you’ve given me, I’ll try to edit it. Thanks again. I’m far from a programmer and don’t know HTML, but Ill give it a shot.

    copy wp-content/woocommerce/templates/checkout/review-order.php



    then edit the file, otherwise you’ll loose any edits you make to the plugin itself when you upgrade.

    I appreciate all your advice and patience. Copy “wp-content/woocommerce/templates/checkout/review-order.php” from where? Do you mean find this in some directory? I don’t see anything labeled this in either WP background editor or WooCommerce editor. Will just copying this label suffice?

    Copy it to where? Where is “wp-content/themes/twentyeleven/woocommerce/checkout/review-order.php” I don’t see anything labeled this in either WP background editor or WooCommerce editor.

    Thanks again.

    This the closest I can find to what you’re talking about: “woocommerce/classes/class-wc-checkout.php”

    I found it by going into edit mode for the WooCommerce plugin. Should I edit this?

    No – wrong file. And I gave the wrong path last time. Ooops. Here’s the correct path:


    copy to


    then edit.

    Rather than open in a tab it would be great to open T & C’s in a lightbox / popup. Once read the customer just needs to close the box

    Thank you for the help Team

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘WooCommerce Check Out Page Terms & Conditions Link’ is closed to new replies.