M
M
Mikhail Gilmutdinov2018-04-03 12:22:38
opencart
Mikhail Gilmutdinov, 2018-04-03 12:22:38

How to add a full name to an OPENCART invoice?

ocstore version 2.3
tried like this <?php echo $order['firstname']; ?> - Undefined index: firstname in
As far as I understand, something needs to be added to the controller.
By analogy with the link
I wanted to insert into the controller
$data['firstname'] = $order_info['firstname'];
But it turns out that such a line already exists!
I can't figure it out, please help!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
djnick, 2018-05-06
@Mixailhr

If in the controller $data['firstname'] = $order_info['firstname'];, that is, a variable in the data array, then <?php echo $firstname; ?>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question