| Line 268... |
Line 268... |
| 268 |
context.put("IS_STORE", domain.contains("store")?"TRUE":"FALSE");
|
268 |
context.put("IS_STORE", domain.contains("store")?"TRUE":"FALSE");
|
| 269 |
context.put("EMI", emiString);
|
269 |
context.put("EMI", emiString);
|
| 270 |
if(isPrivateDeal) {
|
270 |
if(isPrivateDeal) {
|
| 271 |
context.put("PRIVATE_DEAL_TEXT", privateDealText);
|
271 |
context.put("PRIVATE_DEAL_TEXT", privateDealText);
|
| 272 |
context.put("PRIVATE_DEAL_PRICE", String.format(Locale.getDefault(),"%.0f",minDealPrice));
|
272 |
context.put("PRIVATE_DEAL_PRICE", String.format(Locale.getDefault(),"%.0f",minDealPrice));
|
| 273 |
if(items.size()==privateDealCounter) {
|
273 |
if(items.size()==privateDealCounter && items.size()>1) {
|
| 274 |
context.put("AVAILABLE", "Available for all colors");
|
274 |
context.put("AVAILABLE", "Available for all colors");
|
| 275 |
}
|
- |
|
| 276 |
if(items.size()>1) context.put("AVAILABLE", dealAvailableString.substring(0, dealAvailableString.length()-3));
|
275 |
} else if(items.size()>1) context.put("AVAILABLE", dealAvailableString.substring(0, dealAvailableString.length()-3));
|
| 277 |
}
|
276 |
}
|
| 278 |
List<String> filenames = new ArrayList<String>();
|
277 |
List<String> filenames = new ArrayList<String>();
|
| 279 |
if(!domain.contains("store")){
|
278 |
if(!domain.contains("store")){
|
| 280 |
filenames.add("WidgetSnippet");
|
279 |
filenames.add("WidgetSnippet");
|
| 281 |
filenames.add("ProductPropertiesSnippet");
|
280 |
filenames.add("ProductPropertiesSnippet");
|