Home Forums WoodMart support forum Open Terms & Conditions page on new tab

Open Terms & Conditions page on new tab

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #413209

    d_ch
    Participant

    Hi,

    Is it possible on checkout page of WoodMart to open Terms & Conditions page on new tab and not via accordion function? As I have created the page with WP Bakery, it appears short codes from it and I would like to avoid it.

    Waiting for your further advice on this issue!

    Regards,
    Dimitris

    Attachments:
    You must be logged in to view attached files.
    #413213

    d_ch
    Participant

    Please also check below a screen-record with a test I’ve made with default Storefront theme:

    https://d.pr/i/um00DT

    As you will see, WooCommerce opens the “terms & conditions” page on new tab by default.

    #413257

    Luke Nielsen
    Keymaster

    Hello,

    I would like to request temporary admin access to the live site to take a better look at the issue there.

    I look forward to hearing from you.

    Kind Regards

    #413266

    d_ch
    Participant

    Hi,

    I send you the necessary details for further checking on the issue from your side.

    Waiting for your reply.

    #413396

    Luke Nielsen
    Keymaster

    Hello,

    Please add the text using the default WordPress editor and don’t use the WpBakery page builder elements. By default, WooCommerce doesn’t support shortcodes in terms and conditions, therefore we suggest you create a separate page for that and use only plain text there.

    Kind Regards

    #413415

    d_ch
    Participant

    Hi,

    Isn’t it possible finally to open the terms & conditions on new tab and not on the check-out page which is the default WooCommerce behaviour?

    #413739

    Luke Nielsen
    Keymaster

    Hello,

    Please add the below code to the fucntions.php file in your child theme and check the issue again. In general, this functionality is related only to WooCommerce.

    add_action( 'wp', function () {
    	remove_action( 'woocommerce_checkout_terms_and_conditions', 'wc_terms_and_conditions_page_content', 30 );
    });

    Kind Regards

Viewing 7 posts - 1 through 7 (of 7 total)