Hello,
I am using Joomla 1.7.3 and VM 2.0.0 RC3.
I just upgraded from VM 1.9.8 RC2 M.
We want to show 2 images for every product on the front end.
So I edited "components/com_virtuemart/views/category/tmpl/default.php".
It worked fine in the previous version, but now I only get the first image (images[0]->file_url_thumb),
the second is empty (images[1]->file_url_thumb).
What changed?
How can I get all the images for a product?
I used "Reset all tables and do a fresh install" and replaced all the files with the files from the version 2.0.0. installer.
But still images[1]->file_url_thumb is empty where images[0]->file_url_thumb returns the proper url.
Please help, Anyone?????
in view.html.php line 129
YOu can set
$productModel->addImages($products,1);
1 is the number of images
$productModel->addImages($products,2);
give you the first 2 images
for unlimited images
$productModel->addImages($products);
Thanx a million!!
Works like a charm!