Subversion Repositories SmartDukaan

Rev

Rev 15839 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

<div class="panel panel-primary">
        <div class="panel-heading" style="background-color:#125688;text-align:center;">
            <h3 class="panel-title"><a href="/" style="text-decoration: none;">MobileHot India</a></h3>
        </div>
    </div>
<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-6">
                                <img class="img img-responsive" src="<?php echo $base_url.'app/webroot/timthumb.php?h=90&src='.$storeProduct['thumbnail'];?>"/> 
                        </div>
                        <div class="col-xs-6 viewproduct" id="sku-<?php echo $storeitems[0]['source_id'];?>" data-source="<?php echo $storeitems[0]['source_id'];?>" data-url="<?php echo $storeitems[0]['marketPlaceUrl'];?>" data-id="<?php echo $storeitems[0]['_id'];?>" data-bundle_id="<?php echo $storeProduct['skuBundleId'];?>" data-url="<?php echo $storeitems[0]['marketPlaceUrl'];?>" data-price="<?php echo $storeitems[0]['available_price'];?>">
                                <h3 id="bestpriceproductname"><?php echo $storeitems[0]['source_product_name'];?></h3>
                                <div id="bestpricecontainer">Best Price

                                        <span class="cashbackrupee"></span>
                                        <span id="bestprice"><?php echo $storeitems[0]['available_price'];?></span>
                                </div>
                                <button class="btn btn-xs" id="beststorelink" >BUY NOW</button>
                        </div>
                        <?php unset($storeitems[0]);?>
                        <div class="clearfix"></div>                                            
                        <?php if(!empty($activestores)):?>
                        <?php foreach($activestores AS $storeName => $store):?>
                                <?php if($storeShown[$store['store_id']]):?>
                        <div class="row greenborder">                           
                                <?php $count=1;?>
                                <?php foreach($storeitems AS $storedeal):?>
                                <?php if($storedeal['source_id']==$store['store_id']):?>
                                        <?php if($count==1):?>
                                        <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'];?>"><?php echo $storedeal['source_product_name'];?></div>
                                        <div class="col-xs-6 viewproduct" data-storename="<?php echo ucfirst($storeName);?>" id="sku-<?php echo $store['store_id'];?>" data-source="<?php echo $store['store_id'];?>" data-url="<?php echo $storedeal['marketPlaceUrl'];?>" data-id="<?php echo $storedeal['_id'];?>"
                                        data-bundle_id="<?php echo $storeProduct['skuBundleId'];?>" data-price="<?php echo $storedeal['available_price'];?>">
                                                <span class="cashbackrupee"></span>
                                                
                                        <span id="bestprice"><?php echo $storedeal['available_price'];?></span>
                                                <span class="pull-right arrowright"></span>
                                        </div>
                                        <?php else:?>
                                                <div class="col-xs-6 varnts text-small"><?php echo $storedeal['source_product_name'];?></div>
                                                <div class="col-xs-6 varnts viewproduct" data-source="<?php echo $store['store_id'];?>" data-price="<?php echo $storedeal['available_price'];?>" data-url="<?php echo $storedeal['marketPlaceUrl'];?>" data-id="<?php echo $storedeal['_id'];?>"><span class="cashbackrupee varnts text-right"></span> <span><?php echo $storedeal['available_price'];?></span>
                                                <span class="pull-right arrowright"></span></div>
                                        <?php endif;?>
                                <?php $count=$count+1;?>
                            <?php endif;?>
                                <?php endforeach;?>
                        </div>
                <?php endif;?>
                        <?php endforeach;?>
                        <?php endif;?>
                <?php endif;?>
        </div>
</div>
<script type="text/javascript" src="/js/profittill.js?v=<?php echo $staticversion;?>"></script>