Bukimedia / PrestaSharp

CSharp .Net client library for the PrestaShop API via web service
GNU General Public License v3.0
154 stars 152 forks source link

product image position #397

Closed yoshi88mx closed 3 years ago

yoshi88mx commented 4 years ago

Hello, I tried to join the slack group but the link is no longer available, my question is if there is any way that through the api I can indicate the position of the product image and select the cover image.? Thank you

oromand commented 3 years ago

To select the cover image, you first have to upload the image, and set its id in the product property named "id_default_image". This would make it the cover image of the product. The position is not given by any API in current PS versions though.