Make terms of use open in new tab

Hi there

We are using your Pro extension Terms of use for our web shop - is it possible to make the link open in a new tab instead of expanding the terms on the same page?

Looking forward to hearing from you.

  • Carina

Hello Carina,

Thanks for writing in! Our Term of Use plugin once enabled will only display in the registration page.

To know more about our plugin, please check this out:

You might be referring to the Terms of Use of WooCommerce:

Hope this helps.

How can I add the Terms of Use Extension to BuddyPress Registration page?

Hi,

You can try third party plugins like the following.


https://premium.wpmudev.org/project/terms-of-service/

Thanks

Hello RueNel
I am sorry but you have completely misunderstood my question here, so lets start again :slight_smile:
I am indeed referring to WooCommerce, specifically to an extension called “Term of Use” its part of the package you guys (Themeco) delivers when you buy the website creator Pro.
We had it on and everything was working fine, fx. you want to buy a product from our website and the final step is to accept Terms of use, so we had a link to it: Like you can see on this picture:

And when you click on that link, it would redirect you to our Terms of Use page, which is here: https://redrive.dk/handelsbetingelser/
But after an update it stopped working, now when you click on the link it doesnt redirect you to another page, it just opens up, like this:

Hope you can help :slight_smile:

Hi there,

Please try to add this in the custom JS:

jQuery(function($){

	$( "a.woocommerce-terms-and-conditions-link" ).click(function( event ) {
	  event.stopPropagation();
	});

});

Hope this helps.

Hello
Thank you for the code but its not working, but I can give you access to the website as administrator and we can solve it somehow that way?

Hi There,

Please update the previous code to this:

jQuery(function($){

$( "a.woocommerce-terms-and-conditions-link" ).click(function( event ) {
	event.stopPropagation();
	window.location.href = "https://redrive.dk/handelsbetingelser/";
	return false;
});

});

Let us know how it goes!

Its not working :slight_smile:

Hi there,

Would you mind providing your admin details in a secure note so that we can test it on your setting?

Thank you.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.