diff --git a/includes/wc-template-functions.php b/includes/wc-template-functions.php index b86e7f330db..d3106b5ba60 100644 --- a/includes/wc-template-functions.php +++ b/includes/wc-template-functions.php @@ -174,6 +174,10 @@ function wc_body_class( $classes ) { $classes[] = 'woocommerce-page'; } + if ( get_option( 'woocommerce_demo_store' ) != 'no' ) { + $classes[] = 'woocommerce-demo-store'; + } + return array_unique( $classes ); }