| Line 2342... |
Line 2342... |
| 2342 |
item.serviceTaxVoi = snapdealitem.serviceTaxVoi
|
2342 |
item.serviceTaxVoi = snapdealitem.serviceTaxVoi
|
| 2343 |
if snapdealitem.transferPriceVoi is not None:
|
2343 |
if snapdealitem.transferPriceVoi is not None:
|
| 2344 |
item.transferPriceVoi = snapdealitem.transferPriceVoi
|
2344 |
item.transferPriceVoi = snapdealitem.transferPriceVoi
|
| 2345 |
if snapdealitem.commissionVoi is not None:
|
2345 |
if snapdealitem.commissionVoi is not None:
|
| 2346 |
item.commissionVoi = snapdealitem.commissionVoi
|
2346 |
item.commissionVoi = snapdealitem.commissionVoi
|
| - |
|
2347 |
if snapdealitem.courierCostMarketplaceVoi is not None:
|
| - |
|
2348 |
item.courierCostMarketplaceVoi = snapdealitem.courierCostMarketplaceVoi
|
| - |
|
2349 |
if snapdealitem.commissionPercentageVoi is not None:
|
| - |
|
2350 |
item.commissionPercentageVoi = snapdealitem.commissionPercentageVoi
|
| 2347 |
__markStatusForMarketplaceItems(snapdealitem,item)
|
2351 |
__markStatusForMarketplaceItems(snapdealitem,item)
|
| 2348 |
return update_marketplace_attributes_for_item(snapdealitem.marketplaceItems)
|
2352 |
return update_marketplace_attributes_for_item(snapdealitem.marketplaceItems)
|
| 2349 |
else:
|
2353 |
else:
|
| 2350 |
item = SnapdealItem()
|
2354 |
item = SnapdealItem()
|
| 2351 |
if snapdealitem.item_id is not None:
|
2355 |
if snapdealitem.item_id is not None:
|
| Line 2392... |
Line 2396... |
| 2392 |
item.serviceTaxVoi = snapdealitem.serviceTaxVoi
|
2396 |
item.serviceTaxVoi = snapdealitem.serviceTaxVoi
|
| 2393 |
if snapdealitem.transferPriceVoi is not None:
|
2397 |
if snapdealitem.transferPriceVoi is not None:
|
| 2394 |
item.transferPriceVoi = snapdealitem.transferPriceVoi
|
2398 |
item.transferPriceVoi = snapdealitem.transferPriceVoi
|
| 2395 |
if snapdealitem.commissionVoi is not None:
|
2399 |
if snapdealitem.commissionVoi is not None:
|
| 2396 |
item.commissionVoi = snapdealitem.commissionVoi
|
2400 |
item.commissionVoi = snapdealitem.commissionVoi
|
| - |
|
2401 |
if snapdealitem.courierCostMarketplaceVoi is not None:
|
| - |
|
2402 |
item.courierCostMarketplaceVoi = snapdealitem.courierCostMarketplaceVoi
|
| - |
|
2403 |
if snapdealitem.commissionPercentageVoi is not None:
|
| - |
|
2404 |
item.commissionPercentageVoi = snapdealitem.commissionPercentageVoi
|
| 2397 |
__markStatusForMarketplaceItems(snapdealitem,item)
|
2405 |
__markStatusForMarketplaceItems(snapdealitem,item)
|
| 2398 |
return update_marketplace_attributes_for_item(snapdealitem.marketplaceItems)
|
2406 |
return update_marketplace_attributes_for_item(snapdealitem.marketplaceItems)
|
| 2399 |
except Exception as ex:
|
2407 |
except Exception as ex:
|
| 2400 |
print "Unable to addOrupdate snapdealItem"
|
2408 |
print "Unable to addOrupdate snapdealItem"
|
| 2401 |
print ex
|
2409 |
print ex
|