Hi,
Replacing the "add to cart" button with a "Product Details" button for the GridView is not something we have considered while developing the CleanMart (never thought anybody would want this kind of a functionality).
You should insert that button by yourself with a coding edit.
FIRST Open the "Flexible VM3 Template" plugin and disable these options:
- Category GridView >> Quick Look Button -> NO
- Category GridView >> Add to Cart Button -> NO
- Category GridView >> Quantity Box -> NO
- FOR DEFAULT VIEW
1- open this PHP file: /templates/YOUR_TEMPLATE/html/com_virtuemart/html/category/default.php
2- find this line (line#463):
3- and right
after that line, insert these lines:
<div id="flexibleButton" class="font2">
<?php echo JHTML::link($product->link, JText::_('COM_VIRTUEMART_PRODUCT_DETAILS'), array('title' => $product->product_name,'class' => 'flexibleButton','style' => 'display:block!important;')); ?>
</div>
- FOR FlexV2 VIEW
1- open this PHP file: /templates/YOUR_TEMPLATE/html/com_virtuemart/html/category/flexv2.php
2- find this line (line#541):
<div class="Flexibleaddtocart-bar">
3- and right
before that line, insert these lines:
<div id="flexibleButton" class="font2">
<?php echo JHTML::link($product->link, JText::_('COM_VIRTUEMART_PRODUCT_DETAILS'), array('title' => $product->product_name,'class' => 'flexibleButton','style' => 'display:block!important;')); ?>
</div>
If you follow these steps, you will have a "Product Details" button on GridView as well.
This modification has been TESTED & CONFIRMED.
Screenshots:
DEFAULT VIEW:
Attachment ScreenShot2015-10-23at6.48.39AM.png not found
FLEXV2 VIEW:
Attachment ScreenShot2015-10-23at6.48.18AM.png not found
If you like CleanMart and satisfied with the support you have received, please "write a review" on:
www.flexiblewebdesign.com/Virtuemart-2-Templates/CleanMart
Write couple of sentences to share your experience with the support team.
Just 2-3 sentences would be enough ;) It might sound simple to you, but it is extremely important. Potential customers care about product reviews very much.
Thanks in advance!
Regards,
Support