Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2012
    Posts
    30
    Plugin Contributions
    0

    Default [Not a bug] Adding date to invoice number not working

    I copy and pasted the following code to add the date to my invoice numbers I got from another post and tried to fix the errors as posted but it is still not working.

    <td class="main"><b><?php echo ENTRY_ORDER_ID . $oID . '-' . date(Y,strtotime($order->info['date_purchased'])) ; ?></b></td>

    Anyone see where I went wrong?

    I tried different variations. I also had YMD as I do want the day month and year.
    Thanks
    Jason
    Canada
    Last edited by racinjason; 17 Jan 2012 at 02:24 AM.

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

    Default Re: Adding date to invoice number not working

    This is not a Zen Cart bug.
    It's a problem with your own customizations.

    Please don't file Bug Reports that are not a problem in the Zen Cart core code.

    You've already started a discussion on the same matter here: http://www.zen-cart.com/forum/showth...71#post1095071
    Please continue your discussion there.
    .

    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: 2
    Last Post: 27 Aug 2013, 11:37 PM
  2. Replies: 5
    Last Post: 6 Sep 2011, 11:29 PM
  3. Getting Duplicate Invoice Number and Invoice not showing up
    By jennysack in forum General Questions
    Replies: 1
    Last Post: 19 Aug 2011, 02:53 PM
  4. Replies: 2
    Last Post: 24 Feb 2011, 04:54 PM
  5. Replies: 4
    Last Post: 28 Oct 2006, 12:05 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