<commit_before><?php
/** @var \Amasty\GiftCard\Pricing\Render\FinalPriceBox $block */
$productId = $block->getSaleableItem()->getId();
?>

<?php if ($block->getCanShowPrice() !== false && !$block->isProductForm()): ?>
    <div class="price">
        <div class="price-box price__value">
            <?php if (!$block->isSinglePrice()): ?>
                <span class="price-label price__text">
                    <?= $escaper->escapeHtml(__('From')); ?>
                </span>
            <?php endif; ?>
            <span id="product-price-<?= $escaper->escapeHtmlAttr($productId . $block->getIdSuffix()); ?>">
                <?= $escaper->escapeHtml($block->convertAndFormatCurrency($block->getMinPrice(), false)); ?>
            </span>
        </div>
    </div>
<?php endif; ?>

<?php if ($block->isProductForm()): ?>
    <?php
    $currency = $block->getCurrencyShortName();
    $product = $block->getSaleableItem();
    ?>
    <div
        class="amgiftcard-price-container"
        data-bind="scope: 'price'"
    >
        <div
            class="
                amgiftcard-price-multiple
                price
                opacity-0
            "
            data-bind="
                visible: $data.showCustomPrice,
                css: {
                    'opacity-0': !$data.isLoaded()
                }
            "
        >
            <div class="price-from">
                <div
                    class="
                        price-container<commit_msg>#86672 display selected price in add to cart sticky<commit_after><?php
/** @var \Amasty\GiftCard\Pricing\Render\FinalPriceBox $block */
$productId = $block->getSaleableItem()->getId();
?>

<?php if ($block->isProductForm() || ($block->getCanShowPrice() !== false && !$block->isProductForm())): ?>
    <?php
    $currency = $block->getCurrencyShortName();
    $product = $block->getSaleableItem();
    ?>
    <div
        class="amgiftcard-price-container"
        data-bind="scope: 'price'"
    >
        <div
            class="
                amgiftcard-price-multiple
                price
                opacity-0
            "
            data-bind="
                visible: $data.showCustomPrice,
                css: {
                    'opacity-0': !$data.isLoaded()
                }
            "
        >
            <div class="price-from">
                <div
                    class="
                        price-container
{'fraction_non_alphanumeric': 0.15940838126540674, 'fraction_numerical': 0.0036976170912078883, 'mean_word_length': 1.5712777191129883, 'pattern_counts': {'":': 0, '<': 32, '<?xml version=': 0, '>': 51, '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': '6644140', 'n_tokens_mistral': 696, 'n_tokens_neox': 677, 'n_words': 109}