app/models/plugins/ecommerce/cart.rb in camaleon_ecommerce-2.0.2 vs app/models/plugins/ecommerce/cart.rb in camaleon_ecommerce-2.0.3

- old
+ new

@@ -72,11 +72,11 @@ res[:discount] = sub_total * opts[:amount].to_f / 100 when 'money' res[:discount] = opts[:amount].to_f end end - # else - # res[:error] = 'coupon_not_found' + else + res[:error] = 'coupon_not_found' end res end def prepare_to_pay