Footer disappers on the "End" page of checkout

  • Posts: 3
  • Thank you received: 0
11 years 8 months ago #61472

Hello,

I have been having an issue with the "End" checkout page. Once it goes to the "End" page to redirect to paypal the footer disappears. I was hoping you would be able to help me out.

Below is a screenshot of the footer on the rest of the site. Then what happens when it gets to the "End" page. I am using Hikashop Essentials.

Thanks.

Attachments:

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

  • Posts: 12953
  • Thank you received: 1778
11 years 8 months ago #61504

Hello,

I think that you should edit your "/plugins/hikashoppayment/paypal/paypal_end.php" file and replace the lines :

JRequest::setVar('noform',1); ?>
</form>
<script type="text/javascript">
document.getElementById('hikashop_paypal_form').submit();
</script>
by these lines :
$doc =& JFactory::getDocument();
$doc->addScriptDeclaration("do_nothing( function() {document.getElementById('hikashop_paypal_form').submit();});");
JRequest::setVar('noform',1);
?>
</form>

The following user(s) said Thank You: illuzionx7

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

  • Posts: 3
  • Thank you received: 0
11 years 8 months ago #61771

Awesome that fixed it! Thanks so much.

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

  • Posts: 154
  • Thank you received: 4
9 years 10 months ago #164650

that fixed my problem as well.
also the same problem with SOFORT.
here i had to add also a missing </div> at the end...

should we keep track of those changes because of updates and reapply them manually?

i see this is almost 2 years old, and i just installed 2.3.2 hika...
the errors were still present, or arent those errors?
is it just a fix for specials cases were this happens? and if yes what are those?

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

  • Posts: 81703
  • Thank you received: 13104
  • MODERATOR
9 years 10 months ago #164706

Yes, that's a special fix because something else is broken on your website (a javascript error coming from another module or the template ?).

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

Time to create page: 0.078 seconds
Powered by Kunena Forum