Jump to content

How Import API on Prestashop


Recommended Posts

Hi ! 😄

I'm a beginner in development and not good at speaking english but I'll try.
I don't know how, but in my webside on prestashop, I want the prices of my products to vary according to the prices of the products in an API of another website.
How can I do this?

Do you have an idea how it's possible? if yes, don't hesitate to asnwer me.

If you don't understand what I'm saying, you can tell me, and I can try to reformulate my question.

Link to comment
Share on other sites

Hi,

Basically you should make regular requests to that API, and update the prices of the products on your site. It would be best for you to do this in the form of a module. You need a front-end controller, for which you will set a cron job, which will call that controller at the time interval for which you want the price update to take place.

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...