avatar
customer | avatar
returns string
Generates HTML to render a customer's avatar, if available.
Tip: Use with the <a href="/docs/api/liquid/objects/customer#customer-has_avatar?"><code><span class="PreventFireFoxApplyingGapToWBR">customer.has<wbr/>_avatar?</span></code></a> method to determine if the customer has an avatar.
{{ customer | avatar }}
{{ customer | avatar }}Was this page helpful?