Skip to content
Snippets Groups Projects
Commit b606ab27 authored by Dimitris Bozelos's avatar Dimitris Bozelos Committed by Jonathan Sacksick
Browse files

Issue #3316974: PriceItem field type does not filter available currencies stored in config.

parent 9dff6adf
No related branches found
No related tags found
8 merge requests!418Issue #3511232 by ccjjmartin: Fix add to cart dropdown when only one non-default variation type is provided,!379Issue #3491248 Validation is breaking the amount number format decimal point,!375Issue #3413020 by czigor: Using a translatable string as a category for field...,!357Issue #2914933: Add service tags to order-related interfaces,!344Resolve #3107602 "Product attributes do not update visually when switching variations",!343Resolve #3107602 "Product attributes do not update visually when switching variations",!342Issue #3476581 by josephr5000: add OrderItemLabelEvent,!123Issue #3316974: PriceItem field type does not filter available currencies stored in config
......@@ -127,6 +127,16 @@ class PriceItem extends FieldItemBase {
return $element;
}
/**
* {@inheritdoc}
*/
public static function fieldSettingsToConfigData(array $settings) {
$settings['available_currencies'] = array_filter(
$settings['available_currencies']
);
return $settings;
}
/**
* {@inheritdoc}
*/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment