Skip to main content

The Payment Method Restriction by Shipping Methods

More
14 years 10 months ago - 14 years 10 months ago #30380 by SD
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: 14 years 10 months ago by SD.

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

More
14 years 10 months ago #30403 by nicolas
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.

More
14 years 10 months ago #30417 by SD
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.

More
14 years 10 months ago #30431 by nicolas
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.

More
14 years 10 months ago #30473 by SD
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.

More
14 years 10 months ago #30487 by nicolas
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.189 seconds
Powered by Kunena Forum