Subversion Repositories SmartDukaan

Rev

Rev 11843 | Rev 11878 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

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