Magento Expert Forum - Improve your Magento experience

Results 1 to 4 of 4

how to remove products from home page in magento

  1. #1
    New member
    Join Date
    Feb 2016
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default how to remove products from home page in magento

    I have a category contains 9 products and I'm using this code inside the homepage cms
    {{block type="catalog/product_list" column_count="4" category_id="7" template="catalog/product/list.phtml"}}
    but that's displays all 9 products on the homepage and I want to display only 4 products, How can I choose what products to show in the homepage and what not?

    View more threads in the same category:


  2. #2
    Junior Member
    Join Date
    Jan 2016
    Location
    Miami, Florida
    Posts
    22
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default

    Ok so, you need put a code to this block {{block type="catalog/product_list" column_count="4" category_id="7" template="catalog/product/list.phtml"}} - count="4". So at the end it would be like this {{block type="catalog/product_list" column_count="4" count="4" category_id="7" template="catalog/product/list.phtml"}}. that's all

  3. The Following User Says Thank You to Roman_Y. For This Useful Post:

    kangbest114 (10-07-2017)

  4. #3
    Junior Member
    Join Date
    Sep 2016
    Posts
    109
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default

    Is their any other way to remove, as I want to remove all sub categories products ??


    Small Business for Sale

  5. #4
    Junior Member
    Join Date
    Apr 2017
    Posts
    133
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default

    Thanks for the code

Bookmarks

Posting Permissions

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