boom
This commit is contained in:
commit
e6134722d4
39 files changed
+1199
No files matched your search
@@ -0,0 +1,32 @@
|
||||
<%#
|
||||
NOTE: The code below is an exact duplication of `spree_core/views/checkout/_delivery.html.erb´
|
||||
We overwrote the original so we retain access to it by cloning it here.
|
||||
Feel free to update the code below according to the original if needed!
|
||||
%>
|
||||
|
||||
<fieldset id='shipping_method'>
|
||||
<legend><%= t("shipping_method") %></legend>
|
||||
<div class="inner">
|
||||
<div id="methods">
|
||||
<p class="field radios">
|
||||
<% @order.rate_hash.each do |shipping_method| %>
|
||||
<% next if shipping_method[:id] == @order.digital_shipping_method[:id] %>
|
||||
<label>
|
||||
<%= radio_button(:order, :shipping_method_id, shipping_method[:id]) %>
|
||||
<%= shipping_method[:name] %> <%= number_to_currency shipping_method[:cost] %>
|
||||
</label><br />
|
||||
<% end %>
|
||||
</p>
|
||||
</div>
|
||||
<% if Spree::Config[:shipping_instructions] && @order.rate_hash.present? %>
|
||||
<p id="minstrs">
|
||||
<%= form.label :special_instructions, t("shipping_instructions") %><br />
|
||||
<%= form.text_area :special_instructions, :cols => 40, :rows => 7 %>
|
||||
</p>
|
||||
<% end %>
|
||||
</div>
|
||||
</fieldset>
|
||||
|
||||
<div class="form-buttons">
|
||||
<input type="submit" class="continue button primary" value="<%=t("save_and_continue") %>"/>
|
||||
</div>
|
||||
Reference in new issue
Block a user