Thu. May 15th, 2025

9. Magento. How to install sample static blocks manually

1 min read

In case you are installing the template over the live store or you just don’t want to install template sample data, you need to configure the static blocks manually.

  1. You should open a preview of the template in a browser. You can find a page “Template Settings” with template settings for static blocks configuration under Information block in footer area:
    magento_how_to_install_sample_static_blocks_manually
  2. The code for blocks is located in “sources/demo/static_blocks” folder of your template package.
  3. Log into your Magento admin panel and navigate to CMS -> Static blocks:magento_how_to_install_sample_static_blocks_manually_2
  4. Click ‘Add New Block‘ button in the top right corner:magento_how_to_install_sample_static_blocks_manually_3
  5. Open Template settings page on the template preview – and copy Block Title and Identifier from there to the corresponding fields of the static block.
  6. Open “sources/demo/static_blocks” folder and copy the code from the appropriate .phtml file and paste it into the ‘Content‘ field:magento_how_to_install_sample_static_blocks_manually_4
  7. Click Save block button:magento_how_to_install_sample_static_blocks_manually_5
  8. Add all static blocks listed on Template settings page the same way. Static blocks quantity and content depends on the templates and may vary.
May 2025
M T W T F S S
« Jun    
 1234
567891011
12131415161718
19202122232425
262728293031