@ -287,3 +287,11 @@ function remove_view_cart_button_js() {
}
function custom_remove_woocommerce_styles_on_checkout( $enqueue_styles ) {
if ( is_checkout() ) {
return []; // Удаляет все стандартные стили WooCommerce только на странице checkout
return $enqueue_styles;
add_filter( 'woocommerce_enqueue_styles', 'custom_remove_woocommerce_styles_on_checkout' );