All things Shopify and commerce
Hi, I wanted to change the "Buy it now" button text to "CHECKOUT". So I posted a question here and I follow this coding steps:
1) Go to Online store / Themes and 'Edit Code' for your Dawn theme (click the 3 dots to see the 'Edit Code' option
2) Do a find (CTRL+F) for this reference '{{ form | payment_button }}' in your 'buy-buttons.liquid' file (found under 'Snippets').
3) Replace this reference with the following code:
<button type="button" class="shopify-payment-button__button shopify-payment-button__button--unbranded" onclick="document.querySelector('[data-testid]').click();">Checkout</button> <div style="display:none;"> {{ form | payment_button }} </div>
The button now looks as I want BUT IT DOES NOT WORK. When you click it, nothing occours. Please I need help as soon as possible.
Please check code I updated in your previous post
- Helpful? Like and Accept a solution. - Donate: Buy coffee ☕- or Paypal me ❤️
- Ryviu - Product Reviews app, collect consumer photo reviews, import reviews from AliExpress, Amazon, Etsy, Shoppe and Walmart and CSV.
- Lookfy app: Create Image Lookbook, Photo Gallery with product hotspots
- Enjoy 3 months of Shopify for $1/month. Sign up now
User | RANK |
---|---|
50 | |
46 | |
39 | |
28 | |
21 |
On our Shopify Expert Marketplace, you can find many trusted third party developers and fr...
By Arno Nov 27, 2023You've downloaded the Search & Discovery app from the Shopify App store, and as you're ...
By Skye Nov 8, 2023The year-end shopping season is just around the corner. Is a flash sale on your radar? Are...
By Jasonh Nov 6, 2023