Subversion Repositories SmartDukaan

Rev

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

Rev 12953 Rev 14892
Line 131... Line 131...
131
    sdObj = struct['rows'][0]
131
    sdObj = struct['rows'][0]
132
    print sdObj
132
    print sdObj
133
    if type(sdObj['catalogLive']) is None or not (sdObj['catalogLive']):
133
    if type(sdObj['catalogLive']) is None or not (sdObj['catalogLive']):
134
        raise
134
        raise
135
    woodenPackagingCost = 0.0
135
    woodenPackagingCost = 0.0
136
    if sdObj['woodenPackaging']:
-
 
137
        woodenPackagingCost = sdObj['woodenPackagingCost'] 
136
    woodenPackagingCost = sdObj['extraFulfillmentFeesAfterWaiver'] 
138
    snapdealInfo = __SnapdealInfo(None,None,None,None,None,None,sdObj['sellingPrice'],sdObj['netSellerPayable'],sdObj['fixedMarginAmount'],sdObj['fixedMarginPercent'],sdObj['collectionCharges'],sdObj['logisticCost'],sdObj['deadWeight'],supc,None, \
137
    snapdealInfo = __SnapdealInfo(None,None,None,None,None,None,sdObj['sellingPrice'],sdObj['netSellerPayable'],sdObj['fixedMarginAmount'],sdObj['fixedMarginPercent'],sdObj['collectionCharges'],sdObj['logisticCost'],sdObj['deadWeight'],supc,None, \
139
                    None, None, None, None, None, None, None,woodenPackagingCost)
138
                    None, None, None, None, None, None, None,woodenPackagingCost)
140
    return snapdealInfo
139
    return snapdealInfo
141
 
140
 
142
def filterData(fetchedItems):
141
def filterData(fetchedItems):