url of the page with the problem -- : goldsmiths.accountsupport.com
-- HikaShop version -- : HikaShop Business: 2.3.0
-- Joomla version -- : 3.3.0
-- PHP version -- : 5.3.13
-- Browser(s) name and version -- : all
-- Error-message(debug-mod must be tuned on) -- : none
Hello,
I have a Hikashop Cart Module set up as a mini cart so it will display the total of items in the cart. And it functions well and as expected.
Only I noticed one small issue and I am not sure why it is occurring? I am performing test transactions at the moment and as I add items to the cart, the items do show up in the mini cart module as expected, letting you know how many items are in the cart along with the cart total. However, when you go through the checkout process and complete an order I noticed that the cart module still shows that the item is in the cart?
I did just recently add code to the checkout "end" view to redirect the customer to the order page so they can view all the information about their order and print it out if they wish. Below is that code, could this redirect I have in place be causing the cart module to not reset?
/* CT - Find current order id and show receipt */
$order_id = $app->getUserState('com_hikashop.order_id');
$orderClass = hikashop_get('class.order');
$this->order = $orderClass->loadFullOrder($order_id);
$app->redirect('/my-account/order/show/cid-'.($order_id));
Thank you for your time!
P.S. Sorry I just realized I posted this in the wrong category and I am not sure how to move it to the proper one?