<?php
foreach ($kategoriProduk as $pdk) {
    ?>
    <div class="col-md-4 col-lg-4 mb-60 mb-xs-40">

        <div class="post-prev-img">

            <a href="<?= base_url() ?>toko/produk/<?= $pdk->id ?>/<?php echo url_title($pdk->product_name) ?>.html">
                <img src="<?= base_url() ?>assets/product_image/<?= $pdk->product_image ?>" alt="" /></a>

            <div class="intro-label">
                <span class="label label-danger bg-red">Sale</span>
            </div>

        </div>

        <div class="post-prev-title font-alt align-center">
            <a href="<?= base_url() ?>toko/produk/<?= $pdk->id ?>/<?php echo url_title($pdk->product_name) ?>.html">
                <?= $pdk->product_name ?></a>
        </div>

        <div class="post-prev-text align-center">

            <strong><?= number_format($pdk->price) ?></strong>
        </div>

        <div class="post-prev-more align-center">
            <a href="<?= base_url() ?>toko/produk/<?= $pdk->id ?>/<?php echo url_title($pdk->product_name) ?>.html" class="btn btn-mod btn-gray btn-round">
                <i class="fa fa-shopping-cart"></i> Detail
            </a>
        </div>

    </div>
    <!-- End Shop Item -->
    <?php
}
?>