Cannot delete cart
10 years 6 months ago - 10 years 6 months ago #234731
by filiar
Cannot delete cart was created by filiar
-- 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
-- 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
Last edit: 10 years 6 months ago by filiar.
Please Log in or Create an account to join the conversation.
10 years 6 months ago #234743
by Xavier
Replied by Xavier on topic Cannot delete cart
Hi,
It is in Profile > Cart and not Profile > Order, right ?
Please edit the view "cart / showcarts" and replace:
By:
It is in Profile > Cart and not Profile > Order, right ?
Please edit the view "cart / showcarts" and replace:
Code:
$userCurrent = hikashop_loadUser();
Code:
$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.141 seconds