Error when losing coupon and try to regain it


  • Default avatar
    xristos    
     3 years ago
    0

    Hi, congratulation for the great component!


    I have an issue working with it and I need your help.

    I created a coupon that is enabled when someone orders quantity over 10 items.


    I am adding 10 items in my cart and inputting the coupon. So far so good.

    If I remove one item the coupon disappears, that's great.

    If I add again one item, I cannot input again the coupon, as I am getting the errror "An error has occurred while processing your request" and I cannot do anything to make it work, refreshing the page isn't helping so I need to abandon the cart.


    Is this behavior normal or a bug that need to be fixed?


    Thanks in advance.

  • Your avatar
    seyi    
     3 years ago
    0

    Hello,

    That sounds like a bug.  What shopping cart and version are you using?  If Virtuemart, are you using a checkout extension?
  • Default avatar
    xristos    
     3 years ago
    0

    Thanks for your reply!

    I am using:

    Joomla 3.9.19

    Virtuemart 3.6.0

    VP One Page Checkout 6.6.1


    Glad to know it's a bug and not the way it was meant to work :)

  • Your avatar
    seyi    
     3 years ago
    0

    If you disable VP onepage, do you get the same error?

    If you like I can look directly into it if you can send a private message with temp access.
  • Default avatar
    xristos    
     3 years ago  last edited 3 years ago
    0

    Thanks a lot! I sent you a pm with the credentials.

    Looking forward for your response!

  • Your avatar
    seyi    
     3 years ago
    0

    Thanks for the access.  It was an issue with AwoCoupon, I have fixed it in your installation, and will be updated on the next release.
  • Default avatar
    xristos    
     3 years ago
    0

    Thank you very much!

    Can you please send me the files that I must replace with instructions? I gave you access to a clone, not to the live site so I should do the changes there as well.

  • Your avatar
    seyi    
     3 years ago
    0

    You just need to update the file:
    /administrator/components/com_awocoupon/helper/estore/virtuemart/class-awocoupon-helper-estore-virtuemart-discount.php
  • Default avatar
    xristos    
     3 years ago
    0

    Thanks a lot! That did the trick. Now it works as it should!