title: Current page ID on WooCommerce page in WordPress
body: <p>I am using a WooCommerce plugin for WordPress. Now in a file page.php I am trying to get the current opened page id via <code>$post-&gt;ID</code> and <code>the_id()</code> but all I am getting is the product ID and not the current page ID. Probably because WooCommerce overwrites the loop ?</p>
  
  <p>What can I do ? </p>