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
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
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
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?
Hi,
Please refer to this post – https://kriesi.at/support/topic/woocommerce-terms-shown-twice/#post-816327
Best regards,
Yigit