Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1
    Join Date
    Jul 2006
    Posts
    89
    Plugin Contributions
    0

    Default How do I exclude some products from showing up in New Products listing?

    Hi! I am not sure whether this would work. Any ideas?

    I want to keep the 'new products for the current month' and 'Bestseller' showing on my website frontpage. But I want to exclude some items from showing up in these listings? How do I do that? The reason is that I have multiple gift certificates for sale, in different face values. But they are essentially the same thing. I don't want all of them to show up at the same time to bother customers. Any ideas? Thanks!

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: How do I exclude some products from showing up in New Products listing?

    You would need to change the products_date_added to older than the limit on your New Product definition in the Configuration ... Maximum Values ...
    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
    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!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  3. #3
    Join Date
    Jul 2006
    Posts
    89
    Plugin Contributions
    0

    Default Re: How do I exclude some products from showing up in New Products listing?

    Quote Originally Posted by Ajeh View Post
    You would need to change the products_date_added to older than the limit on your New Product definition in the Configuration ... Maximum Values ...
    That's a great idea! Thanks!

  4. #4
    Join Date
    Feb 2008
    Location
    Western Australia
    Posts
    192
    Plugin Contributions
    0

    Default Re: How do I exclude some products from showing up in New Products listing?

    I need to exclude a whole categorie from showing in the New Products on the front page. Is the above fix the only way I can do this as I have over 60 items I would need to change?

  5. #5
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: How do I exclude some products from showing up in New Products listing?

    IF the master_categories_id is the same on all 60 products, then you could do a global replace on the products_date_added to be older so that they are not included in the mix ...

    Otherwise, you would need to customize the code to ignore products where master_categories_id = 1313 or what have you ...
    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!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  6. #6
    Join Date
    Feb 2008
    Location
    Western Australia
    Posts
    192
    Plugin Contributions
    0

    Default Re: How do I exclude some products from showing up in New Products listing?

    Oh my. I am sorry Ajeh - but that does not make much sense to me. I have only been using Zen for a couple of months and have no prior experience with css and php.

    So how do I do a global replace? As all the items I want excluded from the front page New products for ** are all in the Adult Products categorie.

  7. #7
    Join Date
    Apr 2007
    Posts
    86
    Plugin Contributions
    0

    Default Re: How do I exclude some products from showing up in New Products listing?

    this is a great question

  8. #8
    Join Date
    Jun 2008
    Posts
    328
    Plugin Contributions
    0

    help question Re: How do I exclude some products from showing up in New Products listing?

    Quote Originally Posted by onelove5683 View Post
    this is a great question
    Indeed. I have the same exact problem now. I read Linda's tip and I was able to change the "Limit New Products Listing to" to 7, but for the life of me I can't find where that "products_date_added" parameter is.

    It's not the "Date Available" field in the product's main definition page, is it?

    I tried to see if changing it would do the trick, but it doesn't.

    I would appreciate any tip in this matter.

    Thanks,
    Daniel

  9. #9
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: How do I exclude some products from showing up in New Products listing?

    Quote Originally Posted by zcnb View Post
    Indeed. I have the same exact problem now. I read Linda's tip and I was able to change the "Limit New Products Listing to" to 7, but for the life of me I can't find where that "products_date_added" parameter is.
    It's a raw data field directly in the products table of your MySQL database ... a place one you probably don't want to go if you're not familiar with MySQL and databases.
    There is no admin-area facility for editing the products_date_added field, as it's not intended to be changed in normal circumstances.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  10. #10
    Join Date
    Jun 2008
    Posts
    328
    Plugin Contributions
    0

    Default Re: How do I exclude some products from showing up in New Products listing?

    Quote Originally Posted by DrByte View Post
    It's a raw data field directly in the products table of your MySQL database ... a place one you probably don't want to go if you're not familiar with MySQL and databases.
    There is no admin-area facility for editing the products_date_added field, as it's not intended to be changed in normal circumstances.
    Thank you for this information - it is a great time saver.

    I am familiar with databases and SQL (not so much in MySQL details but the principles are similar). However, I believe that in order to maintain future compatibility (e.g. in case of an upgrade), I should avoid any hacking not specifically intended by the developer(s) of a software product.

    I guess that my only recourse is to turn off the "New Products For This Month" box completely.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. How to exclude certain products listed in New Products?
    By tifischer in forum General Questions
    Replies: 1
    Last Post: 24 Mar 2014, 09:45 PM
  2. v139h Exclude a category from new products migration
    By shags38 in forum Templates, Stylesheets, Page Layout
    Replies: 16
    Last Post: 29 May 2012, 03:10 PM
  3. Can I exclude some products from the site search?
    By jen_ny in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 11 Oct 2010, 08:20 PM
  4. Can I exclude some products from the site search?
    By jen_ny in forum General Questions
    Replies: 2
    Last Post: 8 Oct 2010, 06:38 PM

Posting Permissions

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