How do I call static block with php in phtml file without defining it in xml, becuse the static block has different name for each product?
bumpadi bump bump
<?php echo $this->getLayout()->createBlock('cms/block')->setBlockId('your_block_id')->toHtml() ?>
Thank You very much! It works now :D
We'd like to hear from you! Call us, send us an email or talk to sales.
See Magento in the news, find press releases and resources for media.
Thank you for subscribingPlease check your email for a confirmation.