Hi
I need to fetch SMS subscribed state on the storefront, but i could not get this info on the customer object?
i tried below code, none worked,
{% case customer.sms_subscription_status %}
{% when ‘SUBSCRIBED’ %}
You are currently subscribed to SMS marketing messages.
{% when 'PENDING' %}Your SMS subscription is pending confirmation.
{% when 'REDACTED' %}Your SMS subscription information has been redacted.
{% when 'UNSUBSCRIBED' %}You have unsubscribed from SMS marketing messages.
{% when 'NOT_SUBSCRIBED' %}You are not subscribed to SMS marketing messages.
{% else %}SMS subscription status not available.
{% endcase %}