Community Add-Ons
Catalog products PDF reports
for osCommerce Online Merchant v2.2
PdfCatalogs generate PDF format catalogs of products for various Oscommerce languages. Tis script is designed to display your products with pictures, their full description and prices in a PDF format. Products are sorted by their categories.
This is a modified version of this contrib: Minor bug fixes to 2.05. I have MYSQL5 on a 1&1 shared server and this is what works for me. I hope you are able to get it to work on your server as well. This includes all files needed for this contrib.
PDF Catalog with different categories v.2.0.2 for MYSQL5
New Version files:
pdf_catalogue_info2.php and admin/pdf_catalogue.php
Sorry for losing two file in catelog.
Now It's a complete package!
Based on the PDF Catalog for osc 2.0.7 include Portuguese Language and update two files.
Fix 'FPDF error: GIF parser: unable to open file XXXX.gif'.
And now can run with PHP 5.
JUST change pdf_gif.php and pdf_fpdf.php.
This is a complete package!
Complete package of version 2.0.7 including Portuguese translations.
Pacote complete da versão 2.0.7 incluindo tradução para o portugues do Brasil.
By DiSy.com.br
Complete package of version 2.0.7 including Dutch translations.
Minor bug fixes to the following files from 2.0.5:
pdf_catalogue_info2.php
and
pdf_catalogue_info.php
Fix problem customer can not create categori catalog!
This is a complete package!
This is my first contribution. Just replace your old file with my file.
admin/pdf_gif.php
And don't forget to download the latest full package and update, before adding my file.
Note : This not a full package.
Thanks for the this great contribution.
This little extension makes the PDF Catalog supporting unicode.
It's really easy to install if you have a working PDF Catalog - Installation.
We use the FCKEditor mod.
Within <textarea>, Browsers auto render & display certain "HTML Entities" and "HTML Entity Codes" as characters:
< shows as < -- & shows as & -- etc.
Browsers also auto change any "HTML Entity Codes" entered in a <textarea> into the resultant display characters BEFORE UPLOADING. There's no way to change this, making it difficult to edit html in a <textarea>
So html_entity_decode has been added to the description lookup.
This is not the full package, just replace the single file.
2.06 is not working.
Minor bug fixes to the following files from 2.05:
- /admin/pdf_catalogue.php (changed $this->$parent_category_name to $this->parent_category_name)
- pdf_catalogue_info.php, pdf_download_katalog.php (changed the html tables to draw properly)
This is a complete package including the MySQL 5 Bug Fix.
Hi all...
After hours of debugging, i discover that the final package 2.0.2 with some fixes works great.
I solved some directions, because the script for DIR_FS ... were bad. The images, and catalogues folders are fixed and now it save the PDF and find the image locations for products. I solved some other problems...
Regards from spain.
Visit http://oscommerce.qadram.com/modules.php?name=Forums ----> for more info! (Spanish Community of oscommerce)
If you are using MySQL 5 you will require this very minor change.
This is my final contribution to this one.
What i modified from the last one is the fact that the user now has a choice, he can create one file for all the categories selected or can create one file for each category.
All the congratulations must go to the contributors before me, i just improved it.
Made some changes in the PDF class so that you don't get an error if the product has no image. Be carefull to have an alternative image and that the picture really exists. In the admin side, when you generate the catalog you'll get a list of the products which don't have a picture and the alternative used.
Removed the necesity to edit categories.php. Some english improvments. The user will get a download link for each category, and not one pdf file with all the categories.
Fix in catalog/pdf_catalogue_info2.php
new languages function
Feature:
Store owner create PDF catalog for store in admin
Customer create PDF catalog for different categories in catalog
Example see here: http://www.cooleshops.de/happy_hours/pdf_catalogue_info.php
Update of various files
Fix in pdf_catalogue_info2.php and languages files
Feature:
Store owner create PDF catalog for store in admin
Customer create PDF catalog for different categories in catalog
Example see here: http://www.cooleshops.de/happy_hours/pdf_catalogue_info.php
Update of various files
Minor bug fixes/enhancements to the following files:
- pdf_catalogue_info.php (Changed file size text from "Go" to "Gb", removed redundant variable TEXT_PDF_DESCRIPTION)
- /admin/pdf_fpdf.php (corrected typo in variable name DIR_S_CATALOG - change to DIR_FS_CATALOG in function _parsejpg)
- /admin/pdf_catalogue.php (removed hardcoded french "Model" text and replaced with variables PDF_TXT_MODEL and added PDF_TXT_CATALOGUE)
- /admin/includes/languages/english/pdf_catalogue.php (added variables PDF_TXT_MODEL and PDF_TXT_CATALOGUE)
This is NOT a complete package - just 4 files
To install just copy the files over the originals
english: Should be used into a Webshop different tax, then this update can take up it automatically to the pdf catalog also. Thanks on sea-shell for tap again.
....:::: german ::::......
Sollten in einen Webshop unterschiedliche Steuer verwendet werden, so kann dieses Update es automatisch in den pdf-Katalog mit aufnehmen. Danke nochmals an Seemuschel für den Tipp.
The current files look to: DIR_WS_IMAGES to populate the pdf with catalog images.
The file (/admin/pdf_catalogue.php) should point to: DIR_WS_CATALOG_IMAGES in order to help those of us running a watermark folder.
I've attached the file.
;)
Very Solid PHP!
great script,
-Martin
<a href="http://www.mysabs.com">(live store)</a>
Swedish langugage files
1.58 complete + last patch + french version.
Language supported now :
- English
- German
- Spain
- French
For items with incorrect image link this patch will insert a default image
Hello,
this package incl. the description from 1.58.
Include Language Files for English, Spain, German.
Is a full package
This update will create a link within the admin interface (below tools) to open up the latest created PDF Cataloge
Bug corrected: the intro was never shown.
The package contains only 1 file to replace.
Complete package, based on 8 May 2004 - PDF Catalog v.1.51
This package does not include the latter italian, spanish and german translations. Please note that one new language file is needed (see instructions within package).
This version offers a bunch of enhanced configuration options :
- Correct the bug regarding the links to products (Insomniac 21 Aug 2004)
- Add (optional) a products index o the latest pages
- Add an admin page to write the pdf introduction (easily reusable also as an intro in catalog/pdf_catalog_info.pdf
- Add (optional) an introduction on the first page
- Add the support of products without images (by the definition of a no-photo.gif)
- Allow Portrait or Landscape
- Allow to specify the catalog header date format
- Allow to swith on/off the listing of empties categories
- Allow to swith on/off the categories page separator
- Allow to swith on/off the categories tree on the first page
- Allow to swith on/off the products descriptions border
- Add an intermediary step in admin before generating the catalogs
TESTED on a fresh ms2.fr installation
Note: Just wanted to post that there is an error in the file /admin/pdf.catalogue.php
Open in editor. Scroll down to around line 351 and find
$link=HTTP_CATALOG_SERVER.DIR_WS_CATALOG."product_info.php?products_id=".$data_array[10]."&language=".$data_array[11];
Change the HTTP_CATALOG_SERVER.DIR_CATALOG to HTTP_CATALOG_SERVER.DIR_WS_CATALOG
This will fix that when you click on the products image link in the PDF file. It will open the correct product URL.
Note: unreal.zip is not a file. just used to post this message. I wish the forum would fix this small issue.
This is the "8 May 2004 - PDF Catalog v.1.51" version with the spanish version.
Esta es la version del " 8 May 2004 - PDF Catalog v.1.51" con los archivos para Español añadidos
Der PDF Katalog ist in dieser Version nur auf Deutsch erhältlich.
Ich habe einige Bugs aus der Vorgänger Version entfernt und dafür neue eingebaut! ;)
Features:
- User können PDF Katalog generieren.
- Kategorien Wahl, des zu erstellenden Katalogs
- Echtzeit Erstellung (Wartezeit, Rechnerleistung und Auslastung)
- Nur Deutsche Texte
Versionsname: v.1.6
>> Achtung ab Version 1.6
Da der Code des Vorgänger Scriptes sehr unübersichtlich und undurchschaubar
sowie nicht aus dem Adminmodul zu entfernen war, habe ich mit einigen tricks
gearbeitet um das generieren in den Userbereich zu legen! Es wir ein iFrame
angewendet die für den User nicht sichtbar ist!! Das generieren findet dort statt,
leider treten dort noch aber wie auch schon in der Vorgänger Version Fehler auf,
die allerdings nicht störend sind. Datei: pdf_catalogue.php
Ich hoffe es findet jemand diese Fehler und evt. Eine bessere Lösung für das Script!
Mit freundlichen Grüßen mitchobrian.de
I've included only this Italian translation file:
catalog/admin/includes/languages/italian/pdf_catalogue.php
catalog/includes/languages/italian/pdf_catalogue_info.php
Bugs fixed / Complete package
- Upgraded FPDF Class to FPDF v.1.52 released 2003-12-30,
- Added partial GIF support to the Contribution,
- Added background color to generated PDF files,
- Adapted the administration page to osCommerce template,
- Changed a bit the page displayed in the osCommerce catalog.
Check forum thread
http://forums.oscommerce.com/index.php?act=ST&f=7&t=90882
Bugs fixed.
HTML Links to your Oscommerce site products for each products on the PDF catalog.
Images resize to reduce the PDF catalogs sizes. (Take a lot CPU time)
Now you can show specials prices, show images or not. Various images size are allowed now if 'Small image width' & 'Small image height' are not used.
Bugs fixed.
Spanish translation added.
PdfCatalogs generate PDF format catalogs of products for various Oscommerce languages. Tis script is designed to display your products with pictures, their full description and prices in a PDF format. Products are sorted by their categories.
