Subversion Repositories SmartDukaan

Rev

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

Rev 26576 Rev 26750
Line 143... Line 143...
143
            catalogObj['feature'] = ""
143
            catalogObj['feature'] = ""
144
            catalogObj['title'] = " ".join(filter(None, [item.brand, item.model_name,  item.model_number]))
144
            catalogObj['title'] = " ".join(filter(None, [item.brand, item.model_name,  item.model_number]))
145
            catalogObj['brand'] = (item.brand)
145
            catalogObj['brand'] = (item.brand)
146
            if item.brand == 'Huawei' or item.brand == 'Honor':
146
            if item.brand == 'Huawei' or item.brand == 'Honor':
147
                catalogObj['brand'] = ('Huawei', 'Honor')
147
                catalogObj['brand'] = ('Huawei', 'Honor')
-
 
148
            if item.brand == 'Mi' or item.brand == 'Xiaomi' or item.brand == 'Redmi':
-
 
149
                catalogObj['brand'] = ('Mi', 'Xiaomi', 'Redmi')
148
            catalogObj['identifier'] = item.catalog_item_id
150
            catalogObj['identifier'] = item.catalog_item_id
149
            catalogObj['items'] = {}
151
            catalogObj['items'] = {}
150
            catalogObj['hot_deals'] = "False"
152
            catalogObj['hot_deals'] = "False"
151
            filterMap = {"_id":item.catalog_item_id}
153
            filterMap = {"_id":item.catalog_item_id}
152
            #Dont include it catalog not available
154
            #Dont include it catalog not available