Hi,
Problem 1:
Find this PHP file:
/components/com_virtuemart/views/cart/tmpl/padded.php
and copy-paste that PHP file to here:
/templates/flexible_lightmart/html/com_virtuemart/cart/padded.php
(this process is called "template overriding" to protect your modification against Virtuemart updates. You can directly open the file from /components/ folder and do the modification. But using template overriding is always more reliable)
then within the copy-pasted PHP file:
/templates/flexible_lightmart/html/com_virtuemart/cart/padded.php
Find these 2 lines:
echo '<a class="continue" href="' . $this->continue_link . '" >' . JText::_('COM_VIRTUEMART_CONTINUE_SHOPPING') . '</a>';
echo '<a class="showcart floatright" href="' . $this->cart_link . '">' . JText::_('COM_VIRTUEMART_CART_SHOW') . '</a>';
And change them with these: (add
target="_parant" attribute to links)
echo '<a target="_parent" class="continue" href="' . $this->continue_link . '" >' . JText::_('COM_VIRTUEMART_CONTINUE_SHOPPING') . '</a>';
echo '<a target="_parent" class="showcart floatright" href="' . $this->cart_link . '">' . JText::_('COM_VIRTUEMART_CART_SHOW') . '</a>';
the the "continue shop" and "View Cart" links will open in the "Parent" window which is the main window, instead of modal popup window.
Problem 2:
I guess you have solved it already as i don't see the problem anymore in the product details page.
You should have removed the
.main-image img {
max-height:200px; <--- or what ever fixed value it is. Just eliminate it.
}
CSS rule from:
/components/com_virtuemart/assets/css/vmsite-ltr.css
Regards,
Support