Skip to content

Commit

Permalink
Fix store form check_zone_id miss default value
Browse files Browse the repository at this point in the history
  • Loading branch information
chuckaiyu committed Mar 20, 2024
1 parent a3ff98e commit 33137bb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<hr />
<%= f.field_container :checkout_zone_id do %>
<%= f.label :checkout_zone_id, Spree.t(:shipping_zone) %>
<%= f.select :checkout_zone_id, options_for_select(@zones), { include_blank: Spree.t(:no_limits_zone) }, { class: 'select2' } %>
<%= f.select :checkout_zone_id, options_for_select(@zones, @store.checkout_zone_id), { include_blank: Spree.t(:no_limits_zone) }, { class: 'select2' } %>
<small class="form-text text-muted">
<%= raw(Spree.t('admin.store_form.checkout_zone_help')) %>
</small>
Expand Down

0 comments on commit 33137bb

Please sign in to comment.