Jabouty Posted March 8, 2012 Share Posted March 8, 2012 One of my suppliers gives a daily updated XML of their available inventory (including new and discontinued products), and I'm trying to conform this XML into a PHP cron job that can run daily about an hour after they do their daily updates. That said, is there a proper method within Prestashop's backend that I can look at to do the import and ensure that everything is attached to the product as it should be (Updates, new adds, deletes, images, and what not). I looked at the database and code last night and couldn't really make out the schema very well in that what I thought was tied together ended up not being so, and something else being tied together and in the process managed to break the DB, requiring a restore from backup. So if there is a block of code that I am blind and missing that I could look at, or if someone has a snippet that I can bastardize for my use to properly import using PHP / Presta as the backend I would be greatly appreciative. Thank you in advance for any help that can be given! Bubba Link to comment Share on other sites More sharing options...
phrasespot Posted March 10, 2012 Share Posted March 10, 2012 Check out the WebServiceXXX classes in /classes directory, also the doumentation. Link to comment Share on other sites More sharing options...
Jabouty Posted March 12, 2012 Author Share Posted March 12, 2012 Awesome sir! Thank you kindly for this, you just saved me months of product updates (literally, am working with over 8,000 products here) for a few hours of work! -Jab Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now