2

Now in the page views/cart/tmpl/order_done.php there is echo $this->html. How can I echo order_number as single record? $this->order_number and $order['details']['BT']->order_number don't work. Thanks

1 Answer 1

4

order_done.php

require_once(JPATH_VM_ADMINISTRATOR.DS.'models'.DS.'orders.php');
$order = VirtueMartModelOrders::getOrder($this->cart->virtuemart_order_id);
echo $order['details']['BT']->order_number;

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.