Originally posted by Jeb.
What are the errors?
The first error I get is:
Fatal error: Call to a member function on a non-object in includes/receipt_header.php on line 51
I don't understand this because it works for the header for the top of the page.
Since I have copied and renamed the header.php to receipt_header.php I can now modify parts of the file without effecting the rest of the cart. The above error comes from an unmodified file (exact duplicate).
I removed those lines which were:
if ($messageStack->size('header') > 0) {
echo $messageStack->output('header');
}
Then the error changes to:
Fatal error: Call to a member function on a non-object in includes/receipt_header.php on line 61
Line 61 is:
<td class="headerNavigation"> <?php echo $breadcrumb->trail(' » '); ?></td>
Another problem I am having is that it actually shows the header at the point where it should insert the code into the hidden field. That isn't very clear, but I'm not sure how else to explain it. I have posted a pdf of what it is doing here.
🙁 I can see this continuing.. I would really like to get this to function without removing all these lines of code.