Cannot delete cart

  • Posts: 134
  • Thank you received: 6
9 years 4 months ago #234731

-- url of the page with the problem -- : произведено.bg
-- HikaShop version -- : 2.6.1
-- Joomla version -- : 3.5.0
-- PHP version -- : 5.5.19

Hi,

The scenario that I will write does not happen every time but it happens very often.

There is the test case:
1. User adds some items to cart
2. If user deletes those items (from checkout page) the cart is not deleted he is left on checkout screen



3. Cart stays active showing total of 0 лв. (not cart is empty message as it should).


4. Going to Profile->Orders does not help, because there is no delete button



And because there is HikaMarket installed and in HM the checkout is configured to allow adding items from just one vendor the user is not able to add items from no vendor except those which items he already deleted.

The user is not able to delete the empty order neigther to add items from another vendor, so he is not able to use the sistem at all. He is blocked. The only thing he could do is to FINNISH THE ORDER adding some items from the first vendor (if he needs such of course).


So questions:
- Where could I set the delete button in orders to be visible?
- Did this happen to someone else and what is the solution?

Regards

Attachments:
Last edit: 9 years 4 months ago by filiar.

Please Log in or Create an account to join the conversation.

  • Posts: 13201
  • Thank you received: 2322
9 years 4 months ago #234743

Hi,

It is in Profile > Cart and not Profile > Order, right ?
Please edit the view "cart / showcarts" and replace:

$userCurrent = hikashop_loadUser();
By:
$userCurrent = hikashop_loadUser(true);
$userCurrent = $userCurrent->user_cms_id;

Please Log in or Create an account to join the conversation.

Time to create page: 0.098 seconds
Powered by Kunena Forum