Remove 'Quick view' from Crisp White Template
Hello,
I would like to turn off the 'Quick view' that appears on mouse-over on product pages on Crisp White template. I could not get the css for this. Could anyone please kindly help me? Thank you. |
Re: Remove 'Quick view' from Crisp White Template
You should create a custom module that "decorates" the \XLite\View\Product\ListItem class and makes the isQuickLookEnabled() method always return "false":
PHP Code:
|
Re: Remove 'Quick view' from Crisp White Template
Hi Alex,
please check my attempts and see where I am most closer to a working code PHP Code:
|
Re: Remove 'Quick view' from Crisp White Template
The class that you should extend is \XLite\View\Product\ListItem, not any of those that you used in your example.
And your class is to be \XLite\Module\Modx\NewArrivalsPage\View\Product\Li stItem, not \XLite\Module\Modx\NewArrivalsPage\Controller\Cust omer\AntiQuickLook |
Re: Remove 'Quick view' from Crisp White Template
I have to agree, the "Quick View" is very confusing on the Crisp White. As a customer, when you hover over the product you see "Add to Cart" and "Quick View" easily. It's not clear at all how to navigate to the product to see more information. Even when you click "Quick View", the link to the product details is hard to find.
I would appreciation more information on how to remove the "Quick View" link... |
Re: Remove 'Quick view' from Crisp White Template
Either the "Quick View" button should be removed, or a "Product Details" button should be added. It's not clear to a first time customer how to navigate to product details at all.
|
Re: Remove 'Quick view' from Crisp White Template
As an interim measure whilst you write and test your module to operate on CWS, pretty sure you could achieve what you want via Custom CSS:
Code:
.products-grid .quicklook, .products-list .quicklook { You'll retain the 'greying out' effect i.e. the current active selection of any particular product indicator, but depending on which view you're using at the time, only the 'add to cart button' etc should remain. You can then add any additional guidance notes for visitors on your FAQ page if you think you need it |
Re: Remove 'Quick view' from Crisp White Template
That worked good, thanks!
|
Re: Remove 'Quick view' from Crisp White Template
A better option is to setup the html in it as blank so prevent loading of unnecessary code that would make your page slower to load.
For instance in the custom JavaScript under "Look & Feel" > "Custom CSS & JS" > "Custom JavaScript" Code: $('.quicklook').html(''); |
Re: Remove 'Quick view' from Crisp White Template
Quote:
Code:
$('.quicklook').html(''); |
All times are GMT -8. The time now is 11:55 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.