Jump to content

Disable product QuickView on Prestashop 1.7


Malemi

Recommended Posts

Hello, I am running PS 1.7.0.2:

 

I do not see any option to disable product QuickView, as on PS 1.6.

 

Might you please clear this out: is this option going to be enables during 1.7 development ?

 

As a fix, is there any way to manually disble product quick view on home and category pages ?

 

Thanks in advance

Link to comment
Share on other sites

  • 4 weeks later...

Try recompiling template files or clear cache from Back-office.

 

Go to BO > Advanced Parameters > Performance.

Click on "Clear cache" button in top-right corner.

 

Now check your shop. The quick view option should be removed if you have deleted proper code.

Link to comment
Share on other sites

Try to remove (or comment them out) lines 73-87 in this file:

 

/web/themes/xxYOUR-THEMExx/templates/catalog/_partials/miniatures/product.tpl 

 

This will also remove product´s variants.

 

Don't forget to cleare cache as mentioned before. Or turn the "Force compilation" on.

Edited by mysho (see edit history)
Link to comment
Share on other sites

  • 6 months later...

There isn't any option to disable Quick View from back-office.

 

But you can delete its code manually from below file in your themes folder.

 

/templates/catalog/_partials/miniatures/product.tpl

 

I just used this css command in theme.css or custom.css, instead of altering any .tpl files:

 

.thumbnail-container .quickview a {
   display: none;
}
  • Like 2
Link to comment
Share on other sites

  • 2 weeks later...
  • 1 year later...
  • 1 year later...
On 7/6/2017 at 1:13 AM, rl_lucian said:

 

I just used this css command in theme.css or custom.css, instead of altering any .tpl files:

 

.thumbnail-container .quickview a {
   display: none;
}

I tried this method and it did not work.  I tried it in both the css files and then cleared the cache.  Any reason why?

Edited by need2011
Solved-see the next post. (see edit history)
Link to comment
Share on other sites

I found this and it worked great in the custom. css

.highlighted-informations {

display: none;

}

#products .thumbnail-container:hover .product-description::after, .featured-products .thumbnail-container:hover .product-description::after, .product-accessories .thumbnail-container:hover .product-description::after, .product-miniature .thumbnail-container:hover .product-description::after, #products .thumbnail-container:focus .product-description::after, .featured-products .thumbnail-container:focus .product-description::after, .product-accessories .thumbnail-container:focus .product-description::after, .product-miniature .thumbnail-container:focus .product-description::after {

border-top: none;

}

  • Thanks 1
Link to comment
Share on other sites

  • 10 months later...
  • 4 weeks later...
On 10/16/2019 at 3:40 AM, need2011 said:

I found this and it worked great in the custom. css

.highlighted-informations {

display: none;

}

#products .thumbnail-container:hover .product-description::after, .featured-products .thumbnail-container:hover .product-description::after, .product-accessories .thumbnail-container:hover .product-description::after, .product-miniature .thumbnail-container:hover .product-description::after, #products .thumbnail-container:focus .product-description::after, .featured-products .thumbnail-container:focus .product-description::after, .product-accessories .thumbnail-container:focus .product-description::after, .product-miniature .thumbnail-container:focus .product-description::after {

border-top: none;

}

Thx for this one works for me.

Link to comment
Share on other sites

  • 2 years later...

 I tried in 1.7.8.7, but changes in custom.css not work

 

Quote

.quick-view {
    display: none !important;
}

Also

Quote

 

.highlighted-informations {

display: none;

}

#products .thumbnail-container:hover .product-description::after, .featured-products .thumbnail-container:hover .product-description::after, .product-accessories .thumbnail-container:hover .product-description::after, .product-miniature .thumbnail-container:hover .product-description::after, #products .thumbnail-container:focus .product-description::after, .featured-products .thumbnail-container:focus .product-description::after, .product-accessories .thumbnail-container:focus .product-description::after, .product-miniature .thumbnail-container:focus .product-description::after {

border-top: none;

}

 

 

 

Link to comment
Share on other sites

  • 3 months later...
On 10/13/2022 at 4:37 AM, Tomi14 said:

 I tried in 1.7.8.7, but changes in custom.css not work

 

Also

 

 

Any solution?

I'm using 1.7.8.7 also and want to hide the 'quick-view' and 'add-to-cart' from the product lists.

 

I tried the using custom css as per this thread to no prevail.

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...