Subversion Repositories SmartDukaan

Rev

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

Rev 1966 Rev 1971
Line 131... Line 131...
131
    	if(fqrys!= null){
131
    	if(fqrys!= null){
132
    		length += fqrys.length;
132
    		length += fqrys.length;
133
    	}
133
    	}
134
    	
134
    	
135
    	String[] newfqrys = new String[length];
135
    	String[] newfqrys = new String[length];
136
    	if(CategoryManager.getCategoryManager().getCategory(Long.parseLong(id)).getParentCategoryId() == ROOT_CATEGORY){
136
    	if(CategoryManager.getCategoryManager().getCategory(Long.parseLong(id)).getParent_category_id() == ROOT_CATEGORY){
137
    		newfqrys[0] = "F_50010:"+categoryName;
137
    		newfqrys[0] = "F_50010:"+categoryName;
138
    	}else{
138
    	}else{
139
    		newfqrys[0] = "F_50011:"+categoryName;
139
    		newfqrys[0] = "F_50011:"+categoryName;
140
    	}
140
    	}
141
    	
141
    	
Line 256... Line 256...
256
                        .replaceAll("Phones", "mobile phones")
256
                        .replaceAll("Phones", "mobile phones")
257
                + " in India. Experience n' buy online. FREE Next Day delivery. Original product - Full manufacturer warranty. Comprehensive reviews."; 
257
                + " in India. Experience n' buy online. FREE Next Day delivery. Original product - Full manufacturer warranty. Comprehensive reviews."; 
258
    }
258
    }
259
    
259
    
260
    public String getPageMetaKeywords() {
260
    public String getPageMetaKeywords() {
261
        if(CategoryManager.getCategoryManager().getCategory(Long.parseLong(id)).getParentCategoryId()== MOBILE_PHONES_CATEGORY){
261
        if(CategoryManager.getCategoryManager().getCategory(Long.parseLong(id)).getParent_category_id()== MOBILE_PHONES_CATEGORY){
262
        	return this.categoryName + ", mobile phone";
262
        	return this.categoryName + ", mobile phone";
263
    	}
263
    	}
264
        if(CategoryManager.getCategoryManager().getCategory(Long.parseLong(id)).getParentCategoryId()== MOBILE_ACCESSORIES_CATEGORY){
264
        if(CategoryManager.getCategoryManager().getCategory(Long.parseLong(id)).getParent_category_id()== MOBILE_ACCESSORIES_CATEGORY){
265
        	return this.categoryName + ", phone accessories";
265
        	return this.categoryName + ", phone accessories";
266
    	}
266
    	}
267
        return "";
267
        return "";
268
    }
268
    }
269
    
269