Brooklyn: change "size" and "buy it now" to different language/text

New Member
5 0 0

Hi. I have an issue with the product liquid. I want to change the name of size and buy it now, but can't find it in change language either in the code.

I have figured that this is the button text. 
When inspecting the html in the webpage this is the text
<button type="button" class="shopify-payment-button__button shopify-payment-button__button--unbranded _2ogcW-Q9I-rgsSkNbRiJzA _2EiMjnumZ6FVtlC7RViKtj _2-dUletcCZ2ZL1aaH0GXxT" data-testid="Checkout-button">Buy it now</button>
In edit code this is the code.

</button>
{% if section.settings.enable_payment_button %}
{{ form | payment_button }}
{% endif %}
</div>

How can  I change the text. Also how can I change Size:

<label class="single-option-radio__label" for="ProductSelect-option-0">
Size
</label>

 

Webpage: ikkebutikk.no 

0 Likes
Highlighted
Shopify Expert
2220 376 466

Hi @Ikke-69 

We can not change language of buy now button because its generating by shopify but you can change size by following:

.shopify-payment-button__button{width:50%;}

If you want to change text then you can create custom buy now button 

<a class="btn" href='/cart/{{product.variants[0].id}}:1'>Buy now</a>

here this will add only first variants 

Want to modify or custom changes on store hire me.
If helpful then please Like and Accept Solution.
Email: jasoliyabrijesh123@gmail.com
Skype: jasoliya.brijesh
Want to get Free review and advice for sale on store ?? just text me here
0 Likes