- Posts: 113
- Thank you received: 18
Removing coupon displays invalid message
14 years 3 weeks ago #63887
by csymmonds
Removing coupon displays invalid message was created by csymmonds
During checkout, deleting a coupon displays two messages, one expected, one apparently in error:
• Please create or select an address
• Coupon removed
...even though there is an address selected.
• Please create or select an address
• Coupon removed
...even though there is an address selected.
Please Log in or Create an account to join the conversation.
14 years 3 weeks ago #64250
by nicolas
Replied by nicolas on topic Re: Removing coupon displays invalid message
We were able to reproduce the problem on our end. We'll look for a solution.
Please Log in or Create an account to join the conversation.
14 years 3 weeks ago #64282
by Eliot
Replied by Eliot on topic Re: Removing coupon displays invalid message
Indeed it was a bug in Hikashop. To fix it, edit the checkout.php file in the folder components\com_hikashop\controllers and replace this line (in the after_address function, line 603):
By this one:
Code:
if(!$this->cart_update){
Code:
if(!$this->cart_update && !JRequest::getInt('removecoupon',0)){
The following user(s) said Thank You: csymmonds
Please Log in or Create an account to join the conversation.
Time to create page: 0.184 seconds