How to call Magento block in phtml template?

后端 未结 5 1117
温柔的废话
温柔的废话 2021-02-04 12:58

i need to display some more links in footer. i created those links in magento admin as static blocks (id = sample_links ).

and then i added following code page.xml file<

5条回答
  •  梦如初夏
    2021-02-04 13:26

    The reference is the block previously defined that you want your block to be inside, e.g.:

    
      
        sample_links
      
    
    

    Then

    getChildHtml('sample_links') ?>
    

提交回复
热议问题