Skip to content

Product comparison templates

Template list

Path Description
Comparison/comparison_list.html.twig Main page for comparison.
Comparison/comparison.html.twig A single comparison list.

Custom Twig functions

ses_comparison_category

Returns the comparison category for the catalog element. This function is a wrapper for ComparisonServiceInterface::getComparisonCategory().

1
{{ ses_comparison_category(catalogElement) }}