Contributions
Add a Printable Catalog
Displays products with pictures and their full description in a printable format.
Expand All / Collapse All
I have find out some post that give me some idea to fixed the duplicate catalog problem http://forums.oscommerce.com/index.php?showtopic=273051
Finally i just add some code into catalog/print_catalog.php
Please always backup your file first before change. Use this at your own risk.
Please use this Version, thanks!
The print-preview in Webschiff' version has a little problem, you can not see the complete content of the page, if you don's choose "landscape format" before print.
So, I have modify the two files of Webschiff, but not the install in ReadMe.htm.
1. /catalog/print_catalog.php
find <table class="products" width="775" align="center" border="0" cellspacing="1" cellpadding="1">
and chang to <table class="uebersicht">
2. /catalog/catalogstylesheet.css
add the following lines in it:
@page querformat { size:landscape; }
TABLE.uebersicht { page:querformat; border: 1px solid #eee; padding: 20px; }
after that, you can get a better print-preview.
The print-preview in Webschiff' version has a little problem, you can not see the complete content of the page, if you don's choose "landscape format" before print.
So, I have modify the two files of Webschiff, but not the install in ReadMe.htm.
1. /catalog/print_catalog.php
find <table class="products" width="775" align="center" border="0" cellspacing="1" cellpadding="1">
and chang to <table class="uebersicht">
2. /catalog/catalogstylesheet.css
add the following lines in it:
@page querformat { size:landscape; }
div.uebersicht { page:querformat; border: 1px solid #eee; padding: 20px; }
after that, you can get a better print-preview.
I made some fixes in modules/print_catalog.php
It's a Fullpackage
------------------------------------------------
deutsch: Habe einige Änderungen in der modules/print_catalog.php angepasst. Nun sollte es kein Problem mehr bei der Anzeige von Bildern haben.... Auf keinen Fall etwas an den Dateien in diesem Archiv ändern (KEINE Pfadanpassung!!!)
Hier sind alle Dateien enthalten!!!
I replace the url zu your image-folder by oscommerce format. I hope it help anyone.
:Deutsch
Ich habe die Url an das Format von oscommerce angepasst, also keine Linkänderung mehr nötig. Ich hoffe, es hilft jemand...
Webschiff
Hi,
I was using the Catalog Print successful for 2 months when I discovered a little problem:
when there are products in the main catalog (parent_ID = 0) the product is printed twice !!
I solved this problem simply adding the statement DISTINCT in the file catalog_print.php at line 49 after SELECT:
" ... select distinct p.products_id, ... "
Now it is ok.... what do you think? I am a newbe so any comment is welcome!
Good luck,
Goran
Displays products with pictures and their full description in a printable format.
German file added in this file.
New Readme.txt with notification for changing image path
Best regards and thanx for all other contris
MK
This Addon is the German translation of the language file print_catalog.php.
Best
regards,
EXOKOI
All required files.
Fully updated and working.
Please view readme.htm for changes and installation instructions.
Updated For You Guys With Errors, Just replace exisiting files with these, the header and footer are now in the print_catalog.php instead of separate files, so you will need to edit that file to update them
Ask And You Shall Recieve :) updated to work with oscMS2 without errors, for all who wonder it was problems with the split page results that were causing the errors. anyway if you have this installed just overwrite the current files, the header and footer files are now integrated so no need for those extra files.
Downloaded this contribution, just to find one SQL error after another.
Went to the forum for possible support - seems everyone are having the same exact problem, yet no support.
Please continue to contribute, and should someone have a need to get a hold of you as a developer, list an email address, or start a forum for your contribution, and support your contribution.
This version fixes the typo in the name of the stylesheet and a bug in the page links.
Print_Catalog v1.1 is designed to display your products with pictures
and their full description in a printable format. Products are sorted
by their categories and the results are then split into printable
pages. You have the ability to control how many products are on
each page with a definition change in languages/english/print_catalog.php.
The Print_Catalog also has it's own stylesheet so that you can simply
and easily customize the colors and layout separately from
the rest of your web site.
The printable catalog opens in a new window. Catalog is printed
using your browser's print function.
Print_Catalog was inspired by several other contributions to
the osCommerce package. It is based on the Featured_Products mod.
*********************************
This mod is designed to work with the Pre-November 1st release version 2.2.
(it has not been tested in post 11/2002 but, it should integrate with no problems)
*********************************
Print_Catalog v1.0 is designed to display your products with pictures and their full description in a printable format. Products are sorted by their categories and the results are then split into printable pages. You have the ability to control how many products are on each page with a definition change in languages/english/print_catalog.php. The Print_Catalog also has it's own stylesheet so that you can simply the layout and customize the colors separately from the rest of your web site. The printable catalog opens in a new window.
Print_Catalog was inspired by several other contributions to the osCommerce package. It is based on the Featured_Products mod.
**************************************
This mod is designed to work with the Pre-November 1st release version 2.2. (it has not been tested in post 11/2002 but, it should integrate with no problems)
**************************************
Note: Contributions are used at own risk.