79540466

Date: 2025-03-28 03:39:37
Score: 1
Natty:
Report link

Years later, and this problem seems to still hang around.. Everything is updated to latest versions, cart page set properly, etc. Adblockers, scriptblockers, etc disabled also. Live Environment.

I am providing 3 images to help with my answer. ( I need to earn 10 Rep to be able to properly embed images in my answer/s)

Cart item showing remove link path for item to be removed

The ability to right click and force the link via a new tab still exists

Forcing the link allows for successful deletion from the Cart

** I am aware that this particular solution is not ideal, and also not what a potential Customer would look to do, so we must find an actual solution within the code files. I have not yet looked into it properly, but when I do, I will be looking at how the Cart 'remove_item' object is rendered - is it a button, a link with image, etc, so then I will be able to properly overwrite it using a child theme of my Storefront. That way, when the Storefront theme is updated, it will not remove the change I made to the particular piece of code I have altered.

Also, we would not want it to open the link in a new tab, so this must also be taken into account.

Meanwhile, I do hope that the Storefront theme will actually fix this, but when I find the piece of code, I will share it here.

Reasons:
  • Blacklisted phrase (0.5): I need
  • Long answer (-1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: JaysnDees.com