I am attempting to make a block for a ‘short-text’ line item property within a product listing. Where I struggle is that the line item property needs to be contained within a form element, but I cannot create {% when ‘short-text’ %} within another {%when%} statement (such as the buy button, where the form element is). Do you know of a workaround I could utilize? I would really like to keep this a block, so that the label, placeholder, arrangement, and quantity are customizable within the theme editor.
Okay. I was able to do this by creating and closing another {% case %} within the form element.
