WooCommerce Show Custom Text on Shop page to non-logged in Customer

You may sale product to different customer – retailer and Wholesaler. Wholesaler generally have user account and they place order by logging in to the platform. While retailer place order without logging in. In such situation you may want to display specific message to retailers (non-logged in users) only.

This snippet will help you to exactly do that. Just place below code to your functions.php file.

This screenshot shows how it is displayed on Shop Page
woocommerce-shop-page-custom-text

Leave a Reply

Your email address will not be published.