How to hide promotional banner for non-logged in customers?

Topic summary

A store owner needs to hide a promotional banner image from non-logged-in visitors, as their shop is exclusively for health professionals with pre-created accounts.

Current Setup:

  • Using Shopify’s Venture theme
  • Banner displays 4 images
  • Want to hide the first “promotional offer” image for non-authenticated users

Proposed Solutions:
Two community members suggested similar approaches:

  • Add conditional code using {% if customer %} logic to wrap the banner code
  • Implement a checkbox option in the banner customization that makes specific images visible only to logged-in users

Status: The original poster responded positively (“Sounds great!”), indicating they plan to implement one of these solutions. The discussion appears resolved with actionable technical guidance provided.

Summarized with AI on November 16. AI used: claude-sonnet-4-5-20250929.

Hi,

Our shop is dedicated to health professionals and there is no possibility for anyone to order if we did not create them an account.

We have the possibility to display 4 images of the banner and we would like to have the possibility to hide the first one “promotional offer” for the ones who are not logged in.

Is there any possibility to do it ? Maybe we could have image that is always dedicated to logged in customer, no matter what the image displayed is.

Our shopify theme is Venture.

Thanks

Link : https://shop-emear.proteor.com/

Hi @TD2108

Please mark condition in code.

{% if customer %}

ADD benner code which need to display

{ % endif %}

Hi @TD2108 ,

We can customize the banner code which will give the option of marking the banner for logdin user only.

If checkbox is checked banner will be visible to logged in user only.

Sounds great!