Contributions
catalog listing
The included files will produce a complete listing in html of your sites products - sorted by category and include the retail price. Great for a downloadable or hardcopy catalogue. 2 files are included - one produces a text report, the other includes pictures. I do not pretend to be even a programmer’s rear end but have found these programs very useful. Hopefully the open source community will help this utility evolve!
Expand All / Collapse All
This is just an update to my previous listing. Now it supports multiple languages and currencies, model, etc. Look in the code for more details
I've added currency support and automatic formatting of the currency. I also removed some hard coded stuff out of the file.
Changed version to 2.0 in order to improve update strategy :-)
I knew I'd forget something... Heheh. :-) Added a few things to the instructions. Here is the complete package. :-) Please disregard the previous version.
This is an upgrade to Paul Sanders' contribution, so that it better integrates into the osCommerce format. It also supports multiple languages. This is my first time submitting a contribution, I hope I didn't forget anything! Enjoy!
Cambié un poco estos códigos para que se adapte mejor a los que yo quería, quizás a alguien le sirva también.
Los cambios efectuados fueron los siguientes: Traduce los nombres de las categorías y productos, REALMENTE!
no se porque, pero a mi no me traducía nada, así que improvisé un poco para que sea REALMENTE español, achicar las fotos,
el formato del precio por ejemplo: u$s 1.506,99 ; y agregué unas variables para el tipo de moneda.
**AHHH!!, le saqué la descripción porque deformaba mucho las tablas y se me hacía muy larga la lista =P
si quieren de vuelta esa opción solo le agregan " products_description " en " sql= ", y despues en " print "
le agregan " <td>$description</td> " y LISTO!
This is a simple fix that I changed in the report-txt.php file on line 106. The recent (english version) posting that had the comma (,) and the period (.) swapped in the pice format.
All I did was change line 106 from this:
<? echo number_format ($price,2,',','.') ;?>
To This:
<? echo number_format ($price,2,'.',',') ;?>
This seems to work well for US Currency Format.
Just follow ths same instructions - drop the file into the Admin Folder and run from a web browser.
Remember that you can edit the file just like a .htm file to get it formatted to look the way you like ie. Overall this is an excellent contribution.
Traduccion al español de esta contribuccion
Esta contribuccion produce un listado completo de los productos con sus respectivas imagenes.
Muestra el modelo,la categoria,nombre del producto,imagen,descripcion y precio.
solo se puede ver desde admin.
Se le han añadido 2 botones al final,uno para regresar al catalodo de admin y otro para poder imprimir al listado si lo deseas.Tambien se ha añadido la para que aparezca la fecha.
facilmente modificable segun las necesidades del administrador del site.
Se ha traducido al español las instrucciones y añadido tambien como hacer un enlace en la seccion de administrador en la parte de Catalogo para ver el listado.
Traduccion al español de esta contribuccion
Esta contribuccion produce un listado completo de los productos por categorias en orden alfabetico y diferenciando cada categoria por fabricantes tambien en orden alfabetico, mostrando el nombre del producto, y el precio al publico.
Es perfecto para descargar o tener una copia del todo el listado de productos y precios actualizados.
Solo puede accederse desde la parte de administrador y no de visitantes.
La contribuccion es facilmente modificable segun las necesidades del administrador del site.
Se ha traducido al español las instrucciones y añadido tambien como hacer un enlace en la seccion de administrador en la parte de Catalogo para ver el listado.
Se ha añadido que aparezca la fecha del momento de ver el listado.
Changed Paul's contribution, so that it's easier to set up. Just upload file onto your admin folder and run.
Sorted by category, manufacturer and product name, but can easily be changed.
The included files will produce a complete listing in html of your sites products - sorted by category and include the retail price. Great for a downloadable or hardcopy catalogue. 2 files are included - one produces a text report, the other includes pictures. I do not pretend to be even a programmer’s rear end but have found these programs very useful. Hopefully the open source community will help this utility evolve!
Note: Contributions are used at own risk.