{if $this->getAttribute('showTitle') && $this->getAttribute('frontendTitle')}
{/if} {if $this->getAttribute('content') != ""}
{$this->getAttribute('content')}
{/if}
{if $arrows}
{/if}

{foreach from=$entries item=entry key=key} {* 1. Avoid big jump effect on page load *}
- $perView - 1}style="display: none;"{/if}{* (1) *} {if $key <= $perView - 1}style="width: calc(100% / {$perView});"{/if}{* (1) *}> {if $entry['review']}
  {$entry['review']}
  {/if}
  {if $entry['image']} {image src=$entry['image'] loading="lazy" width="200" height="200" data-src="{$entry['image']}" } {/if}
  {if $entry['customerName']} {$entry['customerName']} {/if} {if $entry['addition']} {$entry['addition']} {/if} {if $entry['url']} {if $entry['urlTitle']} {$entry['urlTitle']} {else} {$entry['url']} {/if} {/if}
{/foreach}

{if $arrows}
{/if}
{assign var=counter value=0} {foreach from=$entries item=entry} {assign var=counter value=$counter+1} {/foreach}