Open Terms & Conditions page on new tab
-
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.
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.
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
Hi,
I send you the necessary details for further checking on the issue from your side.
Waiting for your reply.
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
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?
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