Subversion Repositories SmartDukaan

Rev

Rev 11628 | Rev 11871 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
11843 amit.gupta 1
<div class="home-listing-common-content-product left">
2
<div class="productItem" id="$params.CATALOG_ID">
11628 amit.gupta 3
  <div class="productImg">
11843 amit.gupta 4
	\#if($PRIVATE_DEAL_TEXT)
5
	<div class="left offer" title="$PRIVATE_DEAL_TEXT"></div>
6
	\#end
7
    <a \#if($PRIVATE_DEAL_TEXT) class="left" \#end href="$params.URL" title="$params.PROD_NAME">
11628 amit.gupta 8
      <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" />
9
    </a>
10
  </div>
11843 amit.gupta 11
  <div class="productDetails" style="padding-bottom : 5px">
11628 amit.gupta 12
    <div class="title">
11843 amit.gupta 13
      <a href="$params.URL" title="$params.PROD_NAME">
14
        $params.TITLE
15
      </a>
11628 amit.gupta 16
    </div>
11843 amit.gupta 17
    <div  style="padding-bottom : 5px"> 
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>
23
		<span class="newPrice"> $PRIVATE_DEAL_PRICE </span>
11628 amit.gupta 24
    </div>
11843 amit.gupta 25
    \#if($AVAILABLE)
26
    <div style="padding-bottom:5px">
27
	$AVAILABLE
11628 amit.gupta 28
    </div>
29
    \#end
11843 amit.gupta 30
    \#if($itemDetails && $itemDetails.size() > 1)
31
    <script>
32
      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 };
33
    </script>
34
    \#end
35
    <div class="productDesp">
36
      <ul class="product-description">
37
        <li>$params.SNIPPET_1</li>
38
    #if($params.SNIPPET_2)
39
        <li>$params.SNIPPET_2</li>
40
    #end
41
      </ul>
42
    </div>
43
    <div style="font-size:14px;font-weight:bold">
44
\#if($itemDetails.size()<=1)
45
      <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>
46
\#else
47
      <a class="addtocartbutton" href="#" catalogid="$params.CATALOG_ID" title='Add to Cart' alt='Buy Now'> Buy now</a>
48
\#end
49
    </div>
11628 amit.gupta 50
  </div>
51
</div>
11843 amit.gupta 52
</div>