Removing coupon displays invalid message

  • Posts: 113
  • Thank you received: 18
12 years 2 months ago #63887

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 Log in or Create an account to join the conversation.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
12 years 2 months ago #64250

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.

  • Posts: 2334
  • Thank you received: 403
12 years 2 months ago #64282

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):

if(!$this->cart_update){
By this one:
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.066 seconds
Powered by Kunena Forum