Author Topic: Coupon never expired and get wrong message  (Read 4420 times)

thezak

  • Beginner
  • *
  • Posts: 14
Coupon never expired and get wrong message
« on: February 08, 2013, 19:32:06 pm »
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

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10440
  • VirtueMart Version: 3+
Re: Coupon never expired and get wrong message
« Reply #1 on: February 10, 2013, 19:39:47 pm »
is this front end or backend?

Please explain better

thezak

  • Beginner
  • *
  • Posts: 14
Re: Coupon never expired and get wrong message
« Reply #2 on: February 11, 2013, 15:37:53 pm »
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