Jump to content

Edit Product Button link

Recommended Posts

  • Replies 2
  • Views 995
  • Created
  • Last Reply

Hi.

You can remove add to cart on these products with below code, then add text link on description, then let me know. I will give the code to turn text link to button.

body#item-5f20237007af52092cf7707e .sqs-add-to-cart-button {
    display: none !important;
}

body#item... is product page ID. See how to find page id.

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

Thank you so much tuanphan! 

the code you sent me doesnt remove the button but i added this:

<style>
 .sqs-add-to-cart-button-wrapper {
   display: none !important;
   visibility: hidden !important;
   opacity: 0 !important;}
</style>

I solved the other problem by adding a mailto: instead of adding a new button which also works for me. 

 

 

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.