coupons
coupons copied to clipboard
redeemable? returns false when limit is set to 0.
This is pretty simple - I fixed it by changing the has_available_redemptions method to :
def has_available_redemptions? redemptions_count.zero? || redemptions_count < redemption_limit || redemption_limit == 0 end
Awesome, I've had that same issue. Gonna try this one out
I had this same issue today and fixed it same as @renegadeandy