Skip to content

armgit / spree

Public Imported from GitHub
0

Open Source Platform for DTC, B2B Commerce, Marketplaces & Omnichannel. REST APIs, TypeScript SDKs, and production-ready Next.js storefront. Self-host it. Own your data. No vendor lock-in. Zero platform fees.

Add info note to option type filterable.

Matthew Kennedy632c6694cc8f
diff --git a/backend/app/views/spree/admin/option_types/_form.html.erb b/backend/app/views/spree/admin/option_types/_form.html.erb
index fd899fbf84..43809b506b 100644
--- a/backend/app/views/spree/admin/option_types/_form.html.erb
+++ b/backend/app/views/spree/admin/option_types/_form.html.erb
@@ -21,6 +21,9 @@
<%= f.check_box :filterable %>
<%= Spree.t(:filterable) %>
<% end %>
+ <small class="form-text text-muted">
+ <%= raw Spree.t('option_type_filterable_info') %>
+ </small>
<% end %>
</div>
</div>
diff --git a/core/config/locales/en.yml b/core/config/locales/en.yml
index fd0aa9137c..cdad615440 100644
--- a/core/config/locales/en.yml
+++ b/core/config/locales/en.yml
@@ -1186,6 +1186,7 @@ en:
open: Open
open_all_adjustments: Open All Adjustments
option_type: Option Type
+ option_type_filterable_info: 'When an option type is set to Filterable, your storefront visitors are presented with the option to filter a taxon of products based on the option type. A typical example of this would be to filter clothing by size and color.<br><br><b>Please Note:</b> Filters will only be visible in the storefront taxons that contain products with this option type set.'
option_type_placeholder: Choose an option type
option_types: Option Types
option_value: Option Value