Change Login To Use Coupon Code


  • Default avatar
    MyWorld    
     11 years ago
    0

    I'm using the coupon on Hikashop and when I test it using their coupon you do not have to login in order to use the coupon code, but when I use awoCoupon the user has to login in order to use the coupon - otherwise it says "Coupon Not Valid".

    How do I change it so that the user do not have to login first in order to enter the coupon code?

    Thanks!!
  • Your avatar
    seyi    
     11 years ago
    0

    https://awodev.com/forum/awocoupon/help-section/coupon-discount-not-reflected-unless-user-logged#comment-2638
  • Default avatar
    MyWorld    
     11 years ago
    0

    Thanks for that.

    I get the error below when I try the coupon without logging in. The first line is fine, but why do I also get the second line that says "The coupon you entered is not valid".

    Also, is there a way to remove the coupon code from the message. In this case the coupon code is "test".

    Error

    test: You need to login in order to use this coupon.
    The coupon you entered is not valid


    Thank you!!
  • Your avatar
    seyi    
     11 years ago
    0

    The second is an overall message. To remove the code, you will need to edit
    www/administrator/components/com_awocoupon/helpers/estore/hikashop/couponhandler.php, function return_false