- Posts: 34
- Thank you received: 0
The Payment Method Restriction by Shipping Methods
15 years 1 week ago - 15 years 1 week ago #30380
by SD
The Payment Method Restriction by Shipping Methods was created 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.
"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: 15 years 1 week ago by SD.
Please Log in or Create an account to join the conversation.
15 years 1 week ago #30403
by nicolas
Replied by nicolas on topic Re: The Payment Method Restriction by Shipping Methods
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.
15 years 1 week ago #30417
by SD
Replied by SD on topic Re: The Payment Method Restriction by Shipping Methods
nicolas wrote:
Could I please get a confirmation on that...I want to correct that error and save as much time as possible. Thanks.
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.
15 years 1 week ago #30431
by nicolas
Replied by nicolas on topic Re: The Payment Method Restriction by Shipping Methods
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.
15 years 1 week ago #30473
by SD
Replied by SD on topic Re: The Payment Method Restriction by Shipping Methods
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.
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.
15 years 1 week ago #30487
by nicolas
Replied by nicolas on topic Re: The Payment Method Restriction by Shipping Methods
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.064 seconds