Results 1 to 4 of 4
  1. #1
    Join Date
    Mar 2009
    Posts
    609
    Plugin Contributions
    0

    Default Make Code Change To New Products listing

    Can anyone help, I need to adjust the code for the new products page so it also reads the date modified field, this way if I increase a products stock it will show up in the new stock page.

  2. #2
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Make Code Change To New Products listing

    Date modified is not a reliable indicator of being back in stock, as it will be reset any time you touch a product.

    I modified a copy of the zen_get_new_date_range() function to also show products if the products_date_available field is current; then a test in the product icons function on this field will flag as "back in stock" for appropriate items in the new products or product listing.
    I still have some testing to do to make sure it all works together. Will let you know when it is ready.

  3. #3
    Join Date
    Mar 2009
    Posts
    609
    Plugin Contributions
    0

    Default Re: Make Code Change To New Products listing

    wow, your skills know no bounds!

  4. #4
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

 

 

Similar Threads

  1. Replies: 0
    Last Post: 5 Aug 2010, 07:19 AM
  2. How to Make Categories Listing Look Like New Products Listing?
    By bsteinagel in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 22 Sep 2008, 08:53 PM
  3. change products all listing to look like products new
    By edFollett in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 11 Aug 2008, 08:12 AM
  4. Replies: 2
    Last Post: 3 Jun 2008, 09:13 PM
  5. How to make category listing look like "New products" listing?
    By balt in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 30 Mar 2008, 03:29 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