How can I leave a message for a customer to see when they log into their account.

I run a weekly draw of my social media followers, where I select 1 at random and then they win a £50 gift card to be used on my store. It’s had some success in terms of creating a bigger list of followers on social but I want to use it as a way to bring people to the store. One method would be to advise people that their will be to leave a message for them that they will log in to see.

The idea being that people will have to log in to their account to check if they have won. I’m struggling to find an app or way of leaving a message for a customer that isn’t email. If I advise people they will be emailed if they win, it won’t have the desired effect of drawing in traffic to store.

Hello @Kev-1in100 ,

You have to use this logic

{% if customer %}
// Show your message
{% endif %}

You can use this logic anywhere and highlight you message.

Thanks

Hey @Kev-1in100 !

I would recommend using a customer metafield to accomplish this! In your Shopify admin settings under Custom Data > Customers, you can create a new metafield definition.

You can then update this metafield value for the specific customer who wins your weekly drawing, and use Liquid to display the message somewhere on the storefront.

{{ customer.metafields.NAMESPACE.KEY }}

The great part about this method is that the message you enter into the metafield is linked directly to that customer’s account, so if a user is not logged in or logged into any other account, they won’t see anything.

Another method would be to use a customer tag to mark the winner. For example:

{%- if customer.tags contains "winner" -%}
    

You won!

{%- elsif customer -%}
    

Try again next week

{%- endif -%}

This method would display the winner message only if a customer account is tagged with “winner”, otherwise the try again message will be displayed. Nothing would be displayed if the user is not logged in.

Crafty Idea to Attract Customers!

Consider trying the Segment Theme Sections app. It is specially designed for cases like this, making your marketing efforts not just easier but also more effective. The app offers advanced segmentation filters and display options based on customer tags, order count, spending, and email marketing subscriptions.

With this tool, you can effortlessly set up multiple notifications for your customers, each linked to a specific code tailored to their segment. When a customer hits a certain number of orders or spending threshold in your store, they will automatically receive a personalized message with the relevant code. And the best part is that the entire process is fully automated.