Claim your offer and sign up today redirect to cart

0.0/5
<?php
add_action( 'wp_footer', 'homepage_claim_your_offer_redirect' );

function homepage_claim_your_offer_redirect() {
?>
<script>
	jQuery('a.product_type_subscription.add_to_cart_button.ajax_add_to_cart.elementor-button.elementor-size-lg').click(function()
	{
		setTimeout(function(){ window.location.href='/cart/'; }, 1000);       
});
	jQuery('.page-id-804 a.elementor-button-link.elementor-button.elementor-size-lg').click(function()
	{
		setTimeout(function(){ window.location.href='/cart/'; }, 1000);       
});
</script>

<?php } 

Comments and reviews

{{ reviewsTotal }} Review
{{ reviewsTotal }} Reviews
{{ options.labels.newReviewButton }}
{{ userData.canReview.message }}

Description

This snippet was fetched automatically from WPDistro.cz projects.

Author

Tags

This snippet is untagged