Subversion Repositories SmartDukaan

Rev

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

Rev 24869 Rev 25127
Line 170... Line 170...
170
                    catalogObj['feature'] = featureMap.get(item.catalog_item_id)
170
                    catalogObj['feature'] = featureMap.get(item.catalog_item_id)
171
            #Mobile and tablets are showcased in same category
171
            #Mobile and tablets are showcased in same category
172
            catalogObj['categoryId'] = 3 if item.category in [10006, 10009] else 6   
172
            catalogObj['categoryId'] = 3 if item.category in [10006, 10009] else 6   
173
            catalogObj['subCategoryId'] = item.category   
173
            catalogObj['subCategoryId'] = item.category   
174
            catalogObj['create_timestamp'] = to_java_date(tag.create_timestamp)
174
            catalogObj['create_timestamp'] = to_java_date(tag.create_timestamp)
-
 
175
            if tag.active:
175
            catalogMap[item.catalog_item_id] = catalogObj
176
                catalogMap[item.catalog_item_id] = catalogObj
176
 
177
 
177
        catalogObj = catalogMap.get(item.catalog_item_id)
178
        catalogObj = catalogMap.get(item.catalog_item_id)
178
 
179
 
179
        if tag.hot_deals:
180
        if tag.hot_deals:
180
            catalogObj['hot_deals'] = "True"
181
            catalogObj['hot_deals'] = "True"