How to add static block in sidebar: Product Page
<referenceContainer name="sidebar.additional"> <block class="Smartwave\Porto\Block\Template" name="product_view_custom_block" before="-" template="Magento_Catalog::product/view/custom_block.phtml"/> </referenceContainer>