JanKot Posted August 8, 2014 Share Posted August 8, 2014 Hello I need something like this: I have a trird party ERP system with products. Now i want to get products via Web Service meaning I want to replace every select from PRODUCT table with Web Service call. It seems that I only need to change the file product.php. Is it possible and reasonable? Let me clarify what I want to achive: table with products is empty and every time I need a product or list of product I call Web Service for exmaple: WSGetProduct('TEST_PRODUCT'). I know I can import product from csv file but it's not an option here. Any help will be appreciated. Link to comment Share on other sites More sharing options...
bellini13 Posted August 8, 2014 Share Posted August 8, 2014 There are too many places in Prestashop that have references to products for you to be able to manage this. You are far better off creating a process to retrieve the products from the remote service, and load them into your database, and then keep them in sync Link to comment Share on other sites More sharing options...
JanKot Posted August 8, 2014 Author Share Posted August 8, 2014 There are too many places in Prestashop that have references to products for you to be able to manage this. You are far better off creating a process to retrieve the products from the remote service, and load them into your database, and then keep them in sync I've thought about this but getting products was just an example. I'm far more interested in getting product's availability - in ERP system it changes all the time and I want it in real time. Link to comment Share on other sites More sharing options...
bellini13 Posted August 9, 2014 Share Posted August 9, 2014 so what are you asking then? Link to comment Share on other sites More sharing options...
JanKot Posted August 10, 2014 Author Share Posted August 10, 2014 so what are you asking then? Generally, about using Web Services. Link to comment Share on other sites More sharing options...
bellini13 Posted August 11, 2014 Share Posted August 11, 2014 yes, you can use web services to obtain information remotely 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