Community Add-Ons
Fancier Invoice & Packingslip v1.0
for osCommerce Online Merchant v2.2
This will replace your current boring invoice and packing slip with a much nicer, cleaner and
fancier invoice and packing slip. I added a box around certain sections with a drop shadow.
Also, I added a few other goodies as well as the order number to both.
Support can be found at http://forums.oscommerce.com/index.php?showtopic=132562
The invioce was just crashing on me on the catalog side.
If you're getting an error like
Fatal error: Using $this when not in object context in
You need to change these
$this->cc_card_number_less_middle_digits;
to
$order->cc_card_number_less_middle_digits
Included are files to change in root.
Fixed working with some payment modules
Fixed:
- Made $order function correctly (now displays shipment method (incl cost), subtotal, tax and total).
- Fixed working with some payment modules (ex: ideal lite)
Fixed:
- Images in html mail
- Order id + shop name in mail description
- Translation (included is Dutch)
- Code cleanup
- Change ship & send address so it will work with most envelopes
- admin image display
- Some language usage
Includes
- Printer fix
- Thinner borders
When you print the invoice , the border have some issue.
Now replace the attached file on admin will fix this issue.
Just a zip file containing alternate images for the borders.
As the title suggests, they are just thinner! :)
Es el mismo que el de ajuarist, hay problemas con el enlace de descarga.
Parece que hay problemas con el anterior link de descarga por lo que subo el mismo ZIP
Saludos!!!
Se ha traducido la contribución y las instrucciones de instalación al Español.
No obstante, se han modificado algunas cosas de la instalación como suprimir el fichero de configuración local e incluir las rutas en los configures principales del admin y de catalog.
Se recomienda que para la instalación utiliceis un programa de comparación y modificación, no reemplazando directamente los ficheros existentes en vuestra instalación. En el pack hay ficheros que no están completos y sólo traen las sentencias a añadir a vuestros ficheros, por ejemplo, filenames.php
Cualquier problema que tengais con la traducción, intentaré solucionarla en los foros de la página oficial de soporte en Español http://oscommerce.qadram.com/index.php
USE THIS :)
Fixed some bugs_ Full Pack.
Cylopes.
Fixed some bugs_ Full Pack.
Cylopes.
I have corrected the languages files, so they are now working. Swedish language support and an addon for swedish invoices. The customer can now see how many days (of your choise) before payment due and special footer for VAT number and banking numbers.
Forgot to say that danish is included now.
Made some changes for this great contrib.
-just follw the install instructions and add the line in filenames.php to your own filenames.php
Missing images in email, when in other than catalog-folder.
Fancier Invoice & Packingslip v6.1
Full Package
Updates:
- Fixed incorrect 2nd SQL import command
- Fixed print_my_invoice.php, No more SQL errors when you print invoices in customer's My Account
Remember, this will not work with ANY PayPal IPN Contributions so you must choose one or the other when adding them into your osC store.
Fancier Invoice & Packingslip v6.0b
Install File ONLY
There was a missing data in the SQL installation intructions. This is an updated install file with the completed SQL data to be imported into your database.
Fancier Invoice & Packingslip v6.0a
Full Package Release
Updates:
- Added in the correct language define for print_my_invoice.php
- Removed a section of coding from the Backorders MOD
Fancier Invoice & Packingslip v6.0
Full Release...
Updates:
- Completed the new look for the customer's printed invoice in My Account - Thanks to Paul (MrRim)
- Added more CSS code
- Made some minor changes to admin/invoice.php
- Removed the current year language defines, now prints on the fly
- Updated the installation file
Fancier Invoice & Packingslip v5.6
Full Release...
Updates:
- Added a new HTML invoice template (box_invoice.php)
- Removed the stylesheet files and included the CSS code in the invoices themselves
- Updated the installation file
- Added a FAQ section to the installation file
New E-mailed HTML Invoice Template...
Upload this to your catalog/includes/modules/email_invoice/templates folder
Then under Admin / Config / E-mail Options, change the template file name to box_invopice.php
Fancier Invoice & Packingslip v5.5
Full Release...
Updates:
May 11, 2005
v5.5 by PopTheTop
- Updated a few minor things here and there
- Fixed non-displaying border images in e-mailed invoice around the comments box
Fancier Invoice & Packingslip v5.4
Full Release...
May 09, 2005
v5.4 by PopTheTop
- Updated Step #2, the wording was throwing people off so I updated it - Thanks to John Anderson (Applegeek)
- Removed <?php require(DIR_WS_INCLUDES . 'application_bottom.php'); ?> from template files
- If you modified your checkout_success.php file from an earlier version of this contribution, then open it back up.
DELETE $cart->reset(true); if you have this line in this file! It should be towards the top, just above where the HTML coding begins.
Fancier Invoice & Packingslip v5.3
Full release...
This is the same as below but the one below was missing a language file - catalog/admin/includes/language/english/email_invoice.php
This package includes that missing language file.
Fancier Invoice & Packingslip v5.3
Full release...
May 09, 2005
v5.3 by PopTheTop
- Fixed a small bug causing an error
- Updated a few files for more cleaner HTML e-mailed invoice image requests
Fancier Invoice & Packingslip v5.2
Full release...
May 08, 2005
v5.2 by PopTheTop
- Fixed a small bug causing an error if customer has order comments during checkout
- Fixed shopping cart not resetting after the email is sent
- Fixed a typo in one of the language define calls
Fancier Invoice & Packingslip v5.1
Full Release...
May 07, 2005
v5.1 by PopTheTop
Updated:
- Updated other installation steps to be more clear to others
- Fixed a small error in the SQL instructions, there was a missing semi-colon - Thanks to Lane Roathe (Lane)!
- Fixed shopping cart not resetting after the email is sent - Thanks to Federico R. (saborchulo)!
- HTML invoices sent by e-mail are now a multi-part e-mail in both stock osC plain text and HTML, just in case the customer doesn't support HTML e-mails. If the customer doesn't support HTML e-mails, the stock osC invoice will show. If the customer does support HTML e-mails, the new HTML invoice will show. - Thanks to Federico R. (saborchulo)!
This is just an update to the install file. There is an error in the v5,0 install file in the SQL instructions.
Very simple, the first SQL line is missing an ending semicolon, just add it to the end of the 1st line or use the following instead when installing v5.0
INSERT INTO `configuration` ( `configuration_id` , `configuration_title` , `configuration_key` , `configuration_value` , `configuration_description` , `configuration_group_id` , `sort_order` , `last_modified` , `date_added` , `use_function` , `set_function` ) VALUES ('', 'Send HTML or Text Invoices to Customers', 'EMAIL_INVOICE', 'true', 'If this is enabled, order invoices will be sent to the customer in HTML format.<br><br>Enabled = true<br>Disabled = false<br><br>To use this, you must have HTML E-mails enabled.<br><br>', '12', '0', NULL , NOW( ) , '', '');
INSERT INTO `configuration` ( `configuration_id` , `configuration_title` , `configuration_key` , `configuration_value` , `configuration_description` , `configuration_group_id` , `sort_order` , `last_modified` , `date_added` , `use_function` , `set_function` ) VALUES ('', 'Default E-Mailed HTML Invoice Template', 'EMAIL_TEMPLATE_FILE', 'invoice.php', 'File name of the template file you will be using when the store e-mails HTML invoices to your customers<br><br>"invoice.php" for the stock osC look<br><br>"html_invoice.php" for the HTML version<br><br>', 12, 0, NULL, NOW(), '', '');
*** The attached file is only the updated install file.
New version 5.0 just uploaded...
Full release with screenshots
This will replace your current boring invoice and packing slip with a much nicer, cleaner and fancier invoice and packing slip. I added a box around certain sections with a drop shadow. Also, I added a few other goodies as well as the order number to both.
On the catalog side, when a customer visits "My Account", then clicks to view an order in their order history, they will now see a much nice layout of the order details along with the order status history at the bottom AND have the option to print an invoice for that order. When they click on the Print Invoice button, it will send the invoice directly to their default printer automatically. This new invoice and order details page has the same nice layout as the invoices have on the Admin side.
Admin has the option to show or hide the order comments when printing the order invoices. Just click on the store's logo to show or hide the order comments on demand.
A new facier invoice is e-mailed to both the Admin and the customer in a real nice HTML format (you must have Send MIME HTML E-mails enabled). Admin can turn this on or off through Admin / Configuration / E-mail Options. You may have multiple e-mail HTML invoice templates. Just save your template file in the templates folder and choose which template you want to use through Admin / Configuration / E-mail Options. Included are 2 invoice templates, the osC stock look and our fancier HTML invoice, much like the new Admin invoices.
What's New:
- Added a new facier HTML invoice that is e-mailed to both the Admin and the customer - Thanks to Federico R. (saborchulo)
Fancier Invoice & Packingslip v4.0
New Version - Full Release - Screenshots Included
What's New:
April 29, 2005 - v4.0 by PopTheTop
- Added credit card # to the printable Admin Invoices as 1234xxxxxxxx1234 - Thanks to KimHuff for the idea
- Added credit card # to the printable Customer Invoices as 1234xxxxxxxx1234 - Thanks to KimHuff for the idea
- Added credit card # to the customer Order Details as 1234xxxxxxxx1234 - Thanks to KimHuff for the idea
- Added FULL credit card # to the Admin Order Details as 1234123412341234 [optional]
- Added FULL credit card # to the Admin Extra Order Info e-mail as 1234123412341234 [optional]
- Added the ability to show/hide order comments in Admin Invoice for printing - Thanks to Maddie (MzBeanz) for the idea
Fancier Invoice & Packingslip v3.3
FULL Release with screen shots
Added new code to catalog/stylesheet.css
Forgot to add this into the installation file.
Fancier Invoice & Packingslip v3.2
Full v3.2 release with screen shots
Added 2 missing files:
- catalog/includes/print_my_invoice_header.php
- catalog/includes/print_my_invoice_footer.php
Fancier Invoice & Packingslip v3.1
FULL RELEASE - Screen shots included!
Update:
April 26, 2005 - v3.1 by PopTheTop
- invoice.php - "Thank you for shopping" text is hardcoded and not using the language variable - fixed - thanks to Greg (Phocea)
- packing_slip.php - "SKU #" text is hardcoded and not using the language variable - fixed - thanks to Greg (Phocea)
Just replace your invoice.php and packingslip.php files or compare the included files with your and added the new language variables in them.
Fancier Invoice & Packing Slip v3.0
This will replace your current boring invoice and packing slip with a much nicer, cleaner and fancier invoice and packing slip. I added a box around certain sections with a drop shadow. Also, I added a few other goodies as well as the order number to both.
On the catalog side, when a customer visits "My Account", then clicks to view an order in their order history, they will now see a much nice layout of the order details along with the order status history at the bottom AND have the option to print an invoice for that order. When they click on the Print Invoice button, it will send the invoice directly to their default printer automatically. This new invoice and order details age has the same basic layout as the invoices have on the Admin side.
Support can be found at: http://forums.oscommerce.com/index.php?showtopic=132562
History
April 25, 2005 - v3.0 by PopTheTop
- Fixed a small bug in the install file - thanks to Lane Roathe (Lane)!
- Fixed a small bug in the order totals display - thanks to V. Gibson (Twizted)!
- Updated the install file to a much nicer HTML format
- Replaced the stock, boring Order Details page in customer's My Account
- Added a new Print Invoice option to the customer's Order Details page
- Moved all the packing slip text into its own language file
- Language files have been updated
- Now, the only modifications you should have to do will be found in the 2 language files
March 12, 2005 - v2.0 by PopTheTop
- Added code so that if there are no comments, it will state so
- Moved all the invoice text into its own language file
- Fixed a small bug for displaying the order comments in the invoices
March 1, 2005 - v1.2 by PopTheTop
- Updated the invoice to include the order comments with the comment entry date
January 25, 2005 - v1.1 by PopTheTop
- Updated the HTML tables to show stock product price info, including tax
January 25, 2005 - v1.0 by PopTheTop
- Original contribution release
Future Additions
- I have not completed the new look for the customer's printed invoice yet. But everything else should be done.
- You may still install the optional steps below. But when a customer prints their invoice, it will print in the stock osC format until I get it finished.
This will replace your current boring invoice and packing slip with a much nicer, cleaner and
fancier invoice and packing slip.
v2.0
1) Added nice boxes around various sections with drop shadows
2) Added the order number
3) Added the current print date AND the order date
4) Added a new box at the bottom of the invoice to display all the order comments by date and the date they were added, thanks to wheeloftime
5) Now has its own language file and all text has been moved into it for better personalization
This will replace your current boring invoice and packing slip with a much nicer, cleaner and
fancier invoice and packing slip. I added a box around certain sections with a drop shadow.
Also, I added a few other goodies as well as the order number to both.
This update is only an update to the original v1.1 below from PopTheTop. Order Comments have been added and the date that the order comments were submitted on.
Support can be found at http://forums.oscommerce.com/index.php?showtopic=132562
v1.1 Multilanguage
I had the need to make this very nice contribution language independant so I
changed it accordingly.
- Invoice and Packing Slip made multilangual
- Moved all related pictures to the Admin section which seemed more logic
- Two minor other modifications to the code:
1) Date appearance changed
2) Extra table column for displaying the Payment method (when that name was longer it didn't look so nice)
- Updated the installation instructions to reflect the changes
I just remembered that I removed some info that I did not want in the stock invoice.php file. This is the full contribution with that missing code installed back into invoice.php
The missing code was this...
In the original product list, it showed the price and price with tax added. I removed them on my site. This update added that info back in.
This will replace your current boring invoice and packing slip with a much nicer, cleaner and
fancier invoice and packing slip. I added a box around certain sections with a drop shadow.
Also, I added a few other goodies as well as the order number to both.
Support can be found at http://forums.oscommerce.com/index.php?showtopic=132562
