Jump to content

Ekat27

Member
  • Posts

    13
  • Joined

  • Last visited

Posts posted by Ekat27

  1. Okay so bear with me here because I tried to follow those steps as I understood them and its still not working, so I am double checking with you that I am inputting the right code in the right spots as I am still having trouble following..

    1st I followed the Quick Install instructions and pasted this code into my Settings> Advanced>Code Injection>Header:

    <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
    <script src="https://d1j8mu9lowy9zf.cloudfront.net/twcsl/0.1d19/twcsl.js"></script>
    

    Then I raw copied the code that you wrote in the second bullet point and pasted it into my Design>Custom CSS:

     
     

     

    Then, I added I went into my Commerce>Inventory> and selected on a product I wanted to mark NEW. I added a tag called NEW.

     

    Am I missing something here?? Did I input something in the wrong place?

     

     

     

  2. On 3/1/2022 at 2:35 PM, creedon said:

    Another variation on the above technique. This code places the word new where SS puts the sale and sold out meta information. It takes a hammer approach. If you put a new tag on your product then whatever meta information was there, if any, will be overwritten. You need to manage the state of the meta information manually.

    Please see Store Product Meta New.

    Thank you for your responses! I am not very tech savvy and know very little about code and its terms, so please bear with me here...From the steps written above, I need to replace a text block with a code block? <---Is this done in the Custom CSS page? Then I need to add a page injection header, as well as the code you mentioned above that was adapted for v7.1 site? Sorry to make you go through it again. I just want to make sure I understand all of the steps I need to do to achieve this on my website since I think it would be a helpful feature to my customers.

    I am not sure if you mentioned it in these steps, but how do I go about adding the '-NEW!' feature to only certain products?

  3. On 5/6/2021 at 9:38 AM, creedon said:

    Replace your text block with a code block and add the following.

    <p>
    
      <span style="color : red;"></span>
      
      = limited edition prints available
      
      </p>

    Let us know how it goes.

    Any idea how I would do this for my jewelry website? I would like to 

     

    On 5/6/2021 at 9:38 AM, creedon said:

    Replace your text block with a code block and add the following.

    <p>
    
      <span style="color : red;"></span>
      
      = limited edition prints available
      
      </p>

    Let us know how it goes.

    Hi! I was wondering how I would alter this code for my jewelry website? I would like to display with my product titles when an item is a new release by putting -NEW! in a bolden font. Is this possible? And how do I make it applicable to only the products that it applies? Any help is greatly appreciated!

  4. On 1/9/2022 at 9:14 AM, paul2009 said:

    There's a built in feature called "limited availability labels" that you may find useful. If you enable this feature, customers will see a message when stocks are low, and this may prevent them selecting an invalid quantity. 

    I tried this and it does not work...I am not sure I would want to do this anyway because very rarely do I have a lot of each product so it would show the availability on each product which i think gets kind of busy (especially on mobile version). Any thoughts on the coding? Thank you for the idea though!

  5. Site URL: https://theretrocollectiveco.com

    Hi!

    I am looking to customize my website so that when a customer selects a product that has more than a quantity of 1 (and therefore has a quantity box in the listing) they are only able to select up to the amount that I have available. For example, if you go to this listing:

    https://www.theretrocollectiveco.com/shop/p/preserved-purple-viola-teardrop-necklace-gold

    I have 2 of these necklaces available, but when you go to the quantity box, you can select as much quantity as you'd like using the ^ arrow button. If possible, I would like to instead have a quantity box that drops down and allows you to pick the options 1 or 2 and so on if say I had a product that had 2+ quantity available. Right now, if someone tries to check out with say 5 necklaces (just as an example), a pop-up will show up when they try to add it to their cart saying "Sorry, we only have 2 of that item available." I ideally do not want these pop-ups on my website which is why I would like to do the drop-down style box instead if possible! Anyone have ideas?? Any and all help is much appreciated!

    Screen Shot 2022-01-09 at 12.59.59 AM.png

  6. On 11/7/2021 at 10:48 PM, bangank36 said:

    You can get rid of the sold out text in :after element

    image.thumb.png.26edd2cb49d34bd7aa8a499219e4237a.png

    So I tried this.. when I deleted the first "Sold out" line it did this (pic below) and deleted all of the SOLD OUT text. 1760705913_ScreenShot2021-11-09at1_24_27PM.thumb.png.7a81ddabe78e31aaa483647bda273b23.png

     

    Then I undid that and deleted just the second line of SOLD out, and it looks better, but undid the grey overlay on the image (pic below)..any suggestion on what to do from here?

    758941204_ScreenShot2021-11-09at1_25_27PM.thumb.png.e551707dee5312c73218d92ea328d23a.png

    Your help is much appreciated!

  7. Site URL: https://theretrocollectiveco.com

    So I followed this code (from a fellow forum user-thanks!) to add the darkened overlay to my product image when it is sold out. But if you look closely at my very left image, you can see in the top left corner that it says "Sold out" too, meaning it is written twice on the image. I just want the boldened text in the middle of the image for the customers to see. Do yall know how I'd adjust the code so that I didn't see the text in the upper left corner as well? I tried doing it myself but couldn't figure it out. I know this is really nit-picky, but any and all help is appreciated!! 

     

    .post-type-store-item.sold-out .grid-image:before {
      content: 'Sold Out';
      font-weight: bolder;
      color: #fff;
      font-size: 2em;
      width: 100%;
      height: 100%;
      position: absolute;
      z-index: 999;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      display: flex;
        align-content: center;
        justify-content: center;
        align-items: center;
    }
    .post-type-store-item.sold-out .grid-image:after {
      content: 'Sold Out';
      width: 100%;
      height: 100%;
      position: absolute;
      top: 0;
      left: 0;
      background: #000;
      opacity: 0.2
    }
    .post-type-store-item.sold-out .product-mark.sold-out {
      display: none;
    }

    84DDB031-39E1-4BC1-A5CF-EE6DDD2F23BE.png

  8. So I followed the codes written to add the darkened overlay to my product image when it is sold out. But if you look really very closely at my very left image, you can see in the top left corner that it says "Sold out" too, meaning it is written twice on the image. I just want the boldened text in the middle of the image for the customers to see. Do yall know how I'd adjust the code so that I didn't see the text in the upper left corner as well? I tried doing it myself but couldn't figure it out. I know this is really nit-picky, but any and all help is appreciated!! 

    Screen Shot 2021-11-07 at 2.58.19 AM.png

×
×
  • 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.