VirtueMart Forum

VirtueMart 2 + 3 => Administration & Configuration => Topic started by: Slavomir on March 08, 2021, 12:37:18 pm

Title: Override for card.php
Post by: Slavomir on March 08, 2021, 12:37:18 pm
Hello

Is it possible to make an override for components/com_virtuemart/helpers/cart.php? Can`t find the way to do it.

Best
Slavomir
Title: Re: Override for card.php
Post by: pinochico on March 08, 2021, 13:33:17 pm
Info about MVC Joomla and how and which files you can make override - YES you can find in Joomla documentation - doc.joomla.org
The VirtueMart is app for Joomla and if this app is developed by standard joomla then you can override some exactly type of files.

With standard method you can't override helpers files.

But you can write (develop) custom plugin for VM and inside use your custom helper for cart.