VM AirSlider v1.0 virtuemart 3 and 2
VM AirSlider is a full-fledged image slider that will allow a visitor to your site to view all product images from the product category on Virtuemart 3
VM AirSlider v1.0
Show all product images in the product category on Virtuemart 3
VM AirSlider is a full-fledged image slider that will allow the visitor of your site to view all product images from the Virtuemart 3 component, being in the catalog and not going to the product card itself.
- Touch and Drag support
- Lazy Load for additional product images
- Cross-browser compatibility
Installation and configuration:
The VMAirSlider plugin is required to be installed as any plugin for Joomla through the extension manager item.
Upon completion of the installation, a new airslider plugin will appear in the Plugin Manager.
The Image Height parameter sets the maximum height for images that are displayed in the slider itself.
Considering that virtuemart does not allow using the admin panel to configure the number of displayed images for a product in a category (only the first image is displayed), so you need to manually make some changes to the code of the view.html.php file on the path /components/com_virtuemart/views/category
These changes are completely safe and will not affect the operation of the solution itself and its additions. After each update, virtuemart changes need to be made again. If you forget to do this, then this will not affect the work of the site, just for each product only one picture will be displayed as before. To save all edits after the update, copy the files that you changed into the folder with the used template at:
- /templates/template name/html/com_virtuemart/sublayouts/ for virtuemart 3
- /templates /template name/html/com_virtuemart/category/ for virtuemart 2
For virtuemart from version 3.0.14 and higher
From virtuemart 3.0.12 - 3.0.14
For virtuemart 3.0.0 - 3.0.12
From virtuemart 2
If it is necessary to limit the number of displayed images for a product, then simply replace the number 1 in the code with the desired number.
The last change that needs to be done is to change the code that displays the image of the goods in the category
For virtuemart 3
In file products.php on the way /components/com_virtuemart/sublayouts/ replace
From virtuemart 2
In file default.php on the way /components/com_virtuemart/views/category/tmpl/ replace