Last updated June 22, 2012. Created by s1l on April 16, 2012.
Log in to edit this page.
Basic installation guide
- Download the commerce_pdf_invoice module
- Download the Views PDF module with its required TCPDF and FPDI libraries.
- Enable the commerce_pdf_invoice module (listed as PDF Invoice on module listing page)
- Make sure you enable Views UI
- Go to
admin/structure/views/view/commerce_pdf_invoiceand configure the PDF invoice the way you want - Invoices can now be found at
commerce/invoice/% - NEEDS UPDATING -> INSECURE! Make sure you edit the View's Access options, or else all users can view ALL orders as PDF.
- Make sure your customer has the permission to 'View own orders of any type' at
admin/people/permissions
Instructions of how to do that can be found under 'installation' (steps 1-3) at http://drupal.org/node/1086584
(enter an existing invoice id instead of the %)
In the View under PDF settings at access click 'none' and check 'permission' and as permission select Order->View Own orders of any type
Comments
Don't see a thing
So I downloaded and installed modules.
Checked to find invoice at commerce/invoices.....and nothing, page not found...
What am I missing?
I can see my created View, in the View UI , but what now?
same here ... installed ..
same here ... installed .. checked the view ... checked the path and its says the page is not present
the PDF invoice URL
Did you enter an existing invoice id instead of the %?
I've updated the documentation to explain this.
Issues regarding this module can be found (and added to) the issue queue at:
http://drupal.org/project/issues/commerce_pdf_invoice