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.

[SD-1158] Use option value presentation in tooltip

agnieszkajacek43310d120569
diff --git a/frontend/app/views/spree/products/_color_option_type.html.erb b/frontend/app/views/spree/products/_color_option_type.html.erb
index 2bc8ec1e0d..9a0e83421d 100644
--- a/frontend/app/views/spree/products/_color_option_type.html.erb
+++ b/frontend/app/views/spree/products/_color_option_type.html.erb
@@ -9,7 +9,7 @@
<li>
<%= label_tag "variant_option_value_id_#{option_type[:id]}_#{option_value[:id]}",
class: "m-1 m-sm-2 m-md-1 color-select-label",
- title: option_value[:name],
+ title: option_value[:presentation],
data: { toggle: "tooltip", placement: "bottom" } do %>
<%= radio_button_tag "variant_option_value_id_#{option_type[:id]}",