Forums / General Questions / Product import automation

Product import automation

Locked

Views: 937

Results 1 to 1 of 1
This thread is locked. New replies are disabled.
15 Apr 2008, 8:36 PM
#1
fyzer avatar

fyzer

New Zenner

Join Date:
Apr 2008
Posts:
12
Plugin Contributions:
0

Product import automation

Hello,
I love zen cart, I've been using easy populate for a while.

Where would I go about getting the database updated automatically? What is the best practice? Is it best to do it from the command line and through sql? Or should it be done through zen cart somehow?
Is it best to write a php script and have a cron job that calls the php file every 6 hours?

Or is there some way to automatically run easy populate, or call it from a cron job?

My inventory changes daily, the distributor offers a "live" download of which ever products / columns I need based on a URL. I can get the product codes, prices and quantities and more in a csv or xml file.

I would like to automatically grab this file and insert it into the zen cart db.

Any tips on where to get started writing a script like this?