WebsiteBaker Community Forum

WebsiteBaker Support (2.8.x) => Bakery Shop => Topic started by: mgeene on April 04, 2014, 10:14:56 AM

Title: dropdown instead of input field
Post by: mgeene on April 04, 2014, 10:14:56 AM
I would like a dropdown option when filling in the numbers of article instead of a input field, is this possible and how to realize that?

Thanks for your comment
Title: Re: dropdown instead of input field
Post by: marmot on April 04, 2014, 08:59:34 PM
Hi,

in the pages settings find the input for overview and replace
Code: [Select]
<input type="text" name="item[ITEM_ID]" class="mod_bakery_main_input_f" value="1" size="2" /> with something like
Code: [Select]
    <select class="mod_bakery_main_input_f" name="item[ITEM_ID]" size="1">
      <option>1</option>
      <option>2</option>
      <option>3</option>
    </select>
for the detail view do something similar in the details footer input field.

regards
Title: Re: dropdown instead of input field
Post by: mgeene on April 07, 2014, 12:37:08 PM
Thanks for your answer, plain and simple!