Skip to content
Snippets Groups Projects
Commit f9ce0ce4 authored by Dimitris Bozelos's avatar Dimitris Bozelos
Browse files

Issue #3455434 Corrected token machine names

parent fa8d3d9a
Branches
Tags
No related merge requests found
......@@ -122,8 +122,8 @@ class ProductPrice {
}
$price_tokens = [
'anonymous_low_price',
'anonymous_high_price',
'anonymous_calculated_low_price',
'anonymous_calculated_high_price',
];
$has_price_token = FALSE;
$numbers = NULL;
......@@ -144,8 +144,8 @@ class ProductPrice {
try {
$replacements[$original] = match ($name) {
'anonymous_low_price' => $numbers['low'] ?? '',
'anonymous_high_price' => $numbers['high'] ?? '',
'anonymous_calculated_low_price' => $numbers['low'] ?? '',
'anonymous_calculated_high_price' => $numbers['high'] ?? '',
};
}
// Do nothing for tokens by other providers.
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment