Subversion Repositories SmartDukaan

Rev

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

Rev 4025 Rev 4036
Line 150... Line 150...
150
		filenames.add("ProductPropertiesSnippet");
150
		filenames.add("ProductPropertiesSnippet");
151
		filenames.add("MyResearchSnippet");
151
		filenames.add("MyResearchSnippet");
152
		filenames.add("AfterSales");
152
		filenames.add("AfterSales");
153
		
153
		
154
		Category category = CategoryManager.getCategoryManager().getCategory(items.get(0).getCategory());
154
		Category category = CategoryManager.getCategoryManager().getCategory(items.get(0).getCategory());
155
        if(category.getParent_category_id() != Utils.MOBILE_ACCESSORIES_CATEGORY && category.getId() != Utils.LAPTOPS_CATEGORY) {
155
        if(category.getParent_category_id() != Utils.MOBILE_ACCESSORIES_CATEGORY) {
-
 
156
        	
-
 
157
        	if(category.getId() != Utils.LAPTOPS_CATEGORY)	{
156
			filenames.add("PhonesIOwnSnippet");
158
        		filenames.add("PhonesIOwnSnippet");
-
 
159
    			filenames.add("RelatedAccessories");
-
 
160
    			filenames.add("MostComparedProducts");
-
 
161
        	}
157
			filenames.add("CompareProductSnippet");
162
			filenames.add("CompareProductSnippet");
158
			filenames.add("ComparisonSnippet");
163
			filenames.add("ComparisonSnippet");
159
			filenames.add("CompareProductSummarySnippet");
164
			filenames.add("CompareProductSummarySnippet");
160
			filenames.add("SlideNamesSnippet");
165
			filenames.add("SlideNamesSnippet");
161
			filenames.add("RelatedAccessories");
-
 
162
			filenames.add("MostComparedProducts");
-
 
163
		}
166
		}
164
		getHtmlFromVelocity(filenames,exportPath,context,catalogId);
167
		getHtmlFromVelocity(filenames,exportPath,context,catalogId);
165
		return minPriceItem.getSellingPrice();
168
		return minPriceItem.getSellingPrice();
166
	}
169
	}
167
	
170