Where can i edit html/php code of the cart in lightbox? i have found only this:
<div id="facebox" style="display:none;"> \
<div class="popup"> \
<div class="content"> \
</div> \
<a href="#" class="close"></a> \
</div> \
</div>'
That code comes from components/com_virtuemart/assets/js/facebox.js and the template is components/com_virtuemart/views/cart/tmpl/padded.php
I can't found this: padded.php
Are you using an old VM version? Or looking in the wrong directory?
My VirtueMart version is: 2.0.20b, i can't find here padded.php, my second question was, it is possible to override facebox.js?
[attachment cleanup by admin]
Quote from: virtueb on June 21, 2013, 07:47:55 AM
My VirtueMart version is: 2.0.20b, i can't find here padded.php, my second question was, it is possible to override facebox.js?
Note that facebox has been replaced by fancybox in the VM 2.0.21+ versions. What exactly do you want to chance in your lightbox display?
Something like on this image and to add a new module position for module "Custom HTML", i need also to style it, also fixed width...
[attachment cleanup by admin]
I'd wait for the 2.0.22 stable release (very close now) to avoid having to alter this again. I am using 2.0.21 series testing versions (hence padded.php) so if you are in the dev stage have a try with it - http://dev.virtuemart.net/projects/virtuemart/files
I installed stable version, but without this file...
The file padded.php is not used in versions before 2.0.21x. As jenkinhill already suggested you can try i.e. version 2.0.21f, if your shop is not live yet. It has an option for this in the VM configuration.
[attachment cleanup by admin]