Results 1 to 7 of 7

PDF Invoice Question

This is a discussion on PDF Invoice Question within the Store Administration forums, part of the osCmax V2.5 Forums category; Hello Everyone, OK, I've tried googling, forum search, etc., but I can't figure out how to use/setup the PDF Invoice ...

      
  1. #1
    Member
    Join Date
    Jul 2011
    Posts
    50
    Rep Power
    2


    Default PDF Invoice Question

    Hello Everyone,

    OK, I've tried googling, forum search, etc., but I can't figure out how to use/setup the PDF Invoice option. When I view an order, I see four buttons (invoice, packing slip and pdf invoice, pdf packing slip). When I click on the invoice/packing slip it's generates an accurate invoice/packing slip. When I click on pdf invoice/packing slip I get the attached batch_orders.pdf page(s). I'm sure I need to set something up, but I can't figure out where to start. Any help would be appreciated. I've included links to a screen shot and the generated pdf so you can see what I'm taking about.

    http://dev.garyrozanc.com/images/pdfinvoice.jpg
    http://dev.garyrozanc.com/images/batch_orders.pdf

    Regards,
    Gary

  2. #2
    osCMax Development Team
    pgmarshall's Avatar
    Join Date
    Feb 2009
    Location
    London
    Posts
    3,143
    Rep Power
    55


    Default Re: PDF Invoice Question

    PDF invoice should just open a nice PDF of the same things as the plain one ... Ave you changed any of the bulk process document names?

    Regards,
    pgmarshall
    _______________________________

  3. #3
    Member
    Join Date
    Jul 2011
    Posts
    50
    Rep Power
    2


    Default Re: PDF Invoice Question

    Hello Again,

    I haven't changed any of the bulk process document names. To be honest, I don't even know what or where they are.

    Also, on the fresh install that I PM'd you the info on, the pdf invoice isn't working either. I didn't change anything, mess with any setting, etc. I just added two products and left it at that. Is there something that needs to be installed on the server to generate the pdf? Maybe that's what's missing.

  4. #4
    osCMax Development Team
    pgmarshall's Avatar
    Join Date
    Feb 2009
    Location
    London
    Posts
    3,143
    Rep Power
    55


    Default Re: PDF Invoice Question

    I can see the issue you mention although I have no idea how you managed this! The orders works fine on my store so can you just double check that you have the following files on your system - admin/includes/modules/batch_print/templates/Invoice_s3.php - this is the PDF generator when you click the Invoice button.

    Try re-uploading the entire batch_print/templates/ folder.

    Also please check that the temp_pdf folder has write permissions (0755)

    Regards,
    pgmarshall
    _______________________________

  5. #5
    Member
    Join Date
    Jul 2011
    Posts
    50
    Rep Power
    2


    Default Re: PDF Invoice Question

    Hello PG,

    Thanks for all your help, but I didn't do anything to cause this! The install I gave you access to is a fresh install with no settings change other than changing the "admin" folder. Anyway, I downloaded v2.5.2 again, re-uploaded the batch_print/templates/ folder and I made sure the temp_pdf folder was 755, I even tried 777 just to be certain. None of this worked.

    Do you have any other suggestions? Since I'm trying the on a fresh install I'm really confused why this works for some people and not for me.

    Regards,
    Gary

  6. #6
    osCMax Development Team
    pgmarshall's Avatar
    Join Date
    Feb 2009
    Location
    London
    Posts
    3,143
    Rep Power
    55


    Default Re: PDF Invoice Question

    The file you are seeing is the one that comes in the download file. This is why I think it is a permissions issue - when you are running your PDF it is not overwriting the file and hence when it opens it is showing the dummy one loaded from the zip file. (See aabox.com in the customers email address).

    Check your permissions again ... or delete batch_orders.pdf from temp_pdf ... also check your .htaccess to make sure you haven't blocked anything.

    Regards.
    pgmarshall
    _______________________________

  7. #7
    Member
    Join Date
    Jul 2011
    Posts
    50
    Rep Power
    2


    Default Re: PDF Invoice Question

    Great call! It was a permissions issue. I changed the batch_orders.pdf to 777 and it started working.

Similar Threads

  1. PDF Invoice
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 01-10-2012, 08:05 AM
  2. PDF Invoice
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 12-30-2011, 05:56 PM
  3. Invoice / Packing Slip Question
    By mcclaura79 in forum osCmax v2 Customization/Mods
    Replies: 8
    Last Post: 08-20-2010, 05:13 PM
  4. PDF Invoice
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 11-23-2009, 12:00 PM
  5. PDF Invoice
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 10-31-2009, 07:50 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
  •