Subversion Repositories SmartDukaan

Rev

Rev 19324 | Blame | Compare with Previous | Last modification | View Log | RSS feed

<div class="container">
        <?php echo $this->element('unlikemodal');?>
        <?php echo $this->element('variantsModal');?>
        <div class="row card">
                <?php if(!empty($storeProduct)):?>
                        <div class="centeredimage col-xs-5">
                                <img class="img img-responsive" src="<?php echo $base_url.'app/webroot/timthumb.php?h=90&src='.urlencode($storeProduct['thumbnail']);?>"/>      
                        </div>
                        <div class="col-xs-7">
                                <h3 id="bestpriceproductname"><?php echo $storeProduct['product_name'];?></h3>
                                <div class="hidden" id="productoneliner"></div>
                                <?php if(isset($storeProduct['showDp']) && $storeProduct['showDp']==1 && !empty($storeProduct['dp'])):?>
                                <div class="dp">DP <span class="cashbackrupee"></span> <?php echo $storeProduct['dp'];?></div>
                                <?php endif;?>
                                <div class="hidden" id="bestpricecontainer">Best Price 
                                        <span class="cashbackrupee"></span>
                                        <span id="bestprice"></span>
                                        <span class="cashbackamount" style="display:block;clear:both;"></span>
                                        <span class="productoffer" style="display:block;clear:both;"></span>
                                        <span id="useroffer" style="display:block;clear:both;"></span>
                                </div>
                                <button class="btn btn-xs hidden viewproduct" id="beststorelink">BUY NOW</button>
                        </div>
                        <div class="clearfix"></div>                                            
                        <?php if(!empty($activestores)):?>
                        <?php foreach($activestores AS $storeName => $store):?>
                        <div class="row greenborder">
                                <div class="col-xs-12 pull-left">
                                        <img class="storelogo" src="<?php echo $store['logo'];?>"/>
                                </div>
                                <div class="col-xs-6 text-small" id="name-<?php echo $store['store_id'];?>">

                                </div>
                                <div class="col-xs-6" data-storename="<?php echo ucfirst($storeName);?>" id="sku-<?php echo $store['store_id'];?>">
                                        <span class="cashbackrupee"></span> 
                                        <span class="storeminprice" data-id="<?php echo $store['store_id'];?>" data-bundle_id="<?php echo $storeProduct['skuBundleId'];?>" data-searchorder="<?php echo $store['searchorder'];?>">Getting Latest Price...</span>
                                        <span class="cashbackamount"></span>
                                        <span class="pull-right arrowright"></span>
                                        <p class="gross_price text-small" id="gross_price-<?php echo $store['store_id'];?>"></p>
                                        <p class="text-small" id="itemoffer-<?php echo $store['store_id'];?>"></p>
                                        <p class="couponcode text-small" id="couponcode-<?php echo $store['store_id'];?>">
                                                Use Coupon <span class="red"></p>
                                        <p class="codstatus text-small" id="codstatus-<?php echo $store['store_id'];?>">
                                                COD not available</p>
                                        </p>    
                                        <span class="userofferinlist" style="display:block;clear:both;"></span>                         
                                </div>
                                <!-- <div class="col-xs-2 viewproduct hidden text-right" id="sku-<?php echo $store['store_id'];?>">
                                        <button type="button" class="btn-xs btn btn-success" type="button">BUY</button>
                                </div>   -->                    
                        </div>
                        <?php endforeach;?>
                        <?php endif;?>
                <?php endif;?>
        </div>
</div>
<?php echo $outputcategory;?>
<script type="text/javascript" src="/js/profittill.js?v=<?php echo $staticversion;?>"></script>