<commit_before>{* Constants for the different basket item types *}
{$IS_PRODUCT = 0}
{$IS_PREMIUM_PRODUCT = 1}
{$IS_VOUCHER = 2}
{$IS_REBATE = 3}
{$IS_SURCHARGE_DISCOUNT = 4}

{if $sBasketItem.modus == $IS_PRODUCT}

    {* Product *}
    {include file="frontend/checkout/items/product.tpl"}

{elseif $sBasketItem.modus == $IS_PREMIUM_PRODUCT}

    {* Chosen premium products *}
    {include file="frontend/checkout/items/premium-product.tpl"}
{elseif $sBasketItem.modus == $IS_VOUCHER}

    {* Voucher *}
    {include file="frontend/checkout/items/voucher.tpl"}

{elseif $sBasketItem.modus == $IS_REBATE}

    {* Basket rebate *}
    {include file="frontend/checkout/items/rebate.tpl"}
{elseif $sBasketItem.modus == $IS_SURCHARGE_DISCOUNT}

    {* Surcharge / discount *}
    {include file="frontend/checkout/items/rebate.tpl"}
{else}

    {* Register your own mode selection *}
    {block name='frontend_checkout_cart_additional_type'}{/block}
{/if}<commit_msg>SW-7868 Refactored: CR-Regression - Added blocks to the cart item types<commit_after>{* Constants for the different basket item types *}
{$IS_PRODUCT = 0}
{$IS_PREMIUM_PRODUCT = 1}
{$IS_VOUCHER = 2}
{$IS_REBATE = 3}
{$IS_SURCHARGE_DISCOUNT = 4}

{if $sBasketItem.modus == $IS_PRODUCT}

    {* Product *}
    {block name='frontend_checkout_cart_item_product'}
        {include file="frontend/checkout/items/product.tpl"}
    {/block}
{elseif $sBasketItem.modus == $IS_PREMIUM_PRODUCT}

    {* Chosen premium products *}
    {block name='frontend_checkout_cart_item_product'}
        {include file="frontend/checkout/items/premium-product.tpl"}
    {/block}
{elseif $sBasketItem.modus == $IS_VOUCHER}

    {* Voucher *}
    {block name='frontend_checkout_cart_item_product'}
        {include file="frontend/checkout/items/voucher.tpl"}
    {/block}
{elseif $sBasketItem.modus == $IS_REBATE}

    {* Basket rebate *}
    {block name='frontend_checkout_cart_item_product'}
        {include file="frontend/checkout/items/rebate.tpl"}
    {/block}
{elseif $sBasketItem.modus == $IS_SURCHARGE_DISCOUNT}

    {* Surcharge / discount *}
    {block name='frontend_checkout_cart_item_product'}
        {include file="frontend/checkout/items/rebate.tpl"}
    {/block}
{else}

    {* Register your own mode selection *}
    {block name='frontend_checkout_cart_item_additional_type'}{/block}
{/if}
{'fraction_non_alphanumeric': 0.14328358208955225, 'fraction_numerical': 0.005970149253731343, 'mean_word_length': 4.430555555555555, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '533557', 'n_tokens_mistral': 901, 'n_tokens_neox': 892, 'n_words': 145}