Jump to content

Have product image go to to quick view instead of product details page

Recommended Posts

  • Replies 6
  • Views 594
  • Created
  • Last Reply

Hello tuanphan,

I have quick view enabled and it works well. What I am trying to achieve is that when clicking on the product image thumb it also takes you to quick view instead of the product details page. I don't want my visitors to go to the product details page, only the quick view. Thank you for your help.

 

 

Link to comment

Hello @tuanphan,

Maybe I could also achieve this by making the quick view button (in my case "view") cover the whole product thumb image (and later change the transparency of the background and text color - which I left for now as it is easier to see).
I inserted this code

  @media screen and (min-width: 768px) {
.sqs-product-quick-view-button-wrapper .sqs-product-quick-view-button{
    height: 100%!important;
    display: block;
    object-fit: cover;
    top: 0;
    }
}

But it is not covering the whole image thumb. Would you happen to know what is missing?
Thank you very much.

Link to comment
On 4/11/2021 at 2:11 AM, heikesworld said:

Hello @tuanphan,

Maybe I could also achieve this by making the quick view button (in my case "view") cover the whole product thumb image (and later change the transparency of the background and text color - which I left for now as it is easier to see).
I inserted this code


  @media screen and (min-width: 768px) {
.sqs-product-quick-view-button-wrapper .sqs-product-quick-view-button{
    height: 100%!important;
    display: block;
    object-fit: cover;
    top: 0;
    }
}

But it is not covering the whole image thumb. Would you happen to know what is missing?
Thank you very much.

Hi. Sorry for the delay. Have you solved this yet?

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.