1

I have created the static block in cms/static blocks

Then added the following code to catalog/product/view.phtml

<?php echo $this->getLayout()->createBlock(‘cms/block’)->setBlockId(‘your_block_identifier’)->toHtml() ?>

also enabled Allow Symlinks in system > configuration > Developer > Template Settings

Is there any suggestions?

  • Please check store setting for this status block – Amit Bera Mar 30 '16 at 9:42
3

change ` with '

<?php echo $this->getLayout()->createBlock('cms/block')->setBlockId('your_block_identifier')->toHtml() ?>

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.