Announcement Announcement Module
Collapse

myhosting.com Forum Guidelines

Welcome to the myhosting.com Forums! The purpose of this forum is to allow you to discuss topics relating to hosting and topics of interest with other myhosting.com Customers. The primary focus should relate to issues not generally included in our Wiki or Control Panel, or information not provided by our Customer Support Team. Some examples include programming and coding support, web site design ideas and SEO practices.

The forum is not meant as a replacement to our Wiki or Customer Support. We highly recommend searching our Wiki before posting on the forum. Also, if you have a question for our Customer Support team, please contact them as you would normally.

We ask that if you have any complaints or questions relating specifically to your account, that you address them to our Customer Support department. Do not post personal account information such as passwords or other sensitive and private information the forum, as this type of information is best kept secret. Also, please be respectful of other users and refrain from defamatory comments or use of coarse language.

We will visit the forum from time to time, and contribute to various topics. We reserve the right to delete any posts which are deemed offensive or against the spirit of the forum. Any spamming or illegal activity will not be tolerated. We also reserve the right to block any user who violates these guidelines.

To get started, we welcome you to sign up at our User Management site. Any account created there will have access to these forums, our Wiki, our Ideas site and commenting permission on our Status Blog.
See more
See less
Display products on home + magento Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
    Re: Display products on home + magento

    We have a few Magento experts on the forum. Does anyone have any suggestions?

    Comment


    • #3
      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

      Comment


      • #4
        ''cutie28''

        That's good thanks for that!

        Comment


        • #5
          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

          Comment

          Working...
          X