Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hello, everyone I have size variations on a product page like S, M, L & "Custom".
I want to display a custom text box for custom sizing. Customers can write custom size detail when clicking on "Custom" size variation & hide it when clicking on S, M, L, size, etc.
This is my text field code
<div class="product-form__input">
<label class="form__label" for="custom-size">Custom Size</label>
<input class="field__input" required type="text" id="custom-size" form="{{product_form_id}}" name="properties[Your Size]" />
</div>
I want show this code after size variant picker block.
Hello @Miraza606-Ozbix ,
Find the callback function or write a new one which will work on click of variant option size only.
You have to just make it conditional (show/hide) so it will work on variant option size and
Thanks
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025