Contributions

Features (Category Index)
Search: 

Orders Downloader

This contribution allows you to download your orders into a CSV format. It's based off of EasyPopulate and uses EasyPopulate functions. I've included a copy of easypopulate_functions.php in the zip.

This is a rough version - many things are hard-coded that really should be database driven. There are also some fields in the database that the script will look for that are not present in stock osCommerce - I think the only one is a cvv field. You'll need some knowledge of php if you need to modify it.

Install is simple - just upload the files to your admin directory.

Expand All / Collapse All

Bug Fix if you have Register Globals 23 Oct 2006

if you installed "Register Globals" contribution it wont work properly. You wont be able to download anything. Also dont forget to fix your easypopulate.php file as well.


Hopefully this will fix that problem.

////Find:


require('includes/application_top.php');
require('includes/database_tables.php');

///Add :

// >>> BEGIN REGISTER_GLOBALS
link_get_variable('download');
link_get_variable('dltype');
link_get_variable('split');

link_post_variable('MAX_FILE_SIZE');
link_post_variable('buttoninsert');
link_post_variable('buttonsplit');
link_post_variable('localfile');

// WARNING: I'm not sure about this line - maybe this is why 'Upload EP File' doesn't work
link_post_variable('usrfl');
// <<< END REGISTER_GLOABLS

Trimmed Orders_download.php Stot 27 Apr 2004
Automatic CSV Areation Stot 27 Apr 2004
Orders Downloader Chris Dunning 26 Apr 2004

Note: Contributions are used at own risk.