Jump to content

Hide the price of a certain product

Go to solution Solved by creedon,

Recommended Posts

I want to hide the price of this and other specific products, but I still want my customers to be able to enter the site and view the information displayed about them. 

I tryed to add this in code injection directly on the product page in additional info but it does not seem to be working.

<style>
  .product-price {
      display: none;
  }
</style>

Edited by antonio_a
url
Link to comment
  • Replies 8
  • Views 385
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Please post the URL for a page on your site where we can see your issue.

If your site is not public please set up a site-wide password, if you've not already done so.

Post the password here.

Adding a site-wide password does not allow anyone to alter your site. It only allows those with the password to see your site. Please read the documentation at the link provided to understand how it works.

Please read the documentation at the link provided on how to share a link to your site to understand how it works. A link to the backend of the your site won’t work for us, i.e. a url that contains /config/.

We can then take a look at your issue.

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

Link to comment
12 hours ago, creedon said:

Please post the URL for a page on your site where we can see your issue.

If your site is not public please set up a site-wide password, if you've not already done so.

Post the password here.

Adding a site-wide password does not allow anyone to alter your site. It only allows those with the password to see your site. Please read the documentation at the link provided to understand how it works.

Please read the documentation at the link provided on how to share a link to your site to understand how it works. A link to the backend of the your site won’t work for us, i.e. a url that contains /config/.

We can then take a look at your issue.

https://www.wineeatandtravel.com/store-1/puerto-vallarta-yacht-rentals

Link to comment
  • Solution

Try the following.

<style>

  .tweak-product-item-details-show-price .ProductItem-details .product-price {
  
    display : none;
    
    }
    
  </style>

Let us know how it goes.

Edited by creedon
version 2

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

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.