Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

How to hide the magnifyer glass over the product

 
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)
 
Thread Tools Search this Thread
  #1  
Old 10-09-2014, 01:57 PM
 
Under_Dome Under_Dome is offline
 

Newbie
  
Join Date: Sep 2014
Posts: 3
 

Default How to hide the magnifyer glass over the product

Hi, anyone knows how to hide the magnifying glass that appears on rollover over the product? this along with the functionality of the popup with the summary information that appears when the user clicks on the magnifying glass icon

Thank you
__________________
xCart-5
Reply With Quote
  #2  
Old 10-09-2014, 09:46 PM
  totaltec's Avatar 
totaltec totaltec is offline
 

X-Guru
  
Join Date: Jan 2007
Location: Louisville, KY USA
Posts: 5,823
 

Default Re: How to hide the magnifyer glass over the product

Do you have a custom module/skin ready to go? If so, try adding this to the bottom of your main.php:
Code:
/** * Decorator run this method at the end of cache rebuild * * @return void */ public static function runBuildCacheHandler() { parent::runBuildCacheHandler(); \XLite\Core\Layout::getInstance()->removeTemplateFromLists( 'items_list/product/parts/common.quicklook-button.tpl' ); }
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey

XcartGuru
X-cart Tutorials | X-cart 5 Tutorials

Check out the responsive template for X-cart.
Reply With Quote

The following user thanks totaltec for this useful post:
tony_sologubov (10-14-2014)
  #3  
Old 02-04-2016, 08:41 AM
 
Ridgeway1 Ridgeway1 is offline
 

Member
  
Join Date: Jan 2016
Posts: 25
 

Default Re: How to hide the magnifyer glass over the product

I would like to eliminate the Magnifying Glass option as well. It might be called "quick view". Is there an easier way than learning to create modules/skins?

Thanks
__________________
Version No: 5.2.10

Go Social
Color Schemes:
Shipping:

Product filter module

Disable Drag’n’drop add to cart

Theme Tweaker

Wholesale

Contact us

Sales tax
Color schemes

Coupons

Custom product tabs.

Featured products

News

Pitney Bowes International

Product Advisor

Product Reviews

Product Variants

Webmaster Kit
Reply With Quote
  #4  
Old 02-04-2016, 08:50 AM
  totaltec's Avatar 
totaltec totaltec is offline
 

X-Guru
  
Join Date: Jan 2007
Location: Louisville, KY USA
Posts: 5,823
 

Default Re: How to hide the magnifyer glass over the product

I guess you can just use CSS and "display: none;" on the element.
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey

XcartGuru
X-cart Tutorials | X-cart 5 Tutorials

Check out the responsive template for X-cart.
Reply With Quote
  #5  
Old 02-04-2016, 11:17 AM
 
Ridgeway1 Ridgeway1 is offline
 

Member
  
Join Date: Jan 2016
Posts: 25
 

Default Re: How to hide the magnifyer glass over the product

In which .css file? I need a bit more direction also. I am not that proficient with css. Exactly where in the css file do I place this?
__________________
Version No: 5.2.10

Go Social
Color Schemes:
Shipping:

Product filter module

Disable Drag’n’drop add to cart

Theme Tweaker

Wholesale

Contact us

Sales tax
Color schemes

Coupons

Custom product tabs.

Featured products

News

Pitney Bowes International

Product Advisor

Product Reviews

Product Variants

Webmaster Kit
Reply With Quote
  #6  
Old 02-04-2016, 03:15 PM
  totaltec's Avatar 
totaltec totaltec is offline
 

X-Guru
  
Join Date: Jan 2007
Location: Louisville, KY USA
Posts: 5,823
 

Default Re: How to hide the magnifyer glass over the product

Can you include a link to your site so we can inspect your CSS? As to where to add it, I would add it to the end of your custom CSS in the admin. Unless you have built a custom module for your store, you do not want to ever modify any of the core CSS.
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey

XcartGuru
X-cart Tutorials | X-cart 5 Tutorials

Check out the responsive template for X-cart.
Reply With Quote
  #7  
Old 02-04-2016, 05:13 PM
 
Ridgeway1 Ridgeway1 is offline
 

Member
  
Join Date: Jan 2016
Posts: 25
 

Default Re: How to hide the magnifyer glass over the product

This was a two step process. I found the proper CSS and did as you suggested, then I edited EVERYTHING out of the "theme_tweaker/default/en/items_list/product/parts/common.quicklook-button.tpl " file.
__________________
Version No: 5.2.10

Go Social
Color Schemes:
Shipping:

Product filter module

Disable Drag’n’drop add to cart

Theme Tweaker

Wholesale

Contact us

Sales tax
Color schemes

Coupons

Custom product tabs.

Featured products

News

Pitney Bowes International

Product Advisor

Product Reviews

Product Variants

Webmaster Kit
Reply With Quote
  #8  
Old 02-05-2016, 04:31 AM
  razortw's Avatar 
razortw razortw is offline
 

X-Cart team
  
Join Date: Feb 2015
Posts: 807
 

Default Re: How to hide the magnifyer glass over the product

Quote:
Originally Posted by Ridgeway1
I would like to eliminate the Magnifying Glass option as well. It might be called "quick view". Is there an easier way than learning to create modules/skins?

Thanks
Hi there.
Just add the following code to the Custom CSS section
Code:
.products .product .quicklook { display: none; }
__________________
Best regards,
Igor Pudovkin
X-Cart hosting team
Reply With Quote
  #9  
Old 02-05-2016, 06:44 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,201
 

Default Re: How to hide the magnifyer glass over the product

Keep in mind this will not prevent the code to load. If you don't need it it is best to have a custom module to not load the feature at all. Speeds up page load. XC5 needs faster page loads

I never liked this solution that is all over the forum for XC5 - if you don't want to see the feature just use display:none.... This is not a solution. It is hiding the problem which will still continue to exist
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote

The following user thanks cflsystems for this useful post:
Triple A Racing (02-13-2016)
  #10  
Old 02-11-2016, 02:00 AM
  razortw's Avatar 
razortw razortw is offline
 

X-Cart team
  
Join Date: Feb 2015
Posts: 807
 

Default Re: How to hide the magnifyer glass over the product

Quote:
Originally Posted by cflsystems
Keep in mind this will not prevent the code to load. If you don't need it it is best to have a custom module to not load the feature at all. Speeds up page load. XC5 needs faster page loads

I never liked this solution that is all over the forum for XC5 - if you don't want to see the feature just use display:none.... This is not a solution. It is hiding the problem which will still continue to exist
Totally agree with you on this.
Ideally, one should create a custom module that removes a standard template from the view and overrides it with the custom template that does not load what is meant to be hidden.
__________________
Best regards,
Igor Pudovkin
X-Cart hosting team
Reply With Quote

The following user thanks razortw for this useful post:
Triple A Racing (02-13-2016)
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 01:07 PM.

   

 
X-Cart forums © 2001-2020