Remove / Edit Item in minicart does not work if span css is changed #1694
Labels
bug report
Fixed in 2.4.x
The issue has been fixed in 2.4-develop branch
Issue: Format is not valid
Gate 1 Failed. Automatic verification of issue format is failed
Hey,
On our design we removed the span styles from the minicart "remove" and "edit" links which add the icon. This means that, because the span now has no styles (just shows the text) when you click the link the code in the JS to remove the item now finds the span not the a tag which contains the item id to remove and be sent with the post.
This took me a while to debug and I'm sure others may fall into the same trap. Perhaps something like this would be better.
Thanks
The text was updated successfully, but these errors were encountered: