Shopify themes, liquid, logos, and UX
Hello,
I have this "Free monogram" option for my products.
https://www.golden-pigs.com/products/handmade-ceramic-blackboard-piggy-bank
Now it's mandatory...
The code used is this:
<input required="" id="monogram" style="width:120px; max-width:100%;" type="text" name="properties[Monogram]" data-gtm-form-interact-field-id="0">
BUT it was moved from <!-- /templates/product.liquid --> to Sections <!-- /templates/product.liquid --> and there ... it's missing.
Help pls! I want to remove the "required" because it's stopping the add to cart if it's not filled.
AND if it's not too much a way to have this only for some products? Not mandatory. 🙂
Looking forward for your answers!
Kind regards,
Cristi
Remove Required="" from the code. This is making the input field be required for the form it's in. Is your code editor not letting you remove required?
hello,
I know... but I can't find the code line...
It was moved from <!-- /templates/product.liquid --> to Sections <!-- /templates/product.liquid --> and there ... it's missing.
Hi @Golden_Pigs ,
You need to remove attribute require, it would be like that
<input id="monogram" style="width:120px; max-width:100%;" type="text" name="properties[Monogram]" data-gtm-form-interact-field-id="0">
If our suggestions are useful, please let us know by giving it a like, marking it as a solution.
MIDA: Heatmap, Record & Replay |BLOOP Referral Program, Reward |
Need help from our expert? Kindly share your request with us via community@bsscommerce.com
hello,
I know... but I can't find the code line...
It was moved from <!-- /templates/product.liquid --> to Sections <!-- /templates/product.liquid --> and there ... it's missing.
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025