Jump to content

Search Results / Preview - Hide Description, Show Price & Availability

Recommended Posts

Site URL: https://www.endofanear.com/

Hello!

For the search results and search quick previews, is it possible to:

  • hide product description
  • display product price
  • display product availability (sold out) 

Site-wide, I only want the product title, product image, price, and availability to appear when searching.

Does anyone know if this be done through CSS or something?

Thanks! 🐌

SITE: www.endofanear.com

Link to comment
  • Replies 8
  • Views 1.2k
  • Created
  • Last Reply

Top Posters In This Topic

On 12/9/2020 at 10:46 PM, robertwyatt said:

Thanks for the info! Please let me know how to hide the product description!

Add to Home > Design > Custom CSS

.sqs-search-container-item .sqs-content {
    display: none !important;
}

 

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
  • 1 year later...
  • 1 month later...
  • 9 months later...
On 2/12/2023 at 7:13 PM, HG-Design said:

Hi @tuanphan, I am trying to hide the product description on this page as if I remove it, the product feed to FB & Google gets rejected. 

https://wvcharge.squarespace.com/waev-charge-store/p/waev-charge-ev1

Is it possible to hide it so it is not visible on the product but still in the product feed. 

Screenshot 2023-02-12 at 12.12.14 pm.png

Edi Additional Info > Add a Code Block > Paste this code

<style>
  .ProductItem-details-excerpt {
    display: none !important;
}
</style>

If FB/Google still reject, try this

<style>
  .ProductItem-details-excerpt {
    visibility: hidden;
}
</style>

or

<style>
  .ProductItem-details-excerpt * {
    font-size: 0 !important;
}
</style>

 

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • 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.