I am looking to replace the currently displayed options for billing and shipping states. Just want a simple dropdown that lists all the US states as we don't ship internationally. The current datalist format is confusing as it is asking to select or type and our customers are getting confused as they can't select anything.
Can I just replace it the following code:
Same hold true for Billing.
Thanks
Can I just replace it the following code:
Code:
<mvt:if expr="g.States_Empty"> <li class="c-form-list__item o-layout__item u-width-4--m &mvte:global:ShipState_Row;"> <label class="c-form-label u-text-medium u-color-gray-40 is-required u-font-tiny" for="l-ShipState">State</label> <input id="l-ShipState" class="c-form-input c-form-input--large" type="text" name="ShipState" value="&mvte:global:ShipState;" &mvt:shipping_required;> </li> <mvt:else> <li class="c-form-list__item o-layout__item u-width-4--m &mvte:global:ShipState_Row;" data-classlist="c-form-select__dropdown c-form-input--large" data-id="ShipStateSelect" data-hook="mvt-select ShipState"> <label class="c-form-label u-text-medium u-color-gray-40 is-required u-font-tiny" for="ShipStateSelect">State/Province</label> <div class="c-form-select"> <mvt:item name="states" param="ShipStateSelect" /> </div> </li> <li class="c-form-list__item o-layout__item u-width-4--m &mvte:global:ShipState_Row;"> <label class="c-form-label u-text-italic u-color-gray-40 u-font-tiny" for="l-ShipState">Other State</label> <input id="l-ShipState" class="c-form-input c-form-input--large" type="text" name="ShipState" value="&mvte:global:ShipState;"> </li> </mvt:if>
Thanks
Comment