Jump to content

Hide the price of a certain product

Go to solution Solved by creedon,

Recommended Posts

Posted (edited)

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
  • Replies 8
  • Views 528
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Posted

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.

Posted
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

  • Solution
Posted (edited)

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.

Posted
2 minutes ago, creedon said:

Try the following.

<style>

  .tweak-product-item-details-show-add-to-cart-button .ProductItem-details .sqs-add-to-cart-button-wrapper {
  
    display : none;
    
    }
    
  </style>

Let us know how it goes.

no changes it is still showing.

Posted
7 minutes ago, creedon said:

It appears to be working to me.

1637409731_ScreenShot2022-11-23at9_53_42AM.thumb.png.8285abe2ebd2107a4c9dbfe0bead782d.png

but the price is still showing as $0.00, I want to hide the price if posible and leave everything else

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.