Subversion Repositories SmartDukaan

Rev

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

Rev 17387 Rev 17389
Line 494... Line 494...
494
            except:
494
            except:
495
                print "----------------", s['suborderStatus']
495
                print "----------------", s['suborderStatus']
496
 
496
 
497
            subOrder.merchantSubOrderId = s['code']
497
            subOrder.merchantSubOrderId = s['code']
498
            subOrder.deliveryCharges = s['shippingCharges']
498
            subOrder.deliveryCharges = s['shippingCharges']
499
            subOrder.productCode = s['supcCode']
499
            subOrder.productCode = re.findall(r'\d+$', productUrl)[0]
500
            subOrder.imgUrl = map1['imgUrl']
500
            subOrder.imgUrl = map1['imgUrl']
501
            subOrder.unitPrice = s['offerPrice']  -s['internalCashbackValue'] - s['externalCashbackValue']
501
            subOrder.unitPrice = s['offerPrice']  -s['internalCashbackValue'] - s['externalCashbackValue']
502
            subOrder.amount = subOrder.unitPrice - s['offerDiscount'] - s['sdCash']
502
            subOrder.amount = subOrder.unitPrice - s['offerDiscount'] - s['sdCash']
503
            try:
503
            try:
504
                try:
504
                try: