Hello there,
I use joomla 3.6.2 with Virtuemart 3.0.18
Is there an easy way to change the pop up window function when you add to cart a product? I need the pop up not to pop up and with ajax to reload the module cart. Is this easy?
Where is the file i should take a look in order to do this?
Thank you in advance
I have used this
components/com_virtuemart/assets/js/vmprices.js ~ line 97
no popup
if(usefancy){
//remove for reload
/*jQuery.fancybox({
"titlePosition" : "inside",
"transitionIn" : "fade",
"transitionOut" : "fade",
"changeFade" : "fast",
"type" : "html",
"autoCenter" : true,
"closeBtn" : false,
"closeClick" : false,
"content" : txt
}
);*/
//add for reload
//location.reload();
} else {
jQuery.facebox( txt , 'my-groovy-style');
}