Bukimedia / PrestaSharp

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

product image position #397

Closed yoshi88mx closed 4 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 4 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.