I'd like to make the custom text fields for the product modifiers in Exp:resso Store larger on the front end and user-expandable since they will need to type large amounts of text. Right now they are only one line high which makes it difficult to write a paragraph easily.

enter image description here


You can change any of the inputs to be textareas oppose to text inputs by doing something along the lines of:

      <label>{modifier_name}</label><br />
      {if modifier_instructions}<small>{modifier_instructions}</small><br />{/if}
      {if modifier_type == 'var' OR modifier_type == 'var_single_sku'}
        <select name="{modifier_input_name}">
            <option value="{option_id}">
              {if price_mod_val} ({price_mod}) {/if}
        <textarea name="{modifier_input_name}"></textarea>

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.