Subversion Repositories SmartDukaan

Rev

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

Rev 11905 Rev 12133
Line 554... Line 554...
554
    t_pdcomp.fkPrice = pdComp.fkPrice
554
    t_pdcomp.fkPrice = pdComp.fkPrice
555
    t_pdcomp.amazonPrice = pdComp.amazonPrice
555
    t_pdcomp.amazonPrice = pdComp.amazonPrice
556
    t_pdcomp.productName = xstr(catItem.brand)+" "+xstr(catItem.model_name)+" "+xstr(catItem.model_number)+" "+xstr(catItem.color)
556
    t_pdcomp.productName = xstr(catItem.brand)+" "+xstr(catItem.model_name)+" "+xstr(catItem.model_number)+" "+xstr(catItem.color)
557
    return t_pdcomp
557
    return t_pdcomp
558
        
558
        
-
 
559
def to_t_snapdeal_marketplace_item(item):
-
 
560
    mpItem = item[1]
-
 
561
    dItem = item[2]
-
 
562
    t_sd_item = to_t_snapdeal_item(item)
-
 
563
    t_sd_item.marketplaceItems = to_t_marketplace_items(mpItem)
-
 
564
    t_sd_item.item = to_t_item(dItem)
-
 
565
    return t_sd_item
-
 
566
 
-
 
567
def to_t_flipkart_marketplace_item(item):
-
 
568
    mpItem = item[1]
-
 
569
    dItem = item[2]
-
 
570
    t_fk_item = to_t_flipkart_item(item)
-
 
571
    t_fk_item.marketplaceItems = to_t_marketplace_items(mpItem)
-
 
572
    t_fk_item.item = to_t_item(dItem)
-
 
573
    return t_fk_item