Jump to content


  • Posts

  • Joined

  • Last visited

mindfulrelease's Achievements

  1. Hi, I am trying to remove the image overlay on my product images. I am on Squarespace 7.0 and I can't find any information regarding how to change it for those of us stuck in the stone ages. Any help would be great, thank you!
  2. I have scoured the internet looking for an answer to this and have come so close so many times.. I am looking for custom code to remove the Add to Cart button on individual products on my Squarespace site. I am looking to have different products on my shop page that just link to amazon affiliate pages, therefore I don't need an add to cart button on the product. It seems the simplest option is to hide the Add to Cart Button and just have a hyperlink in the description of the product for the purchase. But, ideally, I would love a button that just links to a custom URL. I am using a BRINE family template (Sonora) and my website is www.mindfulrelease.com I have found many ways to do this, but none that are compatible with AJAX being on. I just want the button gone without having to refresh the page. Any help would be greatly appreciated! I tried the following AJAX compatible code, and it was very close, but I couldn't figure out how to apply the hiding of the button to just one product with the tag "hide-atc". I also want individual products to link to different URLs, so if I have to create different tags for those products, I'm happy doing that as well. I am pretty novice at this all, and having an old version of Squarespace definitely doesn't make researching this any easier. <script> window.Squarespace.onInitialize(Y, function() { var parent = document.getElementsByClassName("sqs-add-to-cart-button-wrapper")[0]; var oldBtn; var newBtn; oldBtn = document.getElementsByClassName("sqs-add-to-cart-button")[0]; if (oldBtn) { oldBtn.style="display: none;" } if (parent) { newBtn = document.createElement("div"); newBtn.className = "amazoncheckoutbuttonwrapper"; newBtn.innerHTML = "<a class='amazoncheckoutbutton' target='_blank' href='https://www.amazon.com/Mistys-Tale-Leopold-J-Cimino/dp/1733605800/'>SHOP NOW</a>"; parent.appendChild(newBtn); } }); </script> I also added this: window.Squarespace.onInitialize(Y, function() { var pid = document.querySelector('.ProductItem-details .sqs-add-to-cart-button'); if (pid) { pid.classList.remove('sqs-editable-button'); } }); And I tried the variation of this, but it didn't work: window.Squarespace.onInitialize(Y, function() { var pid = document.querySelector('.tag-hide-atc .ProductItem-details .sqs-add-to-cart-button'); if (pid) { pid.classList.remove('sqs-editable-button'); } });
  3. Hi, I am trying to add products to my Shop page, but when I make the product visible and published, it doesn't appear on my Shop. Also, the Manage Products button doesn't do anything when I click on it, so I can't add a product block manually into the shop page, if that's what that button is for. Any help would be greatly appreciated! Thank you. My website is: www.mindfulrelease.com
  4. Site URL: http://www.mindfulrelease.com Hi there! I am trying to sell custom fonts on my website, and when a customer buys those fonts, I want them to be able to choose a licensing option that would fluctuate the price. I am looking to have a required drop down menu under the "Add to Cart" button on my shop page. Each option on the drop down menu would need its own price attached to it, so that customers can choose their licensing type and see how much it costs before adding to cart. Also, I would like there to be a hyperlink in the description of the product, linking customers to my "Licensing" page to read up on each license type before purchasing. In the image provided, I have the word "Licensing" highlighted, which I am hoping to have hyperlinked. As far as I can tell, the custom forms that Squarespace allows me to add on my products doesn't allow for hyperlinks in the description. These forms also pop up after the customer clicks "Add to Cart," so it wouldn't help them know what licensing type they are adding to cart, and the price associated with it. Any help would be greatly appreciated, or any type of workaround. Thank you!
  • 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.