Export Product API - Via Custom PHP Script

Ladies & Gents,

I am developing a custom php application to compare two cs-cart databases and offer various merging capabilities.

I am almost done but the last part is envoking a export for specific products the the user might choose. I’d rather not write this from scratch as cs-cart already does this.

How would I access cs-carts internal functions to export a product to csv?

If someone can point me to where this functionality sits that would be great.



Look for: fn_export()

and \schemas\exim