News:

Support the VirtueMart project and become a member

Main Menu

[solved] VM3 - Addtocart template override

Started by nordmograph, December 06, 2014, 13:05:49 PM

Previous topic - Next topic

nordmograph

Hi there,

I needed a custom addto cart button without quantity box. So I added the default_addtocart.php from the productdetails view to the html/com_virtuemart/productdetails of my Joomla template and modified it.
But It didn't work.

I then found out that it was the file from the sublayout folder (outside the view) that was used. Is there a way we can use template override for this ?

Thanks for your help.

jenkinhill

You can also override the sublayouts. Put the override file in yourtemplate/html/com_virtuemart/sublayouts/
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

nordmograph