Subversion Repositories SmartDukaan

Rev

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

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