VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: rallisf1 on June 05, 2015, 13:03:15 PM

Title: Cart module override
Post by: rallisf1 on June 05, 2015, 13:03:15 PM
Hey folks i am using latest VM 3.0.8 and Joomla 3.4.1

I have created an override for mod_virtuemart_cart but when a product is added to cart the ajax update function overwrites my custom layout with the default one.

How can i override the ajax function?

P.S. i tried to use jQuery.fn.extend({ updateVirtueMartCartModule: function(){ ... } }) but it never triggers my extended function, i can catch the event but i cannot override it. :S