Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 2006
    Posts
    37
    Plugin Contributions
    0

    Default is Available Date automatically deleted or reset?

    Hi,

    For my new products module/page, I have edited the code to select and sort by Available Date instead of Date Added. (this is because i add presell products months ahead of release dates to sell them, but I only want live products to show up in the new products section). This works fine, but I've noticed that the Available Date seems to be reset or deleted sometime after the product goes live? Can someone tell me if and when and where it happens? and can i disable it safely?

    One other change i've made is to the admin/includes/modules/update_product.php page. When updating a product, the available date is set to null if it's previous to today's date...i removed that so if i'm updating a product that has just become available recently, the available date is still set.

    i've tried to do a search on the forums, but the term "available" is blocked and so i apologize in advance if this question is already answered, but I can't find it in the forums!

    thanks!

  2. #2
    Join Date
    Aug 2006
    Posts
    37
    Plugin Contributions
    0

    Default Re: is Available Date automatically deleted or reset?

    Hi,

    I have found the code that resets the Available Date. Posting here in case anyone else is doing the same thing I am.

    In admin/products_expected, right at the top, there is code that runs an update to set products_date_available = NULL for products older than today.

    I've commented it out and it has fixed my problem.

 

 

Similar Threads

  1. v1.2.x Question about automatically encrypt virtual products available?
    By natas12 in forum General Questions
    Replies: 2
    Last Post: 29 Dec 2012, 03:41 PM
  2. Pressed Reset category master ID, now my products are deleted, not showing... DISAST
    By Argyle in forum Setting Up Categories, Products, Attributes
    Replies: 13
    Last Post: 2 Jan 2012, 05:58 AM
  3. Replies: 3
    Last Post: 30 Sep 2010, 11:23 PM
  4. Deleted order - audit trail available?
    By johnnieboyp in forum Managing Customers and Orders
    Replies: 3
    Last Post: 7 Oct 2008, 12:56 AM

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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR