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

    Default Change to new products display page

    Would it be possible to have the page include products that have been updated recently, i.e. products that aren't new, but back in stock etc etc?

    Would it be as simple as having it display items that have been updated in the last 30 days?

    Or wouldn't that work as the date used to determine if it has been updated is also updated when a product is sold?

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

    Default Re: Change to new products display page

    You'd have to fudge the data directly in the database by manipulating the raw data for the products_date_added field of each record you want to say is suddenly "new" once again. If you're displaying that date on your product page, be aware that changing that value then becomes misleading.
    .

    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.

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

    Default Re: Change to new products display page

    Could it look at the date modified field?

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

    Default Re: Change to new products display page

    There are consequences to that. But, sure, you can hack the code to do whatever you like.
    .

    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.

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

    Default Re: Change to new products display page

    What actions adjust the date modified field?

    A product being sold and if i adjust the product in the admin?

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

    Default Re: Change to new products display page

    Off the top of my head, I don't recall exactly. You'd have to search the code for the field name, and figure out how it's being used in all such occurrences, and whether any of those is related to what you're trying to do.
    .

    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.

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

    Default Re: Change to new products display page

    It might be easier create a new database field that is updated only by me using the edit product page, and have the latest products list also poll that field to see if anything has been updated by me in the last x days...

 

 

Similar Threads

  1. v139h Main Page: "New" Products - turn off clickable link and DISPLAY new products
    By lissa in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 28 Sep 2014, 02:20 AM
  2. v139h Home page products display change to category
    By sharc316 in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 25 Feb 2013, 05:42 PM
  3. Replies: 2
    Last Post: 22 Feb 2010, 10:35 PM
  4. Change the Main Page, Products to Display
    By Ragenther in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 18 Dec 2008, 05:33 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