You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When adding a new product with the REST API module, I make sure that the image order is correct, so that the first image becomes the display image. Since we are using REST API v3, there is no position attribute.
The generated python dictionary has correct order, but the images on the product are not.
In this snippet of generated dictionary you can see the order of images, as you can see in the name of the image file, last number is positional index that indicates what order we want the images in. "images": [{ "src": "https://mana.hal.si/wp-content/uploads/products/2321049000003_22_0.png", "alt": "Baby majica" }, { "src": "https://mana.hal.si/wp-content/uploads/products/2321049000003_22_1.png", "alt": "Baby majica" }, { "src": "https://mana.hal.si/wp-content/uploads/products/2321049000003_22_2.png", "alt": "Baby majica" }]
Any idea why this could be happening?
The text was updated successfully, but these errors were encountered:
Hello,
When adding a new product with the REST API module, I make sure that the image order is correct, so that the first image becomes the display image. Since we are using REST API v3, there is no position attribute.
The generated python dictionary has correct order, but the images on the product are not.
In this snippet of generated dictionary you can see the order of images, as you can see in the name of the image file, last number is positional index that indicates what order we want the images in.
"images": [{ "src": "https://mana.hal.si/wp-content/uploads/products/2321049000003_22_0.png", "alt": "Baby majica" }, { "src": "https://mana.hal.si/wp-content/uploads/products/2321049000003_22_1.png", "alt": "Baby majica" }, { "src": "https://mana.hal.si/wp-content/uploads/products/2321049000003_22_2.png", "alt": "Baby majica" }]
Any idea why this could be happening?
The text was updated successfully, but these errors were encountered: