Hello, All!
Before version vm 2.6 I used the code <?php require_once(JPATH_VM_ADMINISTRATOR.DS.'models'.DS.'orders.php');$order = VirtueMartModelOrders::getOrder($this->cart->virtuemart_order_id);?> for showing on the page components/ com_ virtuemart/ views/ cart/ tmpl/ order_ done. php the data I needed. After renewal the version the code doesn't work properly. Could you, please, advise how could I fix the code to make it functioning again?
Thank you.
PS For example:
<?php echo $this->html;
require_once(JPATH_VM_ADMINISTRATOR.DS.'models'.DS.'orders.php');$order = VirtueMartModelOrders::getOrder($this->cart->virtuemart_order_id);?>
<?php echo $order['details']['ST']->order_number ?><?php echo $order['details']['ST']->created_on ?>