| Line 149... |
Line 149... |
| 149 |
productDetailsSubMap['subOrderTrackingUrl']=ORDER_TRACK_URL_DB+'order_id=' +str(orderId)+'&email_id='+ orderObj['0']['email']
|
149 |
productDetailsSubMap['subOrderTrackingUrl']=ORDER_TRACK_URL_DB+'order_id=' +str(orderId)+'&email_id='+ orderObj['0']['email']
|
| 150 |
productDetailsSubMap['sellingPrice']=sellingPrice
|
150 |
productDetailsSubMap['sellingPrice']=sellingPrice
|
| 151 |
productDetailsSubMap['quantity']=quantity
|
151 |
productDetailsSubMap['quantity']=quantity
|
| 152 |
productDetailsSubMap['discount']=discount
|
152 |
productDetailsSubMap['discount']=discount
|
| 153 |
productDetailsSubMap['subtotal']=subtotal
|
153 |
productDetailsSubMap['subtotal']=subtotal
|
| - |
|
154 |
key = str(orderId)+'-'+str(count)
|
| - |
|
155 |
print 'SubOrder Map Key--',key
|
| 154 |
jsonSubOrderDetails = jsonSubOrdersMap.get(str(orderId)+'-'+str(count))
|
156 |
jsonSubOrderDetails = jsonSubOrdersMap.get(str(orderId)+'-'+str(count))
|
| 155 |
productCode = jsonSubOrderDetails['product_code']
|
157 |
productCode = jsonSubOrderDetails['product_code']
|
| 156 |
productImgUrl = jsonSubOrderDetails['images']['image_path'][0]
|
158 |
productImgUrl = jsonSubOrderDetails['images']['image_path'][0]
|
| 157 |
productDetailsSubMap['productCode']=productCode
|
159 |
productDetailsSubMap['productCode']=productCode
|
| 158 |
productDetailsSubMap['imgUrl']=productImgUrl
|
160 |
productDetailsSubMap['imgUrl']=productImgUrl
|