Are there any Reasons to Use wc_body_class() ?

(array) wc_body_class( $classes )
$classes
(array) Pass any custom classes here if you want, example:

$woo_classes = wc_body_class( array( 'misha_1', 'misha_2' ) );
Condition Classes
Checkout page
is_checkout()
woocommerce-checkout
woocommerce-page
Cart page
is_cart()
woocommerce-cart
woocommerce-account
My Account page
is_account_page()
woocommerce-cart
woocommerce-page
My Account page
is_store_notice_showing()
woocommerce-demo-store
Condition Classes
Misha Rudrastyh

Misha Rudrastyh

I develop websites since 2008, so it is total of 13 years of experience, oh my gosh. Most of all I love love love to create websites with WordPress and Gutenberg, some ideas and thoughts I share throughout my blog.

Need some developer help? Contact me