Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
I want to change my buy now button text in sense theme even though I apply a css code but after that it stucked & i can't change it any more. please help me to do my business cause I am in need of money 😥
URL: www.dropzoneindia.in
Password: 1
Problem: "Buy Now" button text change
Please please please help me 😓
Solved! Go to the solution
This is an accepted solution.
Hey @Shuv1122,
I see you already have updated the content of the buy button using CSS.
If you want to update the content then you need to update the CSS. If you don't remember how to do it, then please follow the steps below:
1. Open the code editor, as shown in the screenshot below.
2. Open the file layouts/theme.liquid and add the code given below:
{% if template contains 'product' %}
<style>
.shopify-payment-button .shopify-payment-button__button--unbranded:after {
content: 'Buy Now'; // You can update the content of your choice in the string
}
</style>
{% endif %}
Code instruction:
3. Done? Now save the file, and try previewing your store to verify the changes. Screenshot:
[NOTE]: It's not recommended to update the content of this button as the button is dynamic and its contents get updated based on the payment methods that you have used on your store.
I hope this helps!
If my response helped you, please consider giving it a like (👍) and marking it as an accepted solution if it resolved your issue. Your feedback helps other community members with similar questions.
Regards,
Abhishek from Swym
When it will finish & i can change it ?
cause, I accidentally write it as "Hit that like button" & now I can't even change it as it's past default text "Buy it now".
please tell me 😓
Hey @Shuv1122,
Unfortunately, you cannot change the Buy Now button text on the product page. Also, I tried reviewing your store and looks like the password you shared is not working. Can you please check that and share the updated password?
Regards,
Abhishek from Swym
Sorry for that, I forgot to change the password.
Password: 1
This is an accepted solution.
Hey @Shuv1122,
I see you already have updated the content of the buy button using CSS.
If you want to update the content then you need to update the CSS. If you don't remember how to do it, then please follow the steps below:
1. Open the code editor, as shown in the screenshot below.
2. Open the file layouts/theme.liquid and add the code given below:
{% if template contains 'product' %}
<style>
.shopify-payment-button .shopify-payment-button__button--unbranded:after {
content: 'Buy Now'; // You can update the content of your choice in the string
}
</style>
{% endif %}
Code instruction:
3. Done? Now save the file, and try previewing your store to verify the changes. Screenshot:
[NOTE]: It's not recommended to update the content of this button as the button is dynamic and its contents get updated based on the payment methods that you have used on your store.
I hope this helps!
If my response helped you, please consider giving it a like (👍) and marking it as an accepted solution if it resolved your issue. Your feedback helps other community members with similar questions.
Regards,
Abhishek from Swym
THANK YOU
THANK YOU
THANK YOU
THANK YOU
THANK YOU
THANK YOU
THANK YOU
THANK YOU
THANK YOU
THANK YOU
THANK YOU
THANK YOU
THANK YOU
THANK YOU SOOOOOOOOOOOOOOOOOOOOOOOOOOOOO MUCH 🤧
YOU SAVE ME & MY BUSINESS TOO !!!
ONE MORE TIME THANK YOU 😄
Hey @Shuv1122,
You're very welcome! I'm really glad I could help! 😊, and it means a lot to hear that it made a difference in your business.
Best of luck with your store!
Regards,
Abhishek from Swym
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