Welcome, Guest
Username: Password: Remember me
Use this Category for your support questions about Virtuemart Template - FashionMart (SKU# FLEX-00008)

TOPIC: How do you disable QUICK LOOK on categories pages?

How do you disable QUICK LOOK on categories pages? 9 years 9 months ago #1062

Hello,

I would like to know how can I disable the QUICK LOOK function on categories pages ?
I want to access directly to the product detail page without a popup or facebox screen.
I aslo want the 'quick look' button to disappear.

Thanks a lot for your help.
The administrator has disabled public write access.

How do you disable QUICK LOOK on categories pages? 9 years 9 months ago #1077

Hi,

This kind of modifications can be handled by our other VM2 Template(PureMArt) easily, because that VM2 template has an administrator backend to change this kind of things to YES-NO. But for FashionMart the backend panel is not ready yet, it is in progress though, very soon it will be ready and everything will be much more easier to change.


To give you a solution for now (you will need to do some coding modification to delete the "quicklook" functionality in browse page.)

Open the category browse page PHP file, which is right here:
ROOT/templates/<yourjoomlatemplate>/com_virtuemart/category/default.php
(default.php, defaultlist.php, flexv2.php, flexv2list.php... depends on which ever category browse you have chosen from VM Configuration, since there are 4 different category browse page versions, and you are only using 1 of them)

And now find this these lines:

1. Around 213rd line;
<div class="FlexibleThumbBrowseV1QuickBuy"> <a class="FlexibleBrowseV2QuickBuyA" rel="facebox" rev="iframe|550|900" href="<?php echo 'index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=' . $product->virtuemart_product_id . '&virtuemart_category_id=' . $product->virtuemart_category_id . '&tmpl=component&flexible=quickbuy'; ?>"  title="<?php echo $product->product_name ?>"></a></span></div>

2. Around 494th line;
<div class="FlexibleThumbBrowseV1QuickBuy"><a class="FlexibleBrowseV2QuickBuyA" rel="facebox" rev="iframe|550|900" href="<?php echo 'index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=' . $product->virtuemart_product_id . '&virtuemart_category_id=' . $product->virtuemart_category_id . '&tmpl=component&flexible=quickbuy'; ?>"  title="<?php echo $product->product_name ?>"></a></span></div>

And delete both of them. Then the "quicklook" icon will be gone in your category browse page.
But don't forget to SAVE the original file in case things messed up.
BE CAUTIOUS; while deleting lines, always start with <div.... and end with </div> don't delete extra </div> at the end by mistake. Otherwise your website will be completely corrupted.

Cheers.
The administrator has disabled public write access.
Time to create page: 0.127 seconds

MaterialMart

for Virtuemart 3

Google's Material Design has finally arrived to Virtuemart

Virtumart Template - MaterialMart Virtumart Template - CleanMart Virtumart Template - CleanMart Virtumart Template - CleanMart

Fully responsive!

Buy Now   |   Live Demo