<div class="pdp-price-container">
    {{#if isDiscount}}
        <div class="pdp__badges pdp-price-container__badges price__badges-v2 price__badges-v2-{{badge-color}}
            {{#if badge-text-color}}price__badges-v2-text-{{badge-text-color}}{{/if}}">
            <div class="pdp__badge">{{badge-text}}</div>
        </div>
    {{/if}}
    <div class="pdp-price">
        <div class="pdp-price__value pdp-price-sale__value">
            {{#if isDiscount}}
                <div class="pdp-price__old-price"><s>&pound;119.99</s></div>
                <div class="pdp-price__new-price">&pound;79.99</div>
                {{#if isSQM}}
                    <div class="pdp-price__sqm">&pound;40.00 per SQM</div>
                {{/if}}
                <div class="pdp-price__remainder">You save &pound;40.00</div>
                {{#if isDescription}}
                    {{#if isCashback}}
                        <div class="pdp-price__description">
                            *Cashback offer valid until 31st May 2019.
                            Claim by 31st July 2019.
                            Terms & conditions apply.
                        </div>
                        <div class="pdp-price__terms">
                            <a href="#">
                                Cashback Terms and Conditions
                            </a>
                        </div>
                    {{else}}
                        <div class="pdp-price__description">
                            Long offer message Lorem ipsum dolor sit amet,
                            consectetur adipiscing elit.
                            Aenean euismod bibendum laoreet
                        </div>
                    {{/if}}
                {{/if}}

            {{else}}
                <div class="pdp-price__price">&pound;79.99</div>
            {{/if}}
        </div>
        {{#if currentlyInStock}}
            <div class="pdp-price__value pdp-price__value_extended">
                <div class="pdp-price__delivery">
                    <span class="delivery-link">Delivery</span>
                    <span class="delivery-info">Available to certain postcodes</span>
                </div>
            </div>
        {{else if notifyMe}}
            <div class="pdp-price__oos">
                <a href="#" class="btn btn-action btn_full">
                    <span class="btn__text">Notify Me</span>
                </a>
                <p>Currently out of stock, use our Notify Me button to receive an email when this item is available</p>
            </div>
        {{else}}
            <div class="pdp-price__oos">
                <strong>Out of Stock</strong>
                <p>Sorry, this product is out of stock</p>
            </div>
            <div class="pdp-price__in-store-only">
                <p>In Store Only</p>
            </div>
        {{/if}}
        <div class="pdp-price__controls">
            {{#if isSize}}
                <div class="pdp-price__size">
                    {{> form-row row-mod="sort-order-by" dropdown="true" id="d1" placeholder="Please select a size"}}
                </div>
            {{/if}}
            <form action="#" class="quantity-counter">
                <div class="
                        pdp-price__control-holder
                        {{#unless wisdom}}
                            {{#if big-wins}}
                                control-holder__big-wins
                            {{/if}}
                        {{/unless}}
                ">
                    {{#unless isQuantity}}
                        <label for="quantity-field" class="quantity-label">Quantity: </label>
                        <input type="text" inputmode="numeric" pattern="[0-9]*" id="quantity-field"
                               class="tbx tbx_quantity"
                               value="1">
                    {{/unless}}
                    {{#unless default-store}}
                        <div class="pdp-price__calculator-wrapper">
                            <a href="#">
                            <span class="icon">
                            <i class="far fa-calculator"></i>
                            </span>
                                Calculator
                            </a>
                        </div>
                    {{/unless}}
                </div>
                {{#if currentlyInStock}}
                    {{> pdp-price-actions
                            installation=install
                            order-sample=sample
                            c-and-c=cc
                            delivery=delivery
                            big-wins=big-wins
                            wisdom=wisdom
                            available=available
                            stock-accordion="stock-accordion"
                            isUserNonRegistered=isUserNonRegistered
                            nearest-purchase=nearest-purchase
                            unhappy=unhappy
                            nearestAmount=nearestAmount
                            nearestName=nearestName
                    }}
                    <div class="pdp-price__call-to-actions">
                        {{#unless default-store}}
                            <div class="pdp-price__control-holder pdp-price__actions">
                                <a href="#" class="link-secondary">Check stock in your local store</a>
                            </div>
                        {{/unless}}
                    </div>
                {{/if}}
            </form>
        </div>
    </div>
</div>
