Shopify themes, liquid, logos, and UX
I'd like to be able to change the value and the label separately.
<input type="radio" name="product-include 'the beam' tube squeezer tool?" id="future-focus-vitamin-c-serum-option-include 'the beam' tube squeezer tool?-1-" value="VALUE HERE" checked="" class="product-variant__input product-variant-value" data-com.bitwarden.browser.user-edited="yes">
<label for="future-focus-vitamin-c-serum-option-include 'the beam' tube squeezer tool?-1-" class="product-variant__label">LABEL HERE
</label>
I want to do this because I want to shorten the label to just Yes and No, but for the shipping invoice and packaging slip it shows the value which should be more verbose and clear
Thanks very much for the help!
Solved! Go to the solution
This is an accepted solution.
You can do something like below code:
{{ label | replace: "Yes, include 'The Beam'", "Yes" }}
This is an accepted solution.
You can do something like below code:
{{ label | replace: "Yes, include 'The Beam'", "Yes" }}
Sorry to be dense, but where would I make this change? In theme.liquid?
Thanks so much
woo i think i got it!
Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024Digital marketers and app developers have tracked activity in apps and websites for yea...
By Ollie Mar 13, 2024February was an exciting month with Shopify Editions, informative webinars, and more! F...
By JasonH Mar 7, 2024