Show your message before login – WooCommerce

Published by WP Doctor on

I have a website to sell my product through online. I have used WooCommerce to get e-commerce functionality. Everything was going fine but suddenly I saw that customers are purchasing the product and then they are reporting about their orders.

They want to check all their order history but the thing is they did not login to their customer account before purchasing the product for that reason after purchasing the product they were not able to see their order details when they visit the site again. Because they were not logged in.
Now, I wanted to show the importance of their login into the website as a customer. I have disabled guest checkout and I am trying to show some messages on the login page to get their attention. They need to know why they should log in to their account. I found the solution already and today I want to show you that result-

How Can I Show Message :
You need to install a child theme because child theme is safe for customizing. If you have a child theme then please paste those codes below into your theme’s function.php file-
snippets
To get those codes click here.
You can change those messages by replacing with your own message.

Please keep visiting this blog to get more tips to make your marketplace more user-friendly

2 Comments

Sean · April 19, 2016 at 7:02 pm

big help! Thanks!

    nayemdevs · April 19, 2016 at 8:33 pm

    You are welcome. Keep in touch and share my post 🙂

Leave a Reply

%d bloggers like this: