/** * Implements hook_preprocess_HOOK(). */ function carters_core_preprocess_facets_result_item(&$variables) { if ($variables['facet']->get('name') == 'Popust') { $variables['value'] = $variables['value'] . '%'; } }
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter