Subversion Repositories SmartDukaan

Rev

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

Rev 12020 Rev 12055
Line 211... Line 211...
211
        line.dealText = t_line.dealText
211
        line.dealText = t_line.dealText
212
        line.freebieId = t_line.freebieId
212
        line.freebieId = t_line.freebieId
213
    
213
    
214
    cart.total_price = t_cart.totalPrice
214
    cart.total_price = t_cart.totalPrice
215
    cart.discounted_price = t_cart.discountedPrice
215
    cart.discounted_price = t_cart.discountedPrice
-
 
216
    cart.coupon_code = coupon_code
216
    session.commit()
217
    session.commit()
217
 
218
 
218
def remove_coupon(cart_id):
219
def remove_coupon(cart_id):
219
    cart = get_cart_by_id(cart_id)
220
    cart = get_cart_by_id(cart_id)
220
    if not cart:
221
    if not cart: