Subversion Repositories SmartDukaan

Rev

Rev 11878 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
11871 amit.gupta 1
<!-- productItem -->
2
<div class="productItem">
3
  \#if($PRIVATE_DEAL_TEXT)
4
  <div class="offer-image">
5
    	<div class="nomargin offer" title="$PRIVATE_DEAL_TEXT"></div>
6
  </div>
7
  \#end
11628 amit.gupta 8
  <div class="productImg">
11871 amit.gupta 9
    <a href="$params.URL" title="$params.PROD_NAME">
11628 amit.gupta 10
      <img src="$staticurl/images/media/${params.CATALOG_ID}/${params.IMAGE_PREFIX}-icon-${params.DEFAULT_IMAGE_SUFFIX}.jpg" alt="$params.PROD_NAME" title="$params.PROD_NAME" />
11
    </a>
12
  </div>
11871 amit.gupta 13
  <div class="productDetails">
11628 amit.gupta 14
    <div class="title">
11871 amit.gupta 15
      	<a href="$params.URL" title="$params.PROD_NAME">$params.TITLE</a>
11628 amit.gupta 16
    </div>
11871 amit.gupta 17
    <div class="price-list">
11843 amit.gupta 18
      <span class="newPrice">Rs </span>
19
  		\#if($minPriceItem.getMrp() > $minPriceItem.getSellingPrice())
20
			<span class="originalPrice"> $minPriceItem.getMrp().intValue()</span>
21
		\#end
22
		<span class="originalPrice"> $minPriceItem.getSellingPrice().intValue() </span>
11871 amit.gupta 23
      <span class="newPrice"> $PRIVATE_DEAL_PRICE </span>    
11628 amit.gupta 24
    </div>
11897 amit.gupta 25
    \#if($AVAILABLE)<div style="padding-bottom:5px">$AVAILABLE</div>\#end
11843 amit.gupta 26
    \#if($itemDetails && $itemDetails.size() > 1)
27
    <script>
11871 amit.gupta 28
      var PARAMETERS_$params.CATALOG_ID = { \#foreach($item in $itemDetails) \#if($velocityCount == 1) $item.ITEM_ID :  "$item.COLOR"  \#else ,$item.ITEM_ID :  "$item.COLOR" \#end  \#end };
11843 amit.gupta 29
    </script>
30
    \#end
11871 amit.gupta 31
 
11843 amit.gupta 32
    <div class="productDesp">
33
      <ul class="product-description">
34
        <li>$params.SNIPPET_1</li>
11871 amit.gupta 35
#if($params.SNIPPET_2)
11843 amit.gupta 36
        <li>$params.SNIPPET_2</li>
11871 amit.gupta 37
#end
11843 amit.gupta 38
      </ul>
39
    </div>
11871 amit.gupta 40
    <div class="icon" style="font-size:14px;font-weight:bold">
11843 amit.gupta 41
\#if($itemDetails.size()<=1)
42
      <a class="add-to-cart-button" id="list-$minPriceItem.getId()" catalogid="$params.CATALOG_ID" href="#" title='Add to Cart' alt='Add to Cart'>Buy Now</a>
43
\#else
11871 amit.gupta 44
      <a class="addtocartbutton" href="#" catalogid="$params.CATALOG_ID" title='Add to Cart' alt='Add to Cart'>Buy Now</a>
11843 amit.gupta 45
\#end
46
    </div>
11628 amit.gupta 47
  </div>
11871 amit.gupta 48
  <div class="clearBoth"></div>
11628 amit.gupta 49
</div>
11871 amit.gupta 50
<!-- /productItem -->