Jump to content

How to use provided methods in my own script


shifty

Recommended Posts

Hello,

I would like to make a script, which will be launched every day by cron. This script should update information about availability of product according to XML feed. If new products were added into feed, it will add them.

So, I can make SQL which update/insert into all tables, but i dont want to do this using this way.

My question is, how can I use provided methods and classes from Prestashop in my own script ? What files should I include ? Or how can I add product using my own script ?

Please, give me advice. Thanks.

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...