Ludwig1 Posted July 8, 2015 Share Posted July 8, 2015 Hi!Is is possible to change so that the quick view appears when you press the product name and not just the quick view button on the image? This includes when you press on the image too.Thank you in advance! Link to comment Share on other sites More sharing options...
vekia Posted July 8, 2015 Share Posted July 8, 2015 sure, it is possible but it requires modification of the tpl file what is your theme and ps version? Link to comment Share on other sites More sharing options...
Ludwig1 Posted July 8, 2015 Author Share Posted July 8, 2015 Thank you for your answer! I am using PS 1.6.0.14 and doing development on the default bootstrap theme. Thank you in advance! Link to comment Share on other sites More sharing options...
vekia Posted July 8, 2015 Share Posted July 8, 2015 open file product-list.tpl change <a class="product-name" href="{$product.link|escape:'html':'UTF-8'}" title="{$product.name|escape:'html':'UTF-8'}" itemprop="url" > {$product.name|truncate:45:'...'|escape:'html':'UTF-8'} </a> to: <a class="product-name quick-view" href="{$product.link|escape:'html':'UTF-8'}" rel="{$product.link|escape:'html':'UTF-8'}"> {$product.name|truncate:45:'...'|escape:'html':'UTF-8'} </a> Link to comment Share on other sites More sharing options...
Ludwig1 Posted July 8, 2015 Author Share Posted July 8, 2015 (edited) Thank you! You are the best veika!Is it the same regarding pressing the image?If you press outside of the image where the quick-view box appears it opens as regular. I guess, logically, that it acts the same on the image? Edited July 8, 2015 by Ludwig1 (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted July 8, 2015 Share Posted July 8, 2015 if you want to open quick view also then, just add class="quick-view" to <img> code with product cover :-) Link to comment Share on other sites More sharing options...
Ludwig1 Posted July 9, 2015 Author Share Posted July 9, 2015 if you want to open quick view also then, just add class="quick-view" to <img> code with product cover :-) Hi again, vekia! If I do so the image disappears. I can see the quick view when hover, but no image (see attached file). Thank you for yours patiens. 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