rajansinha02 Posted October 19, 2014 Share Posted October 19, 2014 Hi I was trying to change quick view button from fixed to display on hover in product list page but was unsuccessful, if any one can help with this it would be grate. Using default theme 1.6.0.8 Looking forward for help Thanks in advance Link to comment Share on other sites More sharing options...
PascalVG Posted October 19, 2014 Share Posted October 19, 2014 Try this: <script> $(document).ready(function(){ $('.quick-view').mouseenter(function(){ $(this).trigger('click'); }); }); </script> put it in your themes/<your theme folder>/product-list.php (make backup!!) and it should work on all the category product lists. (Adjust and add self to homefeatured, newproducts, bestsellers etc.) Hope this works, let me know, pascal. Link to comment Share on other sites More sharing options...
rajansinha02 Posted October 20, 2014 Author Share Posted October 20, 2014 Hello Pascal Thank you very much for your prompt response, I add product-list.php with your code as you mentioned to the theme folder but did not get the desired effect. Do I need to make changes in product-list.css also if any if you can help with desired changes. Thanks once again Rajan Link to comment Share on other sites More sharing options...
rajansinha02 Posted October 22, 2014 Author Share Posted October 22, 2014 Can any one help with this Thanks Link to comment Share on other sites More sharing options...
PascalVG Posted October 31, 2014 Share Posted October 31, 2014 Hi rajah, Try to put it in the themes/<your theme folder>/product-list.tpl code like here: (Make backup!) {if isset($quick_view) && $quick_view} <div class="quick-view-wrapper-mobile"> <a class="quick-view-mobile" href="{$product.link|escape:'html':'UTF-8'}" rel="{$product.link|escape:'html':'UTF-8'}"> <i class="icon-eye-open"></i> </a> </div> <a class="quick-view" href="{$product.link|escape:'html':'UTF-8'}" rel="{$product.link|escape:'html':'UTF-8'}"> <span>{l s='Quick view'}</span> </a> <script> $(document).ready(function(){ $('.quick-view').mouseenter(function(){ $(this).css("background-color","yellow"); // test line to see if it triggers. remove this line afterwards $(this).trigger('click'); }); }); </script> {/if} {if (!$PS_CATALOG_MODE AND ((isset($product.show_price) && $product.show_price) || (isset($product.available_for_order) && $product.available_for_order)))} This should do it: Example on what it does: http://ps1609.buymethai.com/index.php?id_category=4&controller=category pascal Link to comment Share on other sites More sharing options...
akashs Posted February 10, 2016 Share Posted February 10, 2016 i want to add quick view my product page is showing but search page is not any one can help me Link to comment Share on other sites More sharing options...
jjryeste Posted April 17, 2016 Share Posted April 17, 2016 Hello is possible , eliminate productcomments in quick view thank you Link to comment Share on other sites More sharing options...
booklovers Posted March 2, 2017 Share Posted March 2, 2017 (edited) my site is designed on prestashop framework. My designer has comment on quick view, which is not showing on pages, but it is making url mysite.com/quickview/product.... I want to remove these url and also not want my site to make these urls again. Can anyone help which file to change or remove and where to find it. Edited March 2, 2017 by booklovers (see edit history) Link to comment Share on other sites More sharing options...
rocky Posted March 4, 2017 Share Posted March 4, 2017 Assuming you're using the default PrestaShop theme, you can disable quick view using the "Theme configurator" module. Just go to the module's configuration page and then change "Display quick view window on homepage and category pages" to "No". If this doesn't work, you'll have to manually edit product-list.tpl in your theme and remove the quick view code. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now