{if $tnt_cp_showPopUp|default:false}
    <div class="modal fade" id="saleModal" tabindex="-1" aria-labelledby="saleModalLabel" aria-hidden="true">
        <div class="modal-dialog {$tnt_cp_popupSize} modal-dialog-centered">
            <div class="modal-content p-0">
                <div class="modal-header border-0 p-0">
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close" style="z-index: 9;">
                        <span aria-hidden="true">&times;</span>
                    </button>
                </div>
                <div class="modal-body text-center p-0">
                    {if $tnt_cp_popupImg|default:'' !== ''}
                        <img src="{$tnt_cp_popupImg}"
                             class="img-fluid"
                             alt="{$tnt_cp_popupTitle|default:''}"
                             width=""
                             height="">
                    {/if}
                    {$tnt_cp_popup_content|default:''}
                </div>
            </div>
        </div>
    </div>
    {inline_script}
        <script>
            $(document).ready(function () {
                $('#saleModal').modal('show');
            });
        </script>
    {/inline_script}
{/if}
