I want the Mini Cart Widget in the header to drop down and display the cart contents for a few seconds, every time a product is added to cart. Trying to replicate the Cart Widget Icon's hover action, but when a product is added. I'm using Astra theme. Newbie at hooks and filters.
`add_action('woocommerce_after_add_to_cart', 'ShowMiniCart'); function ShowMiniCart() { //Open Mini Cart and show contents for a few seconds. // Close Mini Cart. // Don't know what to call here. // Please. }`
1.4m articles
1.4m replys
5 comments
56.9k users