Subversion Repositories SmartDukaan

Rev

Rev 14685 | Rev 14689 | Go to most recent revision | 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-6">
                                <img class="img img-responsive" src="<?php echo $base_url.'app/webroot/timthumb.php?h=150&src='.$storeProduct['thumbnail'];?>"/>        
                        </div>
                        <div class="col-xs-6">
                                <h3 id="bestpriceproductname"><?php echo $storeProduct['product_name'];?></h3>
                                <div class="hidden" id="bestpricecontainer">Best Price<br/> 
                                        <img src="/img/rupees.png" class="rupeesym"/>
                                        <span id="bestprice"></span>
                                </div>
                                <button class="btn btn-primary btn-mg hidden viewproduct" id="beststorelink">BUY NOW</button>
                        </div>
                        <div class="clearfix"></div>                    
                        <div class="row">
                                <h4>Available On</h4>
                        </div>
                        <?php if(!empty($activestores)):?>
                        <?php foreach($activestores AS $storeName => $store):?>
                        <div class="row greenborder">
                                <div class="col-xs-4">
                                        <img class="storelogo" src="<?php echo $store['logo'];?>"/>
                                </div>
                                <div class="col-xs-5" data-storename="<?php echo ucfirst($storeName);?>">
                                        <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>
                                </div>
                                <div class="col-xs-3 viewproduct hidden" 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>
<script type="text/javascript" src="/js/profittill.js?v=<?php echo $staticversion;?>"></script>