xavier-cusso 1 Share Posted February 20, 2020 Site URL: https://pelican-chiton-xwy4.squarespace.com/shop/fos-classic Hello, I would like to change "SOLD OUT" to "COMING SOON" labels on the YOU MIGHT ALSO LIKE section at the bottom of my Product page. https://pelican-chiton-xwy4.squarespace.com/shop/fos-classic (7.1) Is there any way to do that in the Custom CSS? Thanks, Xavier Link to post
0 paul2009 30,159 Solution Share Posted February 20, 2020 See a post I wrote about this here: https://sf.digital/squarespace-solutions/squarespace-products-changing-sold-out-to-sold-or-something-else emily.klein, AdvancedNovice and xavier-cusso 2 1 Hi, I'm Paul, founder of SF Digital, building the features that Squarespace didn't include™.I value honesty, integrity, transparency and respect. Links in my posts may refer to SF Digital products or may be affiliate links.I ♥ Squarespace. I've been a loyal and enthusiastic supporter of the platform since 2007. Link to post
0 jteranti 0 Share Posted March 4, 2020 In the past I have cut and pasted code like that below into the "Page Header Injection Code" for individual pages, but this time it is not working. Any ideas? Am I missing something? .ProductItem-relatedProducts .product-mark.sold-out { visibility: hidden; font-size:0; } .ProductItem-relatedProducts .product-mark.sold-out:after { visibility: visible; content: 'Coming Soon'; font-size: 18px; } Link to post
0 paul2009 30,159 Share Posted March 5, 2020 The code I provided is CSS so, rather than Code Injection, it should be added to Design > Custom CSS. Hi, I'm Paul, founder of SF Digital, building the features that Squarespace didn't include™.I value honesty, integrity, transparency and respect. Links in my posts may refer to SF Digital products or may be affiliate links.I ♥ Squarespace. I've been a loyal and enthusiastic supporter of the platform since 2007. Link to post
0 kiwistick 0 Share Posted January 18 Hi Paul! I just tried to use your code to change one product category from Sold Out to Coming Soon. Unfortunately it did not work. I changed all as per your description and added to the Footer, then saved. The products right now are still shown as Hidden, not sure this is the problem? But I guess not. Any other suggestions why this may be? Link to post
0 tuanphan 9,568 Share Posted January 20 On 1/19/2021 at 1:02 AM, kiwistick said: Hi Paul! I just tried to use your code to change one product category from Sold Out to Coming Soon. Unfortunately it did not work. I changed all as per your description and added to the Footer, then saved. The products right now are still shown as Hidden, not sure this is the problem? But I guess not. Any other suggestions why this may be? Can you share your site url? We can check easier Email me if you have need any help (free, of course :-D). Answer within 24 hours. How to: Setup password & share url Insert Custom CSS Open Page Header Upload Custom Font Find Block ID, Data Section ID Contact Squarespace Customer Care -- Yup! Link to post
0 paul2009 30,159 Share Posted January 20 On 1/18/2021 at 6:02 PM, kiwistick said: I just tried to use your code to change one product category from Sold Out to Coming Soon. @kiwistick I sent you a direct message on Monday asking for more information. tuanphan 1 Hi, I'm Paul, founder of SF Digital, building the features that Squarespace didn't include™.I value honesty, integrity, transparency and respect. Links in my posts may refer to SF Digital products or may be affiliate links.I ♥ Squarespace. I've been a loyal and enthusiastic supporter of the platform since 2007. Link to post
0 FRED10Q 0 Share Posted February 28 Hi @paul2009 I tried using your code and it did not work. Could you please message me? Thanks Link to post
0 emily.klein 12 Share Posted March 14 On 2/21/2020 at 3:36 AM, paul2009 said: See a post I wrote about this here: https://sf.digital/squarespace-solutions/squarespace-products-changing-sold-out-to-sold-or-something-else Thanks @paul2009 this worked perfectly tuanphan and paul2009 1 1 Link to post
0 emily.klein 12 Share Posted March 30 On 2/21/2020 at 3:36 AM, paul2009 said: See a post I wrote about this here: https://sf.digital/squarespace-solutions/squarespace-products-changing-sold-out-to-sold-or-something-else Hi @paul2009this is probably an embarrassingly obvious question, but if I want to use the code you provided here on more than one tag, do I need to duplicate the entire code and change the tag name or is there a simpler way to do it? Ie. add a comma or something after 'tag-mask' and then add an additional tag. <script> var oosCat = 'tag-mask''; var oosDesc = 'Coming Soon'; var a= ... Thanks! Link to post
0 paul2009 30,159 Share Posted March 30 16 minutes ago, emily.klein said: If I want to use the code you provided here on more than one tag, do I need to duplicate the entire code and change the tag name or is there a simpler way to do it? Hi @emily.klein The code that I posted is fairly simple and has been written to accept just one tag. You can't add additional tags or duplicate the code. Can you provide a few more details of what you want to achieve? A working link to the products on the site may also help. For example, do you products with different tags that need the same 'sold' message or do they each need different 'sold' messages per tag? Hi, I'm Paul, founder of SF Digital, building the features that Squarespace didn't include™.I value honesty, integrity, transparency and respect. Links in my posts may refer to SF Digital products or may be affiliate links.I ♥ Squarespace. I've been a loyal and enthusiastic supporter of the platform since 2007. Link to post
0 emily.klein 12 Share Posted March 30 12 hours ago, paul2009 said: Hi @emily.klein The code that I posted is fairly simple and has been written to accept just one tag. You can't add additional tags or duplicate the code. Can you provide a few more details of what you want to achieve? A working link to the products on the site may also help. For example, do you products with different tags that need the same 'sold' message or do they each need different 'sold' messages per tag? Hi Paul, Actually if I just tag all the products that I want to use this code for as "coming soon" (and not have the tags visible on the product pages) that will actually work and will be much simpler! Funny how things are always much clearer in the morning! Sorry to have bothered you. And thanks again for providing the code. Emily paul2009 1 Link to post
Question
xavier-cusso 1
Site URL: https://pelican-chiton-xwy4.squarespace.com/shop/fos-classic
Hello,
I would like to change "SOLD OUT" to "COMING SOON" labels on the YOU MIGHT ALSO LIKE section at the bottom of my Product page.
https://pelican-chiton-xwy4.squarespace.com/shop/fos-classic (7.1)
Is there any way to do that in the Custom CSS?
Thanks,
Xavier
Link to post
Top Posters For This Question
4
3
1
1
Popular Days
Mar 30
3
Jan 20
2
Feb 20
2
Feb 28
1
Top Posters For This Question
paul2009 4 posts
emily.klein 3 posts
xavier-cusso 1 post
jteranti 1 post
Popular Days
Mar 30 2021
3 posts
Jan 20 2021
2 posts
Feb 20 2020
2 posts
Feb 28 2021
1 post
Popular Posts
paul2009
See a post I wrote about this here: https://sf.digital/squarespace-solutions/squarespace-products-changing-sold-out-to-sold-or-something-else
emily.klein
Thanks @paul2009 this worked perfectly
paul2009
@kiwistick I sent you a direct message on Monday asking for more information.
Posted Images
11 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment