Subversion Repositories SmartDukaan

Rev

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

Rev 4058 Rev 4752
Line 160... Line 160...
160
		filenames.add("ProductPropertiesSnippet");
160
		filenames.add("ProductPropertiesSnippet");
161
		filenames.add("MyResearchSnippet");
161
		filenames.add("MyResearchSnippet");
162
		filenames.add("AfterSales");
162
		filenames.add("AfterSales");
163
		
163
		
164
		Category category = CategoryManager.getCategoryManager().getCategory(items.get(0).getCategory());
164
		Category category = CategoryManager.getCategoryManager().getCategory(items.get(0).getCategory());
-
 
165
		if(category!=null){
165
        if(category.getParent_category_id() != Utils.MOBILE_ACCESSORIES_CATEGORY) {
166
	        if(category.getParent_category_id() != Utils.MOBILE_ACCESSORIES_CATEGORY) {
166
        	
167
	        	
167
        	if(category.getId() != Utils.LAPTOPS_CATEGORY)	{
168
	        	if(category.getId() != Utils.LAPTOPS_CATEGORY)	{
168
        		filenames.add("PhonesIOwnSnippet");
169
	        		filenames.add("PhonesIOwnSnippet");
169
    			filenames.add("RelatedAccessories");
170
	    			filenames.add("RelatedAccessories");
170
    			filenames.add("MostComparedProducts");
171
	    			filenames.add("MostComparedProducts");
171
        	}
172
	        	}
172
			filenames.add("CompareProductSnippet");
173
				filenames.add("CompareProductSnippet");
173
			filenames.add("ComparisonSnippet");
174
				filenames.add("ComparisonSnippet");
174
			filenames.add("CompareProductSummarySnippet");
175
				filenames.add("CompareProductSummarySnippet");
175
			filenames.add("SlideNamesSnippet");
176
				filenames.add("SlideNamesSnippet");
-
 
177
			}
176
		}
178
		}
177
		getHtmlFromVelocity(filenames,exportPath,context,catalogId);
179
		getHtmlFromVelocity(filenames,exportPath,context,catalogId);
178
		return minPriceItem.getSellingPrice();
180
		return minPriceItem.getSellingPrice();
179
	}
181
	}
180
	
182