Subversion Repositories SmartDukaan

Rev

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

Rev 12678 Rev 12679
Line 1300... Line 1300...
1300
    elif location==2:
1300
    elif location==2:
1301
        sku='FBB'+str(item_id)
1301
        sku='FBB'+str(item_id)
1302
    else:
1302
    else:
1303
        return 0.0
1303
        return 0.0
1304
    if amazonLongTermActivePromotions.has_key(sku):
1304
    if amazonLongTermActivePromotions.has_key(sku):
1305
        msp = (amazonLongTermActivePromotions.get(sku)).salePrice
1305
        msp = (amazonLongTermActivePromotions.get(sku)).promoPrice
1306
    elif amazonShortTermActivePromotions.has_key(sku):
1306
    elif amazonShortTermActivePromotions.has_key(sku):
1307
        msp = (amazonShortTermActivePromotions.get(sku)).salePrice
1307
        msp = (amazonShortTermActivePromotions.get(sku)).promoPrice
1308
    else:
1308
    else:
1309
        msp = 0
1309
        msp = 0
1310
    return msp
1310
    return msp
1311
 
1311
 
1312
 
1312