title: Prestashop 1.7: Getting the Shop Group ID from the context?
body: <p><code>\Context::getContext()-&gt;shop-&gt;id</code> allows us to get the Shop ID from the context.</p>
  
  <p>I've looking for <code>\Context::getContext()-&gt;shop-&gt;group_id</code> or <code>\Context::getContext()-&gt;group_shop-&gt;id</code> in the class and in Google, but didn't find anything pertinent.</p>
  
  <p>How can I get the Shop Group ID from the context?</p>