Add cart button in the header
uev1 opened this issue · 1 comments
I suggest to add an option in customization to show or not a "bag" icon next to search icon that links to Woocommerce cart.
A set of icons can be very useful, this includes a user area, cart or any other custom button in the same area as search button
Hi @uev1
We do have a cart icon show up in the header, next to the search icon, when WooCommerce is installed. It will only show up when you have at least one item in the cart. If the cart is empty the icon will not show up.
As for other, custom, icons - you can use the built in actions to add any icons you want. Take a look at https://github.com/godaddy-wordpress/go/blob/master/includes/woocommerce.php for an example of how we are showing the icon up in the header.