Magento: Display New Products from Specific Category On Home Page

August 31st, 2012 by laeeq | No comments

In my previous post, I have posted the code to add new products on your Magento home page or any page. Sometimes we have a requirement to display products category wise. Magento has built in functionality to display products from specific category. It is very simple , just set products “as new” in your catalog, only those products that belong to that category. And finally add below code in your CMS page:

{{block type="catalog/product_list" category_id="10" name="home.catalog.product.new"
alias="product_homepage" template="catalog/product/new.phtml"}}

Above code will display products that show up first in your category.

You can subscribe to PHPZAG.COM posts by Email

 

Related Topics:

  • Get an array of billing addresses and shipping addresses in Magento
  • Duplicate Data Issue with Custom Magento Collection
  • Tips To Improve Your Ecommerce Site’s Security
  • Dealing with Magento Model or Collections
  • Magento: Display New Products On Home Page
  • Magento: Display More Than 5 New Products
  • Override Controllers in Magento
  • Improve the performance of your Magento store
  • Magento Released Community Edition 1.7.0.1
  • Write custom title, keywords and description in Magento module
  • Moving Magento site from development to live server
  • Display Related products on product details page in Magento
  • Magento – Models, resource models, and collections
  • Magento – Add thumbnail images to Magento admin grid
  • Simple url rewrite in magento
  • Generate CSV file in Magento
  • Resize image in Magento using Varien_Image class
  • AJAX requests in Magento
  • Category Navigation Listings in Magento
  • Magento- Create a Drop-Down of Countries
  •  

     

    1. No comments yet.
    1. No trackbacks yet.