Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hello!
Could someone please help me change the below "Start Shopping" button text to "Join Our Waitlist." My shop's website is www.shayrdair.com, and when you click on the shopping cart icon in the top right corner, you'll see the shopping cart pop-up. I'm not technical and have spent a while trying to figure this out, so could really use some help! Thank you in advance! 😊
Desktop
Mobile
Solved! Go to the solution
This is an accepted solution.
Hey
I've taken a quick look at this for you, and a few suggestions.
The best solution - if the theme has this option.
Alternatively, it could be in the theme settings:
Go to Online Store > Themes and click Customize for your active theme.
Look for options in the Theme Settings panel (usually on the left sidebar).
If available, update the relevant field for the button's text.
If neither of these work, you can use my more hacky solution, which changes the text in the DOM, just copy and paste this below the <head> tag in your theme.liquid file:
<script>
// Custom created by Ollie from autoBlogger - https://apps.shopify.com/autoblogger
document.addEventListener('DOMContentLoaded', function() {
var buttons = document.querySelectorAll('button, .button');
buttons.forEach(function(button) {
if (button.textContent.trim().toLowerCase() === 'start shopping') {
button.textContent = 'Join Our Waitlist';
}
});
});
</script>
autoBlogger: Seamlessly scheduled, fully automated, AI-powered, and SEO-optimised blogging with a host of free extras! Start your 14-day free trial today!
This is an accepted solution.
Hey
I've taken a quick look at this for you, and a few suggestions.
The best solution - if the theme has this option.
Alternatively, it could be in the theme settings:
Go to Online Store > Themes and click Customize for your active theme.
Look for options in the Theme Settings panel (usually on the left sidebar).
If available, update the relevant field for the button's text.
If neither of these work, you can use my more hacky solution, which changes the text in the DOM, just copy and paste this below the <head> tag in your theme.liquid file:
<script>
// Custom created by Ollie from autoBlogger - https://apps.shopify.com/autoblogger
document.addEventListener('DOMContentLoaded', function() {
var buttons = document.querySelectorAll('button, .button');
buttons.forEach(function(button) {
if (button.textContent.trim().toLowerCase() === 'start shopping') {
button.textContent = 'Join Our Waitlist';
}
});
});
</script>
autoBlogger: Seamlessly scheduled, fully automated, AI-powered, and SEO-optimised blogging with a host of free extras! Start your 14-day free trial today!
Thank you, @Olllie! I found it under the Theme Settings! Very very much appreciated 🙂
Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024