Follow us on Twitter!Visit  us on YouTube!Join us on Facebook!
managed hosting1 (866) 289-5091
domain hosting Canadian owned and operated
Welcome to the myhosting.com Forums.
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    sailesh is offline Junior Member
    Join Date
    May 2009
    Posts
    2

    Default Display products on home + magento

    I am able to display the records on the home page based on the category wise

    but i want to display all the products from all the categories

    when i put this script
    {{block type="catalog/product_new" template="catalog/product/new.phtml"}}

    it displays only 5 products

    any help would be appreciated

  2. #2
    tima is offline Administrator
    Join Date
    Apr 2008
    Posts
    165

    Default Re: Display products on home + magento

    We have a few Magento experts on the forum. Does anyone have any suggestions?
    Tim Attwood
    Product Manager
    myhosting.com

  3. #3
    pipis is offline Junior Member
    Join Date
    Jun 2009
    Posts
    1

    Default

    Quote Originally Posted by sailesh View Post
    I am able to display the records on the home page based on the category wise

    but i want to display all the products from all the categories

    when i put this script
    {{block type="catalog/product_new" template="catalog/product/new.phtml"}}

    it displays only 5 products

    any help would be appreciated
    Code:
    {{block type="catalog/product_list" category_id="XX" template="catalog/product/list.phtml"}}
    {{block type="catalog/product_list" category_id="XX" template="catalog/product/list.phtml"}}
    {{block type="catalog/product_list" category_id="XX" template="catalog/product/list.phtml"}}
    {{block type="catalog/product_list" category_id="XX" template="catalog/product/list.phtml"}}
    {{block type="catalog/product_list" category_id="XX" template="catalog/product/list.phtml"}}
    try this code.do you want to see more products? add it . with root category or sub category id

  4. #4
    seraulu1 is offline Junior Member
    Join Date
    Mar 2010
    Posts
    1

    Default ''cutie28''

    That's good thanks for that!

  5. #5
    sobharanimuktha is offline Junior Member
    Join Date
    Mar 2011
    Posts
    5

    Default

    I have used your code like below in template home page

    {{block type="catalog/product_new" category_id="<?=$_main_category->getId()?>" name="home.catalog.product.new" alias="product_homepage" template="catalog/product/new.phtml"}}

    But it was displaying as it is in browser.

    Can you tell me what is the problem?

    Regards,
    Sobha Muktha


 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts