2

I have a smart wave Porto theme, I want to remove the counter (in red) from the mini cart like this if there is no product in the cart

enter image description here

If there is a product in the cart, then this will show like this

enter image description here

Any help is appreciated. Thank you !!!

1 Answer 1

0

A fast method to conceal the counter is by using CSS. You can simply apply this CSS, and the counter will not be visible when the cart is empty.

.minicart-wrapper span.counter.qty.empty {
    display: none;
}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.