ok

Mini Shell

Direktori : /home2/selectio/public_html/bharath/application/views/product/
Upload File :
Current File : /home2/selectio/public_html/bharath/application/views/product/_special_offers.php

<?php defined('BASEPATH') or exit('No direct script access allowed'); ?>


<style>

    @media (min-width: 1260px){
    .slick-initialized .slick-slide {
    display: block;
}
}
 @media (max-width: 410px){
.col-product {
    padding-right: 7.5px;
    padding-left: 7.5px;
    outline: none!important;
    width: 107px !important;
}
    }
    
    

</style>


<?php if (!empty($special_offers)):
    if (item_count($special_offers) > 4): ?>
        <div class="col-12 section section-category-products">
            <div class="section-header" style="display: flex;justify-content: center;">
                <!--<h3 class="title" style="color: blue;font-size: 30px;font-family: emoji;font-weight: 600;"><?= trans("special_offers"); ?></h3>-->
            </div>
            <div class="row-custom category-slider-container" <?= $this->rtl == true ? 'dir="rtl"' : ''; ?>>
                <div class="row row-product" id="slider_special_offers">
                    <?php foreach ($special_offers as $product): ?>
                        <div class="col-2 col-sm-2 col-md-2 col-mds-2 col-product" >
                            <?php $this->load->view('product/_product_item1', ['product' => $product, 'promoted_badge' => false, 'is_slider' => 1, 'discount_label' => 1]); ?>
                        </div>
                    <?php endforeach; ?>
                </div>
                <div id="slider_special_offers_nav" class="index-products-slider-nav">
                    <button class="prev"><i class="icon-arrow-left"></i></button>
                    <button class="next"><i class="icon-arrow-right"></i></button>
                </div>
            </div>
        </div>
    <?php else: ?>
        <div class="col-12 section section-category-products">
            <div class="section-header">
                <h3 class="title"><?= trans("special_offers"); ?></h3>
            </div>
            <div class="row row-product">
                <?php foreach ($special_offers as $product): ?>
                    <div class="col-2 col-sm-2 col-md-2 col-mds-2 col-product" >
                        <?php $this->load->view('product/_product_item1', ['product' => $product, 'promoted_badge' => false, 'is_slider' => 0, 'discount_label' => 1]); ?>
                    </div>
                <?php endforeach; ?>
            </div>
        </div>
    <?php endif;
endif; ?>



Zerion Mini Shell 1.0