I have a problem with the original (VM3/4) bootstrap 3 template for product listing.
By default, each item displays only one thumbnail in the product list.
I wanted to add an extra image one and it doesn't work for me. How to solve it?
in /com_virtuemart/sublayouts/bs3-products.php
This displays first thumbnail:
$product->images[0]->displayMediaThumb();
or
$product->images[0]->getFileUrlThumb()
This record should display the second thumbnail:
$product->images[1]->displayMediaThumb();
or
$product->images[1]->getFileUrlThumb();
Unfortunately, an error message appears for the second image
Call to a member function getFileUrlThumb() on null
How do I display it now?