Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 2007
    Posts
    31
    Plugin Contributions
    0

    Default [Not a bug] Date Available Changed During Product Copy

    I have been using the copy function to copy products within a category, because I have many (64) products that are very similar, but I need unique item numbers (attributes won't work in this case).

    I have been leaving the 'Date Available' field empty, but when I use the copy function, the copied items have the 'Date Available' field set to "0001-01-01". I can then clear the field and save the product, and the field will then remain blank, even through multiple edits and upgrades.

    While I'm not sure that this would rise to the level of a bug, the field is perfectly happy being blank unless I am using the copy function. I am running version 1.3.7.

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

    Default Re: Date Available Changed During Product Copy

    This is not a bug. It is by design.

    Zen Cart normally uses 0001-01-01 as a "blank" date because some database engines don't like to use blanks for date fields ... because "nothing" is not formatted as "xxxx-xx-xx" etc.

    Zen Cart operates fine with the date available as 0001-01-01.
    .

    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. Replies: 3
    Last Post: 26 Nov 2011, 04:47 AM
  2. Date Available Product
    By IRTech in forum Customization from the Admin
    Replies: 2
    Last Post: 31 Aug 2011, 10:01 PM
  3. Replies: 3
    Last Post: 30 Sep 2010, 11:23 PM
  4. Not displaying product until available date
    By mimran in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 1 May 2008, 06:31 AM

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