{* template settings *} {assign var=hideEmptyFields value=QUI::getRewrite()->getProject()->getConfig('templateCologne.settings.hideEmptyFields')}
{template_event name="quiqqer::products::product::begin" Product=$Product} {$jsonLd}

{$Product->getTitle()}

{$Product->getFieldValue("FIELD_PRODUCT_NO")}

{$Product->getDescription()}
{if $Site->getProject()->getConfig('templateCologne.settings.showRetailPrice')} {if $Product->hasOfferPrice()} {**}
{$PriceOldDisplay->create()}
{elseif $PriceRetailDisplay && $Price->getPrice() < $PriceRetail->getPrice()} {**}
{$PriceRetailDisplay->create()}
{/if} {/if}
{$PriceDisplay->create()}
{assign var=counter value=count($detailFields)} {if count($productAttributeList)}
{foreach $productAttributeList as $Field} {$Field->getView()->create()} {/foreach}
{/if} {if count($userInputFields)}
{foreach $userInputFields as $Field} {$Field->getView()->create()} {/foreach}
{/if}
{foreach $fields as $Field}
{$Field->getTitle()}:
{$Field->getValue()}
{/foreach} {assign var=ShippingTimeFrontendView value=\QUI\TemplateCologne\Utils::getShippingTimeFrontendView($Product->getId())} {if $ShippingTimeFrontendView} {$ShippingTimeFrontendView->create()} {/if} {assign var=StockFrontendView value=\QUI\TemplateCologne\Utils::getStockFrontendView($Product->getId())} {if $StockFrontendView} {$StockFrontendView->create()} {/if}
{template_event name="quiqqer::products::product::buttons::begin" Product=$Product} {$buttonsHtml} {template_event name="quiqqer::products::product::buttons::end" Product=$Product}
{template_event name="quiqqer::products::product::buttons::after" Product=$Product} {assign var=ContentField value=$Product->getField(6)}
{if $ContentField}
{$Product->getContent()}
{/if} {if count($details)} {/if} {if $Files} {/if} {foreach $detailFields as $Field} {if $Field->getId() == QUI\ERP\Products\Handler\Fields::FIELD_EQUIPMENT && $Project->getConfig('templateCologne.settings.showEquipment') != 'asTab'} {continue} {/if} {if $Field->getId() == QUI\ERP\Products\Handler\Fields::FIELD_SIMILAR_PRODUCTS && $Project->getConfig('templateCologne.settings.showSimilarProducts') != 'asTab'} {continue} {/if} {* hide empty fields *} {assign var=fieldValue value=$Field->getValue()} {if $hideEmptyFields && empty($fieldValue)} {continue} {/if} {/foreach}
{template_event name="quiqqer::products::product::middle" Product=$Product} {* Product Fields *} {foreach $productFields as $fieldData}

{$fieldData.Field->getTitle()}

{assign var=t value=$fieldData.Slider->setAttribute('data-qui-options-usemobile', true)} {$fieldData.Slider->create()}
{/foreach} {template_event name="quiqqer::products::product::middle-2" Product=$Product} {* *} {if isset($VisitedProducts) && $Project->getConfig('templateCologne.settings.showVisitedProducts')}

{locale group="quiqqer/products" var="brick.control.VisitedProducts.title"}

{assign var=t value=$VisitedProducts->getSlider()->setAttribute('data-qui-options-usemobile', true)} {$VisitedProducts->create()}
{/if} {* *} {if $Project->getConfig('templateCologne.settings.showSimilarProducts') == 'afterDesc' && $Product->getField(QUI\ERP\Products\Handler\Fields::FIELD_SIMILAR_PRODUCTS) && $Product->getField(QUI\ERP\Products\Handler\Fields::FIELD_SIMILAR_PRODUCTS)->getValue()}

{locale group="quiqqer/template-cologne" var="shop.product.showSimilarProducts.title"}

{control control='QUI\ERP\Products\Controls\Products\ProductList' currentProductId=$Product->getId() productIds=$Product->getField(QUI\ERP\Products\Handler\Fields::FIELD_SIMILAR_PRODUCTS)->getValue() }
{/if} {* *} {if $Project->getConfig('templateCologne.settings.showEquipment') == 'afterDesc' && $Product->getField(QUI\ERP\Products\Handler\Fields::FIELD_EQUIPMENT) && $Product->getField(QUI\ERP\Products\Handler\Fields::FIELD_EQUIPMENT)->getValue()}

{locale group="quiqqer/template-cologne" var="shop.product.showEquipment.title"}

{control control='QUI\ERP\Products\Controls\Products\ProductList' currentProductId=$Product->getId() productIds=$Product->getField(QUI\ERP\Products\Handler\Fields::FIELD_EQUIPMENT)->getValue() }
{/if} {template_event name="quiqqer::products::product::end" Product=$Product}