How to hide a div section when user is logged in, in single product woocommerce


I have the next issue: I have a promotion banner to show a discount in each single product but i want to hide this banner when user is logged in, i have tried different codes buy anyone was worked for me, how i can hide this banner for logged in users and show only for logged out?
The banner is this:

enter image description here

Daniel Nita 3 months 0 Answers 9 views 0

Leave an answer