Jump to content

CatalinaTrujillo

Member
  • Posts

    4
  • Joined

  • Last visited

Everything posted by CatalinaTrujillo

  1. Hi, Yes... I am going to try to explain it... English is not my first language. You have to add a Code Injection in the Footer section and a Tag to the product you want to apply the Code Injection. They sent me the code before and I had to adjusted to my needs. I going to share the one Code Injection I am using right now. You need to change the blue words depending of what you need. If you wan to take a look to my website and see how it works, look the Bubble candles. http://www.catalinadreamcorner.com <script> document.addEventListener("DOMContentLoaded", () => { const sfCartBtnInner = document.querySelector('.collection-type-products .tag-by-five .sqs-add-to-cart-button-inner'); if (sfCartBtnInner) { sfCartBtnInner.innerText = "Add 5 Candles to Cart"; sfQtyValue = document.querySelector('.product-quantity-input input[aria-label="Quantity"]'); sfQtyValue.addEventListener('input', function (e) { var sfCandles = this.value * 5; if (sfCandles == 1) { sfCartBtnInner.innerText="Add " + sfCandles + " Candles to Cart"; } else { sfCartBtnInner.innerText="Add " + sfCandles + " Candles to Cart"; } }); } }); </script>
  2. Hi I have the same question. https://www.catalinadreamcorner.com/shopp/p/lavender-ribbon-mini-bubble-candle-box
  3. Hi I would like to know how I can make the quantity of the product to be display on increments of 10 (10-20-30-40...) instead of ones (1-2-3-4-5-6...)
×
×
  • 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.