I calling a button proceed to checkout on title page shopping cart.
but when cart empty, button still show.
how to check if cart empty and hide button proceed to checkout?
Please help me!
Magento – How to check shopping cart empty magento 2
cartcheckout
Best Answer
You can use the cart helper to check if shopping cart is empty.
and then you can add your logic if the cart is empty