<div class="sale-percent product-2">
    <div class="lp-container">
        <h2 class="title"><?php the_field( 'title' ) ?></h2>

        <div class="wrap-img"><img src="<?php the_field( 'image' ) ?>" /></div>
        
        <?php if( have_rows('product_list') ): ?>
        <div class="wrap-p1">
            <?php while( have_rows('product_list') ): the_row(); ?>
            <div class="item">
                <div class="name"><?php the_sub_field( 'title' ) ?></div>
                <div class="price"><?php echo format_money( get_sub_field( 'price' ) ) ?></div>
            </div>
            <?php endwhile; ?>

        </div>
        <?php endif; ?>

        <div class="free-ship"><?php the_field( 'freeship_text' ) ?></div>

        <a href="#" data-bs-toggle="modal" data-bs-target="#staticBackdrop" class="btn sale-button">NHẬN ƯU ĐÃI NGAY</a>
    </div>
</div>