Anons79 Mini Shell

Directory : /home/proudlyafrican/www/storage/framework/views/
Upload File :
Current File : /home/proudlyafrican/www/storage/framework/views/43f48030c308891b06916b9605dc094d9ab61cdd.php

<?php $__env->startSection('middle'); ?>


<head>
    <title><?php $__env->startSection('title', 'Categorywise Products-'); ?>Ckgroceries</title>
    <meta name="keywords" content="CKgroceries, online shoping, Best e-commerce site, online groceresie products" />
</head>

<div class="page-head_agile_info_w3l">

</div>
<!-- //banner-2 -->
<!-- page -->
<div class="services-breadcrumb">
    <div class="agile_inner_breadcrumb">
        <div class="container">
            <ul class="w3_short">
                <li>
                    <a href="<?php echo e(url('/')); ?>">Home</a>
                    <i>|</i>
                </li>
                <li>Categorywise Products</li>
            </ul>
        </div>
    </div>
</div>
<!-- //page -->
<!-- Single Page -->
<div class="banner-bootom-w3-agileits">
    <div class="container">


        <style>
            p {
                margin: 0;
                letter-spacing: 1px;
                font-size: 16px;
                line-height: 1.9;
                color: #000000;
                text-align: justify;
            }
        </style>
        <div >
            <?php if(isset($categories)): ?>
            <h3 class="heading-tittle"><?php echo e($categories[0]->name); ?></h3>
              <div class="container">
                  <div class="row">
                      <div class="col-md-1">

                      </div>
                      <div class="col-md-10">
                          <br>
                          <span>
                               <?php echo  $categories[0]->description; ?>
                          </span>

                          <br>
                      </div>

                  </div>
              </div>


            <?php endif; ?>

            <h4 class="heading-tittle" style="color: #FF5722;font-size: 22px; font-weight: bold; margin-left: 100px; margin-bottom: 30px;">
                <span><?php echo e($product_counts); ?> Products</span>
            </h4>

            <div class="row">
                <?php $__currentLoopData = $products; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $arrival): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <div class="col-md-3 col-xs-6 col-sm-6 khan" style="margin-top: 30px">
                    <div class="men-pro-item simpleCart_shelfItem">
                        <div class="men-thumb-item">
                            <img class="cat_image" src="<?php echo e(url('public/uploads/products')); ?>/<?php echo e($arrival->image_name); ?>" alt="">
                            <div class="men-cart-pro">
                                <div class="inner-men-cart-pro">
                                    <?php 
                                    $check = DB::table('product_rates')->where('product_id',$arrival->product_id)->get();
                                     ?>
                                    <?php if(count($check)>0): ?>
                                    <a href="<?php echo e(url('product_detail')); ?>/<?php echo e($arrival->product_id); ?>/<?php echo e($check[0]->rate_id); ?>" class="link-product-add-cart">Quick View</a>
                                    <?php else: ?>
                                    <?php endif; ?>

                                </div>
                            </div>
                            <span class="product-new-top">New</span>
                        </div>
                        <div class="item-info-product ">
                            <h4>
                                <a href="single.html"><?php echo e($arrival->name); ?></a>
                            </h4>

                            <?php 
                            $check = DB::table('product_rates')->where('product_id',$arrival->product_id)->get();
                             ?>
                            <?php if(count($check)>0): ?>
                            <div class="product--size">
                                <?php $__currentLoopData = $check; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $size): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    <span class="active"><a href="<?php echo e(url('product_detail')); ?>/<?php echo e($size->product_id); ?>/<?php echo e($size->rate_id); ?>"  onMouseOver="this.style.color='black'"
                                            onMouseOut="this.style.color='white'"  style="color: white; "><?php echo e($size->quantity); ?><?php echo e($size->unit); ?></a></span>
                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                            </div>
                            <?php else: ?>
                            <?php endif; ?>

                            <div class="snipcart-details top_brand_home_details item_add single-item hvr-outline-out">

                                <?php 
                                $check = DB::table('product_rates')->where('product_id',$arrival->product_id)->get();
                                 ?>
                                <?php if(count($check)>0): ?>
                                <a  href="<?php echo e(url('product_detail')); ?>/<?php echo e($arrival->product_id); ?>/<?php echo e($check[0]->rate_id); ?>"  style="color: #fff;background: #1accfd;text-decoration: none;position: relative;border: none;border-radius: 0; width: 100%;text-transform: uppercase;padding: 7px; outline: none;letter-spacing: 1px;font-weight: 600;" name="submit" value="View Detail" class="button mycolor"><i class="glyphicon glyphicon-eye-open"></i><span class="hidden-xs"></span></a>

                                <?php if(count($check)>1): ?>

                                <button style="" onclick="showoptions('<?php echo $arrival->product_id;  ?>','<?php echo $check[0]->rate_id;  ?>')" class="btn btn-primary mybtn">Choose Options</button>
                                <?php else: ?>
                                <a onclick="addtocart('<?php echo $check[0]->product_id; ?>', '<?php echo $check[0]->quantity; ?>', '<?php echo $check[0]->unit; ?>', '<?php echo $check[0]->amount; ?>')"
                                   style="color: #fff; background: #1accfd; text-decoration: none; position: relative; border: none; border-radius: 0; width: 100%; text-transform: uppercase; padding: 7px; outline: none; letter-spacing: 1px; font-weight: 600;"
                                   name="submit" value="Add to cart" class="button mycolor">
                                    <i class="glyphicon glyphicon-shopping-cart"></i>
                                    <span class="hidden-xs"></span>
                                </a>
                                <?php endif; ?>



                                <?php else: ?>
                                <?php endif; ?>



                            </div>

                        </div>
                    </div>
                </div>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
            </div>


            <div class="clearfix"></div>
        </div>

    </div>
</div>


<script>
    function showoptions(product_id,rate_id){
        $('#modalmaindiv').html('');
        $.get("<?php echo e(url('ajax_product_detail')); ?>"+"/"+product_id + "/" + rate_id, function (data, status) {
            $('#loader').hide();
            $('#exampleModal').modal('show');
            $("#modalmaindiv").html(data.html);
        });
    }
</script>

<!-- jQuery library -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>




<?php $__env->stopSection(); ?>
<?php echo $__env->make('general.head', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>

Anons79 File Manager Version 1.0, Coded By Anons79
Email: [email protected]