title | issue | author | author_email | author_github |
---|---|---|---|---|
Remove price-specific values from range-filter template |
NEXT-19537 |
Sven Lauer |
svlauer |
- Deprecated variable
currencySymbol
, useunit
instead insrc/Storefront/Resources/app/storefront/src/plugin/listing/filter-range.plugin.js
src/Storefront/Resources/views/storefront/component/listing/filter/filter-range.html.twig
- Changed
src/Storefront/Resources/views/storefront/component/listing/filter/filter-range.html.twig
- Deprecated CSS class
filter-range-currency-symbol
, usefilter-range-unit
instead - Changed snippets
listing.filterRangeActiveMinLabel
,listing.filterRangeActiveMaxLabel
andlisting.filterRangeErrorMessage
- Added variables
minKey
andmaxKey
for dynamic input labels - Added variables
minInputValue
andmaxInputValue
for dynamic input values - Deprecated variable
price
, usemaxInputValue
instead - Deprecated twig block
component_filter_range_min_currency_symbol
, usecomponent_filter_range_min_unit
instead
- Deprecated CSS class
- Changed
src/Storefront/Resources/views/storefront/component/listing/filter-panel.html.twig
to use the new variables - Deprecated forwarding of
price
property insrc/Storefront/Resources/views/storefront/component/listing/filter-panel.html.twig