
    <div class="prod_card">
        <div class="img_box">
            <img src="<?php echo e(asset($product->image_url)); ?>" class="sec-img" alt=""/>
            <?php if($product->prices['cost_discount']): ?>
                <span class="offer_badge"><?php echo e($product->prices['percentage']); ?>% OFF</span>
            <?php endif; ?>
            <div class="card_butns">
                <a href="<?php echo e(route('product',$product->id)); ?>" class="butn primary_butn cart_butn mx-1">
                    <i class="fas fa-cart-shopping"></i> View Product
                </a>
                <a style="cursor: pointer" onclick="favorite(this)" data-id="<?php echo e($product->id); ?>" class="butn primary_butn sm_butn fav_butn mx-1 rounded-circle <?php if($product->favorited()): ?> active <?php endif; ?>">
                    <i class="fas fa-heart mx-0"></i>
                </a>
            </div>
        </div>
        <div class="card-body">
            <h5 class="title ">
                <?php echo e($product->name); ?>

            </h5>
            <div class="prices justify-content-center d-flex">
                <b class="color-primary me-2"> <?php echo $__env->make('web.pages.components.product.price', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
            </div>
        </div>
    </div>

<?php /**PATH /Applications/MAMP/htdocs/city/resources/views/web/pages/components/product/products.blade.php ENDPATH**/ ?>
