shipping_method.twig (1271B)
1 {% if error_warning %} 2 <div class="alert alert-warning alert-dismissible"><i class="fa fa-exclamation-circle"></i> {{ error_warning }}</div> 3 {% endif %} 4 {% if shipping_methods %} 5 <p>{{ text_shipping_method }}</p> 6 {% for shipping_method in shipping_methods %} 7 <p><strong>{{ shipping_method.title }}</strong></p> 8 {% if not shipping_method.error %} 9 {% for quote in shipping_method.quote %} 10 <div class="radio"> 11 <label> {% if quote.code == code or not code %} 12 {% set code = quote.code %} 13 <input type="radio" name="shipping_method" value="{{ quote.code }}" checked="checked" /> 14 {% else %} 15 <input type="radio" name="shipping_method" value="{{ quote.code }}" /> 16 {% endif %} 17 {{ quote.title }} - {{ quote.text }}</label> 18 </div> 19 {% endfor %} 20 {% else %} 21 <div class="alert alert-danger alert-dismissible">{{ shipping_method.error }}</div> 22 {% endif %} 23 {% endfor %} 24 {% endif %} 25 <p><strong>{{ text_comments }}</strong></p> 26 <p> 27 <textarea name="comment" rows="8" class="form-control">{{ comment }}</textarea> 28 </p> 29 <div class="buttons"> 30 <div class="pull-right"> 31 <input type="button" value="{{ button_continue }}" id="button-shipping-method" data-loading-text="{{ text_loading }}" class="btn btn-primary" /> 32 </div> 33 </div>