Items in cart and showing in Cart module are'nt deleted when clicking "Delete"

  • Posts: 8
  • Thank you received: 1
  • Hikashop Business
3 years 5 months ago #333602

-- url of the page with the problem -- : framemaker.dk/en/shop
-- HikaShop version -- : 4.4.3
-- Joomla version -- : Joomla! 3.9.27
-- Browser(s) name and version -- : Firefox, Edge

When I add and item from the shop to the cart, it will show in the Cart module in the right side of my shop. Trying to delete the item by clicking on the x does not delete it however. It seems as if the item actually IS deleted, but the Cart module does not update and show that the item has been deleted.
Can this be fixed?

Best regards
Bjørn

Attachments:

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
3 years 5 months ago #333605

Hi,

I think that's a bug.
Change the line:

if(params && params.resp && (params.resp.ret === 0 || params.resp.module == <?php echo (int)$module_id; ?>)) return;
to:
if(params && params.resp && params.resp.module == <?php echo (int)$module_id; ?>) return;
in the file product / cart.php via the menu Display>Views and that should fix the problem.

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

Time to create page: 0.056 seconds
Powered by Kunena Forum