In this article we will try to remove shipping pane on the checkout page via rules when non-shippabe product is added to the cart. To do so, initially we need to install and enable commerce_rules_extra module and make sure you have also enabled commerce_physical module. You need to enable this module before importing below rule.
In Drupal, there several ways to display static message on the pages i,e via blocks and placing into specific region or via code; adding dsm on hook_init() etc. In this article we will try to display static message on all the pages via rules.