Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #846292

    Hi Guys

    On the checkout page of our site we have a strange block appearing on the bottom of the page. It also repeats itself. See screenshot

    View post on imgur.com

    We added it to another page but some how it has found its way onto our check out page.. How can this be removed? Or is this a theme bug?

    The text is “Have a minute?
    We’d love if you could leave us a quick Google review!
    Click here to leave a review”

    That needs to go

    #846686

    Hey codecreative,

    Please try this at the bottom of your functions.php file:

    add_filter('woocommerce_format_content', 'yanco_remove_inline_terms', 10, 2);
    function yanco_remove_inline_terms( $apply_filters, $raw_string ) {
    	if( is_checkout() ) {
    		return '';
    	}
    	return $apply_filters;
    }

    Best regards,
    Rikard

    #848289

    that has fixed it

    but can you explain what is going on here? What is the possible cons of adding this code and why was it needed in the first place?

    #849201

    Hi,

    Please refer to this post – https://kriesi.at/support/topic/woocommerce-terms-shown-twice/#post-816327

    Best regards,
    Yigit

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.