| Line 26... |
Line 26... |
| 26 |
<th>Action</th>
|
26 |
<th>Action</th>
|
| 27 |
<th>Min Price</th>
|
27 |
<th>Min Price</th>
|
| 28 |
<th>Max Price</th>
|
28 |
<th>Max Price</th>
|
| 29 |
<th>Min Advance Price</th>
|
29 |
<th>Min Advance Price</th>
|
| 30 |
<th>Recommended Price</th>
|
30 |
<th>Recommended Price</th>
|
| - |
|
31 |
<th>Freebie ItemId</th>
|
| - |
|
32 |
<th>Best Deal Text</th>
|
| 31 |
</tr>
|
33 |
</tr>
|
| 32 |
</thead>
|
34 |
</thead>
|
| 33 |
<tbody>
|
35 |
<tbody>
|
| 34 |
#set($sps = $action.getStorePricings($items))
|
36 |
#set($sps = $action.getStorePricings($items))
|
| 35 |
#set($i = 0)
|
37 |
#set($i = 0)
|
| Line 37... |
Line 39... |
| 37 |
#set($sp = $sps.get($i))
|
39 |
#set($sp = $sps.get($i))
|
| 38 |
#set($i = $i + 1)
|
40 |
#set($i = $i + 1)
|
| 39 |
<tr>
|
41 |
<tr>
|
| 40 |
<td>$item.getId()</td>
|
42 |
<td>$item.getId()</td>
|
| 41 |
<td>$action.getProductNameFromItem($item)</td>
|
43 |
<td>$action.getProductNameFromItem($item)</td>
|
| 42 |
<td>$item.isActiveOnStore()</td>
|
44 |
<td>#if($item.isActiveOnStore())$item.isActiveOnStore()#end</td>
|
| 43 |
<td><a href="$action.getServletContextPath()/store-admin/$item.getId()">Store Pricing</a></td>
|
45 |
<td><a href="$action.getServletContextPath()/store-admin/$item.getId()">Store Pricing</a></td>
|
| 44 |
<td>$sp.getMinPrice()</td>
|
46 |
<td>$sp.getMinPrice()</td>
|
| 45 |
<td>$sp.getMaxPrice()</td>
|
47 |
<td>$sp.getMaxPrice()</td>
|
| 46 |
<td>$sp.getMinAdvancePrice()</td>
|
48 |
<td>$sp.getMinAdvancePrice()</td>
|
| 47 |
<td>$sp.getRecommendedPrice()</td>
|
49 |
<td>$sp.getRecommendedPrice()</td>
|
| - |
|
50 |
<td>$sp.getFreebieItemId()</td>
|
| - |
|
51 |
<td>$sp.getBestDealText()</td>
|
| 48 |
</tr>
|
52 |
</tr>
|
| 49 |
#end
|
53 |
#end
|
| 50 |
</tbody>
|
54 |
</tbody>
|
| 51 |
</table>
|
55 |
</table>
|
| 52 |
#end
|
56 |
#end
|
| 53 |
|
57 |
|
| 54 |
#set($sp = $action.getStorePricing())
|
58 |
#set($sp1 = $action.getStorePricing())
|
| 55 |
|
59 |
|
| 56 |
#if($sp)
|
60 |
#if($sp1)
|
| 57 |
#set($item = $action.getItem($sp.getItemId()))
|
61 |
#set($item = $action.getItem($sp1.getItemId()))
|
| 58 |
<form name="storepricing" action="$action.getServletContextPath()/store-admin" method="post">
|
62 |
<form name="storepricing" action="$action.getServletContextPath()/store-admin" method="post">
|
| 59 |
ItemId: <input type="text" readonly name="itemId" value="$sp.getItemId()"><br>
|
63 |
ItemId: <input type="text" readonly name="itemId" value="$sp1.getItemId()"><br>
|
| 60 |
Product Detail <input type="text" disabled name="productName" value="$action.getProductNameFromItem($item)"><br>
|
64 |
Product Detail <input type="text" disabled name="productName" value="$action.getProductNameFromItem($item)"><br>
|
| 61 |
Min Price: <input type="text" name="minPrice" value="$sp.getMinPrice()"><br>
|
65 |
Min Price: <input type="text" name="minPrice" value="$sp1.getMinPrice()"><br>
|
| 62 |
Max Price: <input type="text" name="maxPrice" value="$sp.getMaxPrice()"><br>
|
66 |
Max Price: <input type="text" name="maxPrice" value="$sp1.getMaxPrice()"><br>
|
| 63 |
Min Advance Amount: <input type="text" name="minAdvancePrice" value="$sp.getMinAdvancePrice()"><br>
|
67 |
Min Advance Amount: <input type="text" name="minAdvancePrice" value="$sp1.getMinAdvancePrice()"><br>
|
| 64 |
Recommended Selling Price: <input type="text" name="recommendedPrice" value="$sp.getRecommendedPrice()"><br>
|
68 |
Recommended Selling Price: <input type="text" name="recommendedPrice" value="$sp1.getRecommendedPrice()"><br>
|
| - |
|
69 |
Freebie ItemId: <input type="text" name="freebieItemId" value="$sp1.getFreebieItemId()"><br>
|
| - |
|
70 |
Best Deal Text: <input type="text" name="bestDealText" value="$sp1.getBestDealText()"><br>
|
| 65 |
Active on store: <input type="checkbox" name="activeonstore" #if($item.isActiveOnStore()) checked #end><br>
|
71 |
Active on store: <input type="checkbox" name="activeonstore" #if($item.isActiveOnStore()) checked #end><br>
|
| 66 |
<input type="submit" value="Update">
|
72 |
<input type="submit" value="Update">
|
| 67 |
</form>
|
73 |
</form>
|
| 68 |
|
74 |
|
| 69 |
#end
|
75 |
#end
|