This topic has 2 replies, 2 voices, and was last updated 3 years, 4 months ago ago by Rose Tyler
Hello,
Is there a way to add a notice/text that can only be viewed by non-logged in users?
For example, if I want to add text in the single product page notifying the viewer that if they sign-up they will receive a discount.
Thank you
Hello,
You can add text into Theme Options > WooCommerce > Store Notice, then use the next custom CSS code to hide this block from login users:
.logged-in .woocommerce-store-notice {
display:none;
}
Regards
You must be logged in to reply to this topic.Log in/Sign up