getAttribute((isset($context["product"]) ? $context["product"] : null), "href", array());
echo "\">";
echo $this->getAttribute((isset($context["product"]) ? $context["product"] : null), "name", array());
echo "
";
// line 9
if ($this->getAttribute((isset($context["product"]) ? $context["product"] : null), "rating", array())) {
// line 10
echo "
";
// line 11
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(range(1, 5));
$context['loop'] = array(
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
);
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
// line 12
echo " ";
if (($this->getAttribute((isset($context["product"]) ? $context["product"] : null), "rating", array()) < (isset($context["i"]) ? $context["i"] : null))) {
// line 13
echo "
";
} else {
// line 15
echo "
";
}
// line 17
echo " ";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 18
echo "
";
}
// line 20
echo " ";
if ($this->getAttribute((isset($context["product"]) ? $context["product"] : null), "price", array())) {
// line 21
echo "
";
// line 22
if ( !$this->getAttribute((isset($context["product"]) ? $context["product"] : null), "special", array())) {
// line 23
echo " ";
echo $this->getAttribute((isset($context["product"]) ? $context["product"] : null), "price", array());
echo "
";
} else {
// line 25
echo " ";
echo $this->getAttribute((isset($context["product"]) ? $context["product"] : null), "special", array());
echo " ";
echo $this->getAttribute((isset($context["product"]) ? $context["product"] : null), "price", array());
echo "
";
}
// line 27
echo "
";
}
// line 29
echo "