Hi,
1- Since the quicklook opened with
?tmpl=component
Your joomla template's CSS, manu navigation, module positions etc.. don't get loaded. But this CSS file is loaded though:
ROOT/templates/<yourjoomlatemplate>/html/com_virtuemart/assets/css/flexibleVM2Global.css
So if you want to style something in the quicklook window, open this flecibleVM2Global.css and add a new CSS rule.
For instance, if you want to change the color of links inside the quicklook window, use this CSS rule:
a:link, a:visited {
color: #647177;
}
Basically take the same CSS rules that is valid for your overall joomla layout and put those CSS rules into flexibleVM2Global.css as well.
Usually Joomla Templates add an extra class TAG to <body> ... </body> when
?tmpl=components you can specifically use that extra body class, so those rules will be valid only if that class is exist. You can use Mozilla Firebug Plugin to determine that extra BODY Class name.
2- The issue you are saying is not a bug. Just, a small modification is necessary. Since it requires a little change in the Virtuemart Core file, instead of providing the whole file.. we want our clients to do this little modification by themselves. So they will see how "small" and "innocent" it is. (because changing Core Virtuemart file is not-secured in most cases.)
open this PHP file:
ROOT/components/com_virtuemart/controllers/cart.php
Look at the 117th and 118th lines
$this->json->msg = '<a class="continue" href="' . $continue_link . '" >' . JText::_('COM_VIRTUEMART_CONTINUE_SHOPPING') . '</a>';
$this->json->msg .= '<a class="showcart floatright" href="' . JRoute::_("index.php?option=com_virtuemart&view=cart") . '">' . JText::_('COM_VIRTUEMART_CART_SHOW_MODAL') . '</a>';
You are going to add
target="_parent" to those <a hre="..."> element, so basically replace those 2 lines with these:
$this->json->msg = '<a target="_parent" class="continue" href="' . $continue_link . '" >' . JText::_('COM_VIRTUEMART_CONTINUE_SHOPPING') . '</a>';
$this->json->msg .= '<a target="_parent" class="showcart floatright" href="' . JRoute::_("index.php?option=com_virtuemart&view=cart") . '">' . JText::_('COM_VIRTUEMART_CART_SHOW_MODAL') . '</a>';
So by little trick, those "continue shopping" and "show cart" links will be opened in PARENT window, instead of lightbox plugin.