Hello all!
Please tell me where is the code which generates an html markup of a list of related products in a fancybox after adding something to a cart?
VM 3.0.9
Hi Borro,
1 ) components\com_virtuemart\views\cart\tmpl\padded.php
2) components\com_virtuemart\sublayouts\related.php
Quote from: Spyros Petrakis on December 23, 2015, 20:01:10 PM
Hi Borro,
1 ) components\com_virtuemart\views\cart\tmpl\padded.php
2) components\com_virtuemart\sublayouts\related.php
Hello! Thank you
And what place in code does make that html markup to be surrended with <div id="fancybox-content">...</div>?
Hi,
this is done by vmprices.js .
components\com_virtuemart\assets\js\vmprices.js
Quote
if(usefancy){
jQuery.fancybox({
"titlePosition" : "inside",
"transitionIn" : "fade",
"transitionOut" : "fade",
"changeFade" : "slow",
"type" : "html",
"autoCenter" : true,
"closeBtn" : false,
"closeClick" : false,
"content" : txt
}
);
} else {
jQuery.facebox( txt , 'my-groovy-style');
}