Check customer is logged in shopify


{% if customer %}
customer is logged in.
{% else %}
customer is not logged in.
{% endif %}