Jump to content

How the id_image of the ps_image table is generated?


cpd@jover.es

Recommended Posts

Hello,

I am trying to understand how some tables of prestashop work to develop my own product import software from my ERP. I generate the products and their combinations, the categories, features and other options, but when I get to the table of images I can't understand it.

In the ps_image table, the id_image is what determines the path of the image, that is, the id_image 123 tells us that its images are stored in the path img/p/1/2/3.

But when we get to image 1234, there are no more images in the path img/p/1/2/3.
What about id_image 123?
Are the files reassigned and moved to another folder?

Edited by [email protected] (see edit history)
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...