I have Understrap child theme with Woocommerce installed, and I have a menu with a cart icon as a link. Right now, clicking that takes me to the cart page. How do I get it to display the cart contents instead (with Ajax)? I want it to do what the Twenty Twenty-Four theme does, where a click on the icon makes a box slide in from the right as shown in this screenshot:
cart contents screenshot
I’ve tried a plugin, but it didn’t work, and I don’t really want to do it by plugin. I saw that Understrap has support for Woocommerce, but I just couldn’t find what I need.
user204381 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.