Posts

Showing posts from September 9, 2009

Adding a single product to a static block or CMS page

I have been playing with this for my shop home page. The following works ok for me: in the CMS, modify the homepage, setting the content to: < div class= "product-info-box" > < div class= "product-essential" > {{block type = "catalog/product_view" product_id = "21" template = "catalog/product/home.phtml" }} < div class= "product-img-box" > {{block type = "catalog/product_view_media" product_id = "21" template = "catalog/product/view/home-media.phtml" }} div > < div class= "product-shop" > < h1 > Home Page h1 > < div class= "collateral-box" > < div class= "head" > < h4 > Work in Progress h4 > div > {{block type = "catalog/product_view" product_id = "21" template = "catalog/product/view/home-description.phtml"