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
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
Subject | Author | Latest Post |
---|---|---|
Subject | Author | Posted |
---|---|---|
36m ago | ||
2 hours ago | ||
3 hours ago | ||
4 hours ago | ||
4 hours ago |