0

I used below code in local.xml to add the cms block at the end of the product content, but it will push the right sidebar down (2columns-right is the template)!

<catalog_product_view>            
        <reference name="content">
            <block type="cms/block" name="product-page-carousel" as="product-page-carousel" after="-">
                <action method="setBlockId"><block_id>product-page-carousel</block_id></action>
            </block>
        </reference>
</catalog_product_view>

1 Answer 1

1

Seems some CSS issue. I am not much aware about CSS thing but other way you can use below line in YOUR_THEME/template/catalog/product/view.phtml

echo $this->getLayout()->createBlock('cms/block')->setBlockId('product-page-carousel')->toHtml(); 

Just move this block call in different position & set where it looks good.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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