I have a problem with the woocommerce checkout page, page content “sales conditions” and the continuous button are duplicated.
I attach a screenshot.
I have disabled all plug-ins but the problem continues …
Theme is plugin up to date
I solved using this
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;
}
It is the only way ??
Hi paso70,
It is, so far. Seems to be working fine for you, is it not?
Best regards,
Victoria
It works now … but Automattic woocommerce’s assistance has responded so.
Hi there,
We’re glad to you found a solution. The duplicate content must be coming from or caused by your theme of perhaps a plugin. If you’d rather not use the filter you’ve noted, I would recommend tracking down the conflict by deactivating all plugins except WooCommerce and switching to default theme like Twenty Seventeen. From there, switch back to your regular theme and check your checkout page. If it looks good, begin activating plugins until the duplicate content returns. Once you find the conflict, you should contact the developer and let them know about the issue. They can fix it and send you an update.
Let us know if there’s anything else we can help with :)
Thanks,
Mike Moore
WooCommerce Happiness
Automattic