Shopify themes, liquid, logos, and UX
Hi, The only thing we cant change and translate to swedish is the Sold out text on items not in stock.
We would like it to say coming soon instead, but in swedish.
Tried to go via the theme, chenge code, products and the translate the word but nothing happens.
Solved! Go to the solution
This is an accepted solution.
Hey @Kenneth
Follow these Steps:
1) Go to Online Store
2) Edit Code
3) Find theme.liquid file
4) Add the following code in the bottom of the file above </body> tag
<style>
.badge.badge-size-sm.badge-soldout.bottom-left {
visibility: hidden !important;
}
.badge.badge-size-sm.badge-soldout.bottom-left:after {
visibility: visible !important;
left: 20px !important;
content: "Kommer snart" !important;
background: #a9a9a9 !important;
position: relative !important;
padding: 4px !important;
border-radius: 20px !important;
}
</style>
RESULT:
If I managed to help you then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
This is an accepted solution.
Thank you so much, it worked 🙂
This is an accepted solution.
Hey @Kenneth
Keep the previous code which you added and add this new code above </style> in the end of theme.liquid file.
.badge.badge-size-lg.badge-soldout.bottom-left:after {
visibility: visible !important;
content: "Kommer snart" !important;
top: 0 !important;
left: 0 !important;
background: #a9a9a9 !important;
position: absolute !important;
padding: 10px !important;
white-space: nowrap !important;
border-radius: 30px !important;
}
.badge.badge-size-lg.badge-soldout.bottom-left {
visibility: hidden !important;
}
RESULT:
If I managed to help you then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
Hey @Kenneth
Welcome to Shopify Community! Can you share your Store URL so I can have a look on it? Also, if you have password enabled then please share the password as well. Your cooperation would be greatly appreciated.
Best Regards,
Moeed
This is an accepted solution.
Hey @Kenneth
Follow these Steps:
1) Go to Online Store
2) Edit Code
3) Find theme.liquid file
4) Add the following code in the bottom of the file above </body> tag
<style>
.badge.badge-size-sm.badge-soldout.bottom-left {
visibility: hidden !important;
}
.badge.badge-size-sm.badge-soldout.bottom-left:after {
visibility: visible !important;
left: 20px !important;
content: "Kommer snart" !important;
background: #a9a9a9 !important;
position: relative !important;
padding: 4px !important;
border-radius: 20px !important;
}
</style>
RESULT:
If I managed to help you then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
This is an accepted solution.
Thank you so much, it worked 🙂
Thank you for your reply. I'm glad to hear that the solution worked well for you. If you require any more help, please don't hesitate to reach out. If you find this information useful, a Like would be greatly appreciated.
Hello again 🙂
it woked at the start page, but not when you you go to the product?
It says sold out on the image but "Kommer snart" under the prize.
This is an accepted solution.
Hey @Kenneth
Keep the previous code which you added and add this new code above </style> in the end of theme.liquid file.
.badge.badge-size-lg.badge-soldout.bottom-left:after {
visibility: visible !important;
content: "Kommer snart" !important;
top: 0 !important;
left: 0 !important;
background: #a9a9a9 !important;
position: absolute !important;
padding: 10px !important;
white-space: nowrap !important;
border-radius: 30px !important;
}
.badge.badge-size-lg.badge-soldout.bottom-left {
visibility: hidden !important;
}
RESULT:
If I managed to help you then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
Thank you 🙂
Thank you for your reply. I'm glad to hear that the solution worked well for you. If you require any more help, please don't hesitate to reach out. If you find this information useful, a Like would be greatly appreciated.
Hi @Kenneth
Go to admin > theme > choose themes > click the 3 dots > click edit default theme content.
Go to products
Scroll down. Find the sold out.
Change it whatever you want and Save.
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
thanks, we tried that, but nothing changes , still the sold out text , even if we add another text
Hi @Kenneth
This is Richard from PageFly - Shopify Page Builder App
Please change the text in your theme default content to get it solved without using any code
Step 1: Online Stores > Themes > More Actions > Edit Default theme content
Step 2: Search for Sold out text and edit it in the product part
Hope this can help you solve the issue
Best regards,
Richard | PageFly
Please let me know if it works by giving it a Like or marking it as a solution!
➜ Optimize your Shopify store with PageFly Page Builder (Free plan available)
All features are available from Free plan. Live Chat Support is available 24/7.
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024