how to render block in custom page tpl.php in drupal 7

  • Posted on: 6 October 2017
  • By: jmu
<?php
    $block = module_invoke('commerce_popup_cart', 'block_view', 'commerce_popup_cart');
    print render($block['content']);
?>

 

A sample screenshot:

render block drupal 7

English