Results 1 to 4 of 4
  1. #1
    Join Date
    Jan 2010
    Location
    Richmond, Virginia, United States
    Posts
    114
    Plugin Contributions
    0

    Default Product Date Available changes to null when editing a product already available

    Hi,

    I can't find the answer to this anywhere in the forums, and I don't know if it's because there isn't one or because I don't know how to phrase the question.

    I run an e-book storefront. If I try to edit a product that's already available, the "Date Available" or products_date_available field reverts to NULL even if I enter in the release date (in the past). This means if I update all my current releases, there is nothing listed on my New Products page.

    To fix this, I've had to go into the database itself and re-enter in all the release dates for the products I've edited.

    Is there some way to do this in Zen-Cart and not have to actually go into the MySql database to make this change? Is it a glitch with the program? I don't know.

    If you have any suggestions, I'd appreciate it. Thanks!

  2. #2
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Product Date Available changes to null when editing a product already available

    products_date_available is used for not-yet-in-stock handling, and that information is used to populate the "Upcoming Products" centerbox.

    The products_date_added is the date on which the product was added to your store, and is the date that's shown to customers at the bottom of your product page (if you've got that display enabled).
    .

    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
    Jan 2010
    Location
    Richmond, Virginia, United States
    Posts
    114
    Plugin Contributions
    0

    Default Re: Product Date Available changes to null when editing a product already available

    Well, the products display in my New Products module in the order in which they were released, not in the order in which I added them to the site. However, if I edit them AFTER they're released, they disappear from the New Products module. Logging into MySql shows the product expected date field has been reset to null.

    Basically I'm wondering if there's a way to avoid this so they will still show in the New Products field after I edit them once they're put on sale. It's a pain to go into MySql and edit every single release for the past month or so just because I had to change something on the product's page.

  4. #4
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Product Date Available changes to null when editing a product already available

    But ... the New Products module works on date-added, not date-available.

    Did you change how the new-products module works for some reason?
    .

    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.

 

 

Similar Threads

  1. Date Available Product
    By IRTech in forum Customization from the Admin
    Replies: 2
    Last Post: 31 Aug 2011, 10:01 PM
  2. Product date available is today, shows as expected product
    By Jeffey in forum Setting Up Categories, Products, Attributes
    Replies: 9
    Last Post: 17 Mar 2007, 05:04 AM
  3. Product - show date available
    By icemanchai in forum Setting Up Categories, Products, Attributes
    Replies: 6
    Last Post: 23 Aug 2006, 10:49 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