The Payment Method Restriction by Shipping Methods

  • Posts: 34
  • Thank you received: 0
10 years 7 months ago #30380

In your changelog for Hikashop 1.5.4 you mention the correction of this bug:

"The payment method restriction by shipping methods was only effective after the refresh of the page on the checkout"

What file would I have to replace or edit in 1.5.3 for this to work? Is there a specific piece of code in the file that has to be changed?

I'm not sure if this is in the wrong section, if so I apologize.

Last edit: 10 years 7 months ago by SD.

Please Log in or Create an account to join the conversation.

  • Posts: 75905
  • Thank you received: 11855
  • MODERATOR
10 years 7 months ago #30403

I honestly don't remember where was that change. I think that it might be in components/com_hikashop/controllers/checkout.php but I might be wrong.

Please Log in or Create an account to join the conversation.

  • Posts: 34
  • Thank you received: 0
10 years 7 months ago #30417

nicolas wrote:

I honestly don't remember where was that change. I think that it might be in components/com_hikashop/controllers/checkout.php but I might be wrong.


Could I please get a confirmation on that...I want to correct that error and save as much time as possible. Thanks.

Please Log in or Create an account to join the conversation.

  • Posts: 75905
  • Thank you received: 11855
  • MODERATOR
10 years 7 months ago #30431

I compared both files and there was indeed a change for that bug in there.

Please Log in or Create an account to join the conversation.

  • Posts: 34
  • Thank you received: 0
10 years 7 months ago #30473

Thanks Nicolas!

Do you recall what code was changed? I mean to nag, we just changed quite a bit of code so it would be nice to know what to look for. Thanks again.

Please Log in or Create an account to join the conversation.

  • Posts: 75905
  • Thank you received: 11855
  • MODERATOR
10 years 7 months ago #30487

In the after_shipping function we added the line: $this->initCart(true);

Please Log in or Create an account to join the conversation.

Time to create page: 0.065 seconds
Powered by Kunena Forum