Results 1 to 4 of 4
  1. #1
    Join Date
    May 2012
    Posts
    137
    Plugin Contributions
    0

    Default Make specific categories not appear on main page?

    Is there a way to make it so that specific categories do no appear on my homepage? I currently have 1 product and I want to add a new one. But I do not want the new product to appear on the homepage.

    Thanks
    Corey
    http://www.toolsforchrist.com

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    67,550
    Plugin Contributions
    6

    Default Re: How to make specific categories not appear on main page

    You could set the field:
    products_date_added

    in the table:
    products

    to be older than the dates you have set to be considered New Products in the Configuration ... Maxium Values for:
    New Product Listing - Limited to ...
    Limit the New Product Listing to
    0= All Products
    1= Current Month
    7= 7 Days
    14= 14 Days
    30= 30 Days
    60= 60 Days
    90= 90 Days
    120= 120 Days
    This could be done either via phpMyAdmin or via your Zen Cart Admin in the Tools ... Install SQL Patches ... with the SQL statement such as:
    Code:
    UPDATE products SET products_date_added = '2012-10-01 00:00:00' WHERE master_categories_id = XX;
    where XX is the master_categories_id of the Products that you do not want to show and the date for the products_date_added is in the format of:
    YYYY-MM-DD HH:MM:SS

    that would be older than your setting on what is a New Product ...

    Or, if you do want the real products_date_added to be maintained on each Product but block these Products from displaying, you could customize the code for the SQL statements to ignore Products from that categories_id based on the master_categories_id ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.3]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...

  3. #3
    Join Date
    May 2012
    Posts
    137
    Plugin Contributions
    0

    Default Re: How to make specific categories not appear on main page

    Maybe I can accomplish this differently if I tell you what I am doing. I am trying to have a place to buy gift certificates. I would like to just have an EZ page created that links directly to the page that you can buy them. Rather than having a category displayed. Is there something that can be done for this?

    Thanks for the response.

  4. #4
    Join Date
    May 2012
    Posts
    137
    Plugin Contributions
    0

    Default Re: How to make specific categories not appear on main page

    I figured something out. I was able to do this in the admin setting by turning off the category but still having the products turned on. I didnt know this could be done. So now this category does not have a page, but I can still link to the product page.

 

 

Similar Threads

  1. Category: Show on Main Page - Possible to use specific categories?
    By Treasuresbycaz in forum Setting Up Categories, Products, Attributes
    Replies: 4
    Last Post: 6 Feb 2010, 01:54 AM
  2. Help! product on main page not appear!
    By DArnaez in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 16 Jul 2009, 05:14 AM
  3. How do I make my logo only appear on the main page
    By CafePrima in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 27 Oct 2007, 07:00 PM
  4. How to make price appear on categories page
    By hodgejr in forum General Questions
    Replies: 1
    Last Post: 7 Oct 2007, 10:21 PM
  5. How do I make categories on main page appear horizontally with images?
    By aaelghat in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 21 Mar 2007, 10:20 PM

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
  •