Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0
minkey

Remove add to cart button on products pages in the OM template.

Question

Hi Do any coders out there know how to remove the add to cart button in the OM template Please? I understand from squarespace help that its only possible using custom code. Also I'd be really grateful for a description pf the steps to be taken as I'm a complete novice. Thanks very much.

Edited by minkey
Initial Revision

Share this post


Link to post

19 answers to this question

Recommended Posts

  • 0

Hi @tuanphan your code to remove the add to cart button worked for which I am very grateful. May I request please your assistance on another item on our site which is to remove the pricing information as well please? I can alter the type of currency but there seems to be no option to completely remove it.

The site can be found at: https://maracas-bellflower-9r2y.squarespace.comI've attached a screen shot from the Gallery page for your reference.Once again thanks very much.

screenshot-2019-09-05-at-144348.png.36e9182f442e6d15b95476bcec83e583.png

Share this post


Link to post
  • 0

@tuanphan Thanks very much for the code. Do I add into the custom CSS window like before? The window still contains the code for the remove cart button. Do I add it to that or delete that code first?

Share this post


Link to post
  • 0

Hi @tuanphan sorry to hassle you again thanks for the code to remove the pricing information, however you have sent 2 different versions of the code. Firstly which code is correct? THe first time you sent:.product-price { display: none; } and the second time:product-price { display: none !important; }Which is the correct one please? Secondly the CSS editor still contains the very first code you sent to remove the add to cart button. Do I add the remove pricing code to it or delete the remove cart code first? Again sorry for the hassle but your reply will be very much appreciated. Thanks.

Share this post


Link to post
  • 0

Hi @tunanphan ever so sorry but you didn't indicate which code to use. You have sent two different versions of the remove pricing code.

product-price { display: none !important; }

OR.product-price { display: none; }I understand to add to cartThanks

Share this post


Link to post
  • 0

Hi @tuanphan ever so sorry but you didn't indicate which code to use. You have sent two different versions

product-price { display: none !important; }or .product-price { display: none; } I understand to add to cart Thanks.

Share this post


Link to post
  • 0

Thanks a million! It worked. Sorry about my earlier message about asking for clarification again - my bad. I didn't read your reply correctly when you wrote 'important' - doh!

Share this post


Link to post
  • 0

Hi @tuanphan there is no upvote button available next to the grey box with the code in it. Suggest you take a look at this message trail and if you see an upvote button next to the coding please go ahead and vote. Thanks hope this helps.

Share this post


Link to post

Create an account or sign in to comment

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


×
×
  • Create New...