{if $this->getAttribute('showTitle') && $this->getAttribute('frontendTitle')}

{$this->getAttribute('frontendTitle')}

{/if} {if $this->getAttribute('content') != ""}
{$this->getAttribute('content')}
{/if} {* Image background class *} {assign var=imgBgClass value=''} {if $this->getAttribute('imgBg')} {assign var=imgBgClass value='product-image-background'} {/if}
{strip} {foreach $productsData as $entry} {assign var=Product value=$entry.Product} {assign var=hasImage value=0} {if $Product->getImage()} {assign var=hasImage value=1} {/if}
{$Product->getTitle()}
{if !empty($entry.Price)} {assign var=Price value=$entry.Price} {assign var=RetailPrice value=$entry.RetailPrice}
{if $RetailPrice}
{$RetailPrice->create()}
{/if}
{$Product->getPriceDisplay()->create()}
{/if} {if $this->getAttribute('showButtons')}
{template_event name="quiqqer::product-event::productCard::buttons::before" Product=$Product} {if QUI\ERP\Products\Utils\Products::isVariant($Product)} {locale group="quiqqer/order" var="control.basket.buttonVariantAdd.text"} {else} {if $this->getAttribute('buttonAction') == 'addToBasket' && !$Product->hasRequiredUserInputFields()} {assign var=disabled value=0} {if $Product->getMaximumQuantity() < 1} {assign var=disabled value=1} {/if} {else} {/if} {/if} {template_event name="quiqqer::product-event::productCard::buttons::after" Product=$Product}
{/if}
{/foreach} {/strip}
{if $moreUrl} {/if}