Subversion Repositories SmartDukaan

Rev

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

Rev 22567 Rev 22569
Line 899... Line 899...
899
    privateDealUser = PrivateDealUser.get_by(id=user.id)
899
    privateDealUser = PrivateDealUser.get_by(id=user.id)
900
    fofoDealsMap = {}
900
    fofoDealsMap = {}
901
    if sourceId==53:
901
    if sourceId==53:
902
        #get tagId valid
902
        #get tagId valid
903
        #get all fofoDeals corresponding to item
903
        #get all fofoDeals corresponding to item
904
        fofoDealsMap = catalog_client.getAllFofoDeals(itemIds, [53])    
904
        fofoDealsMap = catalog_client.getAllFofoDeals(itemIds, [53, 4, 7])    
905
    if privateDealUser is not None and privateDealUser.isActive:
905
    if privateDealUser is not None and privateDealUser.isActive:
906
        deals = catalog_client.getAllActivePrivateDeals(itemIds, 0)
906
        deals = catalog_client.getAllActivePrivateDeals(itemIds, 0)
907
        dealItems = deals.keys()
907
        dealItems = deals.keys()
908
        bulkPricingMap = catalog_client.getBulkPricingForItems(itemIds)
908
        bulkPricingMap = catalog_client.getBulkPricingForItems(itemIds)
909
        bulkPricingItems = bulkPricingMap.keys()
909
        bulkPricingItems = bulkPricingMap.keys()