Subversion Repositories SmartDukaan

Rev

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

Rev 7601 Rev 7761
Line 190... Line 190...
190
            store_message += "Saholic MOP Changed. DP {0} is less than Saholic MOP.\n".format(sp.minPrice)
190
            store_message += "Saholic MOP Changed. DP {0} is less than Saholic MOP.\n".format(sp.minPrice)
191
                    
191
                    
192
    ds_item.mrp = item.mrp
192
    ds_item.mrp = item.mrp
193
    if ds_item.sellingPrice or item.sellingPrice:
193
    if ds_item.sellingPrice or item.sellingPrice:
194
        if ds_item.sellingPrice != item.sellingPrice:
194
        if ds_item.sellingPrice != item.sellingPrice:
-
 
195
            amazonItem = get_amazon_item_details(item.id)
-
 
196
            if amazonItem is not None:
-
 
197
                amazonItem.fbaPrice = item.sellingPrice
-
 
198
                amazonItem.sellingPrice=item.sellingPrice
195
            message += "Selling Price is changed from {0} to {1}.\n".format(ds_item.sellingPrice, item.sellingPrice)
199
            message += "Selling Price is changed from {0} to {1}.\n".format(ds_item.sellingPrice, item.sellingPrice)
196
        
200
        
197
    ds_item.sellingPrice = item.sellingPrice
201
    ds_item.sellingPrice = item.sellingPrice
198
    
-
 
199
    amazonItem = get_amazon_item_details(item.id)
-
 
200
    if amazonItem is not None:
-
 
201
        amazonItem.fbaPrice = item.sellingPrice
-
 
202
        amazonItem.sellingPrice=item.sellingPrice
-
 
203
 
202
 
204
    ds_item.weight = item.weight
203
    ds_item.weight = item.weight
205
    ds_item.showSellingPrice = item.showSellingPrice
204
    ds_item.showSellingPrice = item.showSellingPrice
206
    
205
    
207
    if item.asin:
206
    if item.asin: