Subversion Repositories SmartDukaan

Rev

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

<!-- Product Detail -->
                                <div id="productDetail">
                                        <script type="text/javascript">
var PARAMETERS = {
    \#foreach($item in $itemDetails)
      \#if($velocityCount == 1)
        $item.ITEM_ID : { "ITEM_ID" : "$item.ITEM_ID", "SP" : "$item.SP", "MRP" : "$item.MRP", "SAVING" : "$item.SAVING", "COLOR" : "$item.COLOR" }
      \#else
      ,$item.ITEM_ID : { "ITEM_ID" : "$item.ITEM_ID", "SP" : "$item.SP", "MRP" : "$item.MRP", "SAVING" : "$item.SAVING", "COLOR" : "$item.COLOR" }
    \#end
  
  \#end  
};

                                        </script>

                                        <div class="product-main-title">
                                                <div class="name">
                                                        <span class="brand">$params.BRAND_NAME</span>
                                                        <span class="product-name">$params.PRODUCT_NAME</span>
                                                </div>
                                                <div class="desc">
                                                $params.TAGLINE
                                                </div>
                                        </div>
                                        <div class="price-n-warranty left">
                                                \#set($item = $itemDetails.get(0))
                                                <div class="warranty">
                                                        <label class="bold">
                                                #if($params.WARRANTY && $params.WARRANTY != "")
                                                        $params.WARRANTY |
                        #end
                        With proper bill
                                </label>
                                                </div>
                                                <div class="price">
                                                        \#if ($SHOW_PRICE=="FALSE")
                                                                <span id="mrp" class="red bold">Coming Soon!</span>
                                                        \#else  
                                                        <div class="left rupeeimage"></div>
                                                                \#if($item.SHOWMRP.equals("true"))
                                                                        <span id="mrp" class="mrp bold">$item.MRP</span>
                                                                \#end
                                                                        <span id="sp" class="list-price red bold">$item.SP</span>
                                                                \#if($item.SHOWMRP.equals("true"))
                                                                        <span class="price-diff">(<span id="saving" style="color:grey">$item.SAVING</span>% off)</span>
                                                                \#end
                                                                \#if($EMI)
                                                                        <span class="mk_emi" style="font-size: 14px;"> | EMIs from <span class="red">Rs.$EMI</span> per month
                                                                        <a style="padding-left:2px" href="javascript:void(0)" id="emi_more"><img style="vertical-align: middle;" src="/unversioned/images/quesmark.png"></a>
                                                                        </span>
                                                                \#end
                                                        \#end
                                                </div>
                                                \#if($OFFER_TEXT)
                                                <div class="red" style="font-weight:bold;padding-bottom:6px">$OFFER_TEXT
                                                \#if($OFFER_DETAIL_TEXT && $IS_STORE=="FALSE")
                                                        <script type="text/javascript">
                                                        var OFFER_HELP_TEXT = "$OFFER_DETAIL_TEXT";
                                                        var OFFER_HELP_LINK = "$OFFER_DETAIL_LINK";
                                                        </script>
                                                 <a class="mk_best_deal_detail" href="javascript:void(0)"  style="padding-left:2px"><img src="/unversioned/images/quesmark.png" style="vertical-align: middle;"></a>
                                                \#end
                                                </div>
                                        \#end
                                        </div>

                                        <div class="container-color-selector left">
                                                \#if(!(($itemDetails.size() == 1) && (!($itemDetails.get(0).COLOR)) || ($itemDetails.get(0).COLOR=="NA") || ($itemDetails.get(0).COLOR=="")))
                                                        <div class="label">Choose Color ($itemDetails.size())</div>
                                                        <select id="colorSelector">
                                <option>Getting Colors....</option>
                                                        \#foreach($itemLocal in $itemDetails)
                                                                <option value="$itemLocal.ITEM_ID" >$itemLocal.COLOR</option>
                                                        \#end
                                                        </select>
                                                \#end
                                        </div>
                                         
                                        <div class="shipping left">
                                                <div class="label">Check Delivery Time for Area PIN Code:</div>
                                                <div id="shippingEstimate" class="left">
                                                        <input type="text" id="zipcode" class="searchbox left bold" value="110001" />
                                                        <button id="computeShippingEstimate" class="button left">GO</button>
                                                        <label for="zipcode" class="left">Area PIN Code</label>
                                                </div>
                                                <div class="estimate left">
                                                        <div id="shipping_time">Free Delivery \#if ($AFTER_ARRIVAL) in \#else by \#end <label class="cod" style="display:none"></label><label class="red"><img src='/unversioned/images/loader_l.gif'></label> \#if ($AFTER_ARRIVAL) $AFTER_ARRIVAL \#end <span><a id="cod_know_more" style="display:none" href="javascript:void(0)" style="padding-left:2px"><img src="/unversioned/images/quesmark.png" style="vertical-align: middle;"></a></span></div>
                                                        <div id="shipping_time_1" style="display:none">This Location is not serviceable</div>
                                                        <div id="cod" \#if ($minPriceItem.getSellingPrice() > 26000) style="display:none" \#end>You can pay by <span class="red">Cash on Delivery</span></div>
                                                        <div  \#if ($minPriceItem.getSellingPrice() < 2000) style="display:none" \#end id="otg">On Time Guarantee <span class="red">We Pay if we Delay</span><a id="otg_know_more" href="javascript:void(0)" style="padding-left:2px"><img src="/unversioned/images/quesmark.png" style="vertical-align: middle;"></a></div>
                                                </div>
                                        </div>
                                        \#if ($AFTER_ARRIVAL)  
                                        <a id="addToCart" class="left" style="height: 39px; padding: 9px 0px 6px;">Tell me when available</a>
                                        \#else
                                        <a id="addToCart" class="left">BUY NOW</a>
                                        \#end
                                </div>
                                <input id="item_id" name="item_id" value="$item.ITEM_ID" type="hidden" />
                                <input id="catalog_id" name="catalog_id" value="$item.CATALOG_ID" type="hidden" />
                                <input type="hidden" value="$params.CATALOG_ID" id="product_id" name="">
                                <!-- /Product Detail -->