<div class="store-card-square-2">

    <div class="top">

        <a href="#" class="wishlist-button">
            <i class="icon icon-wishlist <?php if ($index < 3) echo 'liked' ?>"></i>
        </a>

        <a href="product-details.php">
            <img src="assets/img/thumbs/stores/0<?php echo $index + 1 ?>.png" class="store-image" onerror="this.onerror=null; this.src='assets/img/thumbs/products/default.jpg';">
        </a>

    </div><!-- top -->

    <div class="bottom">

        <a href="store-details.php">
            <p class="store-name lead font-medium">
                <?php
                switch ($index) {
                    case  1:
                        print  'Name name name ';
                        break;
                    case  2:
                        print 'Name name name name name name name';
                        break;
                    default:
                        print 'Shutter 30000 67 mB a0000 67 mB a0000 6 Shutter 30000 67 mB a0000 67 mB a0000 6';
                        break;
                }
                ?>
            </p>
        </a>

        <div class="flex-start gap-2 mb-1">

            <i class="icon icon-star color-warning"></i>

            <div class="m-0">
                <span> 4.5 </span>
                <span class="color-gray"> (542) </span>
            </div>

        </div>

        <p class="color-gray font-light small mb-0"> Created on September 13, 2019 </p>

    </div><!-- bottom -->

</div><!-- product-card-square -->