Magento Load Product By Id

To load product by id, use the load($id) function by providing product id as parameter following the Product Model Class Mage_Catalog_Product_Model. A single product with object array will be loaded. To retrieve data simply use   For Instance The output of above code will be : View Demo Product

Magento How to create Custom Admin User with limited permissions

There are the times when we need few admin roles bounded under specific permissions. So Today I am showing you how to create another admin with custom roles. To create Multi-role Admin, you need to login to your admin account and after that navigate to System > Permissions You will see sub-navigation with menu-items including …

Magento – How to display all products on the home page

To add all products at home page just go to your admin panel, navigate to CMS -> Manage Pages and then from pages click on your selected homepage ( as in my case it is home) and add the following code snippet into the WYSIWYG: {{block type=”catalog/product_list” name=”home.catalog.product.list” alias=”products_homepage” template=”catalog/product/list.phtml”}} Now go to categories and …