Hi,
To disable the "Add to cart" button from the QuickView window (and replace with "product details" button), you can use this simple trick.
Open this PHP file:
/templates/flexible_asymmetric/html/com_virtuemart/productdetails/default.php
-OR-
/templates/flexible_asymmetric/html/com_virtuemart/productdetails/flexv2.php
(default.php or flexv2.php depends on what layout you are using for product details page)
Find this line:
echo $this->loadTemplate('addtocart');
and replace it with this:
if ($parameter == "quicklook") { ?>
<div id="flexibleButton"><br><a href="<?php echo JRoute::_('index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id='.$this->product->virtuemart_product_id.'&virtuemart_category_id='.$this->product->virtuemart_category_id); ?>" class="flexibleButton" target="_parent"> Product Details </a></div>
<?php } else {
echo $this->loadTemplate('addtocart');
}
the result will be:
Attachment ScreenShot2014-11-22at8.21.58PM.png not found
If you like Asymmetric and satisfied with the support you have received, please "write a review" on:
www.flexiblewebdesign.com/Joomla-Virtuemart-Templates/Asymmetric
Rate Asymmetric and write a couple of sentences to share your experience with the support team.
It won't take more than 2 minutes from you but it is extremely important for us.
Thanks in advance!
Regards,
Support