-
Notifications
You must be signed in to change notification settings - Fork 2
Mini Cart Toggle
Eric Michel edited this page Sep 7, 2020
·
1 revision
Only works with WooCommerce
The mini-cart-toggle class will find the first hyperlink inside of its element and turn it into a toggle for WooCommerce's Mini Cart. This is typically used for menu items. The text for the hyperlink will be hidden and become screen reader text, and will be replaced visually by a shopping cart icon. Clicking the icon will make a floating cart appear, containing all cart items, and controls that allow for item removal, or proceeding to checkout or the cart page.