Subversion Repositories SmartDukaan

Rev

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

Rev 16565 Rev 16566
Line 644... Line 644...
644
        return {}
644
        return {}
645
    else:
645
    else:
646
        bundleId = skuData[0]["skuBundleId"]
646
        bundleId = skuData[0]["skuBundleId"]
647
        itemIds = list(get_mongo_connection().Catalog.MasterData.find({'_id':bundleId, 'stock_status':'In stock'}))
647
        itemIds = list(get_mongo_connection().Catalog.MasterData.find({'_id':bundleId, 'stock_status':'In stock'}))
648
        for item in itemIds:
648
        for item in itemIds:
-
 
649
            source_id = item['source_id']
649
            item['dealFlag'] = 0
650
            item['dealFlag'] = 0
650
            item['dealType'] = 0
651
            item['dealType'] = 0
651
            item['dealUrl'] = ""
652
            item['dealUrl'] = ""
652
            if item['source_id'] ==5 and item['rank'] == 0:
653
            if item['source_id'] ==5 and item['rank'] == 0:
653
                continue
654
                continue