Text for non-logged in users - by hassansh

This topic has 2 replies, 2 voices, and was last updated 2 years, 11 months ago ago by Rose Tyler

  • Avatar: hassansh
    August 8, 2021 at 11:35


    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

    1 Answer
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    August 8, 2021 at 16:07


    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 {


  • Viewing 2 results - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.