Im using Joomla! 3.9.15 with VirtueMart 3.6.10 10211
I was wondering if I can change how the products are displayed when someone clicks on a product category on even on the shop home page etc... Please see the image attached for example.
Thank you in advance for any help with this.
(http://gifts.wine/sceenshot11.png)
The defualt file is components/com_virtuemart/sublayouts/products.php and you have to modify the line
echo shopFunctionsF::renderVmSubLayout('prices',array('product'=>$product,'currency'=>$currency)); ?>
prices is the sublayout/prices.php, you have to create a copy and modify the render and rename prices in this line wiht your own filename
as it looks like your $19.99... is the short desc all you need to do is comment out the prices and addtocart in the an overridden sublayout products
Thank you for the replies. I have not tried to build a website in years and I have seen to have forgotten everything I learned. I am looking in my folder to find the file that needs to be edited but I cannot seem to find it, Im not sure if I even understand where you mention "comment out the prices and addtocart", I assuming I am to just delete that part?
Can you direct me to which folder has the file I need to be looking for please ?
(http://gifts.wine/sceenshot12.png)
templates\your_template\html\com_virtuemart\sublayouts\products.php
add a # in front
You guys are awesome, worked perfectly with how I wanted it to look...
THANK YOU FOR ALL THE HELP
(https://gifts.wine/sceenshot13.png)