[Front Office] Images in product page not functioning well in Leo theme
TL;DR
Search through the template folder of your theme (e.g. themes/bos_poeme/templates
) for .default_image
Replace to .cover
Read More
Between the gap of 1.7.6.9 & 1.7.7.0, the ProductLazyArray class has changed a little bit (src/Adapter/Presenter/Product/ProductLazyArray.php)
For the variable name of product images, in 1.7.6.9, we can use cover
to retrieve them
but start from 1.7.7.0, there is a new variable default_image
for retreieving them
However, Fun fact is that you can still use cover
to retrieve them in 1.7.7.0, the difference is still investigating