This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% assign choices = "Facebook, Twitter, Google, Best Toys Bulletin, John Doe" %} | |
{% assign required = true %} | |
<div class="form-vertical"> | |
<p> | |
<label for="how-did-you-hear-about-us">How did you hear about us?</label> | |
<select id="how-did-you-hear-about-us" name="attributes[how-did-you-hear-about-us]"> | |
<option value=""{% if cart.attributes.how-did-you-hear-about-us == "" %} selected{% endif %}>Please make a selection</option> | |
{% assign optionsArray = choices | split: ',' %} | |
{% for o in optionsArray %} |