Jump to content

Generating product image paths


JakubLW

Recommended Posts

I do not know how to go about it. The situation looks like this:

On the server in the folder / img / p / I have uploaded photos of 3 thousand. products, each photo is described by the product code - index eg:

Product A has the index 112233

On the server I have such a file 112233.jpg

How can I make prestashop read images from the server according to a parameter such as the index?

It may happen that several photos are assigned to a given product, then the diagram looks like this: 112233-2.jpg, 112233-3.jpg.

 

I am asking for help, a matter of urgency.

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