News:

Support the VirtueMart project and become a member

Main Menu

Coupon never expired and get wrong message

Started by thezak, February 08, 2013, 19:32:06 PM

Previous topic - Next topic

thezak

Hi,
i have this problem, (i use joomla version 2.5.9 and vm 2.0.18a)
when i insert an invalid coupon code i get these message (togheter):

* Discount Coupon successfully added
* Coupon code not found. Please try again.

the second message is ok, but why i get "succesfully added" if the code is wrong ?

coupon also not work corretly because, if the date expired, can use again and again..

you have any idea to solve ?

thanks,
zak.

PRO

is this front end or backend?

Please explain better

thezak

hi,
i get this double message on front-end,
and seems that coupon never expire, for example i set :
expiry: 2010/01/01 but still can use...

i install also awocoupon, and work good.. (i install awocoupon after get problem with vm-coupon)..
as tell me on awocoupon forum, i modify on ../components/com_virtuemart/helpers/cart.php, around line 695 like this:
(delete COM_VIRTUEMART_CART_COUPON_VALID)
return JText::_('');

joomla 2.5.9 - vm 2.0.18a

i don't solve the problem, but i "turn around"
maybe there is a small bug on new release 2.0.18a?

thank you,
zak