Hi,
Per everything i have read, in order to add the Order Number and Paid Amount to the after_end.php page that displays once an order is complete, I have added the code per the past replies but I am still just seeing the default return page that provides a link to the receipt.
Here is the after_end.php
<?php
$app =JFactory::getApplication();
$order_id = $app->getUserState('com_hikashop.order_id');
$orderClass = hikashop_get('class.order');
$currencyClass = hikashop_get('class.currency');
$fullOrder = $orderClass->get($order_id);
$this->order = $orderClass->loadFullOrder($order_id,true,false);
$this->order->order_full_price + $this->order->order_discount_price - $this->order>order->order_shipping_price - $this->order->order_payment_price;
$app->enqueueMessage( JText::_('THANK_YOU_FOR_PURCHASE');
echo $fullOrder->order_number;
$url = hikashop_completeLink('order&task=show&cid='.$this->order->order_id);
$app->enqueueMessage(JText::sprintf('YOU_CAN_NOW_ACCESS_YOUR_ORDER_HERE',$url));
$user = JFactory::getUser();
if(!$user->guest){
$url = hikashop_completeLink('order&task=show&cid='.$this->order->order_id);
$app->enqueueMessage(JText::sprintf('YOU_CAN_NOW_ACCESS_YOUR_ORDER_HERE',$url));
}
Thus far, no combination of any of the example code to have the amount and order number display changes the page from the default page return to include these entries. It is making less and less sense since I have followed every example available.