[{if $oDetailsProduct->isGiftCertArticle()}]
    <div class="tobasketFunction clear">
        [{oxhasrights ident="TOBASKET"}]
        [{if !$oDetailsProduct->isNotBuyable()}]
            <div class="input-group">
                <input id="amountToBasket" type="hidden" name="am" value="1" autocomplete="off" class="form-control">
                <div class="input-group-tweak">
                    <button id="toBasket" type="submit" [{if !$blCanBuy}]disabled="disabled"[{/if}]
                            class="btn btn-primary submitButton largeButton"><i
                                class="fa fa-shopping-cart"></i> [{oxmultilang ident="TO_CART"}]</button>
                </div>
            </div>
        [{/if}]
        [{/oxhasrights}]
    </div>
[{else}]
    [{$smarty.block.parent}]
[{/if}]