lightspeedretail / webstore

Web Store eCommerce solution for Lightspeed
http://www.lightspeedpos.com/webstore
Open Software License 3.0
85 stars 63 forks source link

Changed Product::getImages() to have a more consistent return #571

Closed Dragony closed 10 years ago

Dragony commented 10 years ago

See Issue https://github.com/lightspeedretail/webstore/issues/570

ktwbc commented 10 years ago

As of 3.0.6, use $model->ProductPhotos which is the new feature that will return everything consistently. getImages() has been deprecated. (getImages returned differently for one image vs multiple because the photo viewer at the time handled individual and mutliple differently. With the introduction of CloudZoom in 3.0.6 we created a new function to avoid breaking backwards compatibility.)

Dragony commented 10 years ago

Thanks for your fast reply :)

It would be awesome if this would be documented in the code.