Content of the page

$WOOCS->get_checkout_page_id()


Content of the article

This function will help you to define checkout page. Use it to define that current page is checkout.

global $WOOCS;
if(is_page($WOOCS->get_checkout_page_id())){
    //do smth here if current page is checkout page
}

Better use in your site header.php OR in wp_head hook callback

 

Faster WordPress Hosting