Jump to content

How to import images from XML?


Recommended Posts

Hello, we are implementing a script which should read products from XML and insert into Prestashop database.

We have inserted all information about product except images.

From XML we can read direct URL to image, but we do not know how exactly it should be inserted (which php scripts) should be invoked in order to insert image like we do from GUI.

The problem is that prestashop does not store exact path to image, but generate URL somehow. Unfortunately we cannot understand this logic.


If you have any experience with such activity please share. Thanks in advance.

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